I was asked to build a website for a local company. Due to the fact I hadn’t messed around with HTML for many years and was not aware of current technologies, I coded the site in HTML 4 Transitional.
Now having the site design/layout as I and the customer would like, I’m now attempting to convert the template to XTHML 1.0 Strict. I usually use FF when I surf the internet and wasn’t aware of the large differences that existed between IE 6 and FF 1.5. I’ve had a bit of trouble getting the code to work on both browsers as expected.
In particular, I have a div, and I’d like to set its height to 10px. I have used the ‘height: 10px’ command, but it will not work in IE; it does however work in FF. Is it perhaps that I don’t have any text between the div tags? I don’t plan on putting any inside. This is the BLUE div located underneath the links div.
Furthermore, in the div that has the links situated inside, I can’t get the links to vertically align to the center in FF. I might be overlooking something here though.
The code is located here: [URL=http://www.bobbininternational.com/about.html]Bobbin International – About Us
Please note that the top instance is the new XHTML code i’m trying to get to work, and the bottom instance is the old HTML 4 code. Don’t pay attention to the black border.
Any tips/pointers would be much appreciated….
Regards,
Gavin