html

Saving HTML tables to a Database

I am trying to scrape an html table and save its data in a database. What strategies/solutions have you found to be helpful in approaching this program. I'm most comfortable with Java and PHP but really a solution in any language would be helpful. EDIT: For more detail, the UTA (Salt Lake's Bus system) provides bus schedules on its web...

Firefox, saved passwords, and the change password dialogue

If a user saves the password on the login form, ff3 is putting the saved password in the change password dialoge on the profile page, even though its not the same input name as the login. how can I prevent this? ...

Dropdownlist width in IE

In IE, the dropdown-list takes the same width as the dropbox (i hope i am making sense) whereas in Firefox the dropdown-list's width varies according to the content. This basically means that i have to make sure that the dropbox has to be wide enough to display the longest selection possible. this makes my page look very ugly :( Is th...

Outlook 07 2 column flexible layout

I am trying to create an email two column flexible layout, which works in outlook 07, i have created a successful version in outlook 03, hotmail, gmail, yahoo and aol, in both IE and Mozilla Firefox, however when testing in outlook 07 it strips out my float left css. What I would like is a layout that has a photo on the left and text o...

CSS : Bad Gray Line to the side of the Navigation Bar on http://perl-begin.org/

Hi all! I'm maintaining the Perl Beginners' Site and used a modified template from Open Source Web Designs. Now, the problem is that I still have an undesired artifact: a gray line on the left side of the main frame, to the left of the navigation menu. Here's an image highlighting the undesired effect. How can I fix the CSS to remedy t...

How do I make an HTML table the same width as its containing div tag?

Hi, I have a table inside a div. I want the table to occupy the entire width of the div tag. In the CSS, I've set the width of the table to 100%. Unfortunately, when the div has some margin on it, the table ends up wider than the div it's in. I need to support IE6 and IE7 (as this is an internal app), although I'd obviously like a f...

Are there any projects for replacing HTML and the current javascript?

Google created protocol buffers as a replacement for the bulky XML method of data transition. Faster XML processing was just not good enough. Most of the web has grown up as a hodge podge of different technologies that have been integrated to work within the browser or to generate html. JavaScript is separate from HTML. Flash and Sil...

Not using widths & padding/margins on the same element?

I've seen numerous people mentions that you shouldn't use widths and padding or margins on the same element with CSS. Why is that? ...

How can I make Internet Explorer not change the colors in my PNG images

When using PNG files (made with Paint.NET) as background images on my web site, IE7 is changing the colors and actually displaying a darker version of my images, as seen here. In this image, the dark background and background image should be both #001122, and the medium background and background image #004466. But IE7 changes the images ...

Is there an easy way to change the color of a bullet in a list?

All I want is to be able to change the color of a bullet in a list to a light gray. It defaults to black, and I can't figure out how to change it. I know I could just use an image; I'd rather not do that if I can help it. ...

Page can not be displayed

I've got a client that sees the "Page can not be displayed" (nothing else) whenever they perform a certain action in their website. I don't get the error, ever. I've tried IE, FF, Chrome, and I do not see the error. The client sees the error on IE. The error occurs when they press a form submit button that has only hidden fields. I'...

CSS "frameworks" that account for browser irregularities?

I build websites for a small-ish media company. Unfortunately, around 45-50% of our client base uses IE6, while the other half are pretty much equally split between Firefox and Webkit-based browsers, with a sprinkling of Opera users. I start every one of my sites with a reset stylesheet similar to Eric Meyer's, with a few modificaions. ...

What emails clients are being used out there?

This is not "exactly" a programming question, but it's highly related. We are writing an app that sends out email invitations for a client (no, it's not spam). Their designer gave us an HTML and CSS template to use which is fine. The problem is that it looks like crap in Outlook 2007 because Microsoft decided to use Word (of all thing...

Writing a book and targeting PDF and HTML

I have an idea for a combination book and web app to help newbies learn computer programming from the ground up, and while I'm working on the web app side of it, I've been thinking in the back of my mind about the best way to do the book. Can anyone share their experiences with similar projects? Here are my requirements: Source must be...

Which JavaScript library is recommended for neat UI effects?

I need a JavaScript library that supports Ajax as well as help me in making simple and neat animation effects in a website I am working on. Which library do you recommend? ...

How do I programatically set the value of an select box element using javascript?

I have the following HTML select element: <select id="leaveCode" name="leaveCode"> <option value="10">Annual Leave</option> <option value="11">Medical Leave</option> <option value="14">Long Service</option> <option value="17">Leave Without Pay</option> </select> Using a javascript function with the leave code number as a param...

vertical alignment of elements in a div

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the css needed for this to work on all common browsers? <div id=header"> <img src=".." ></img> <h1>testing...</h1> <img src="...

How to get the file path from HTML input form in Firefox 3

We have simple HTML form with <input type="file">, like shown below: <form><label for="attachment">Attachment:</label> <input type="file" name="attachment" id="attachment"><input type="submit"></form> In IE7 (and probably all famous browsers, including old Firefox 2), if we submit a file like '//server1/path/to/file/filename' it works...

producing 2 or more short sounds when a web page loads.

I have 6 sound files (1.wav 2.wav etc..) of which 3 different ones have to be heard each time the web page opens. The numbers are selected randomly. I have tried multiple "embeds" but only the last sound selected gets produced. I have also tried javascript routines that fiddle the bgsound attribute, however, I was not able to produce mor...

HTML drag and drop sortable tables

Ever wanted to have an HTML drag and drop sortable table in which you could sort both rows and columns? I know it's something i'd die for. There's a lot of sortable lists going around but finding a sortable table seems to be impossible to find. I know that you can get pretty close with the tools that script.aculo.us provides but i ran ...