Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: jason1178Posted on 2006-05-22 at 11:32:22ID: 16736706
Hi Roba122,
csslayout- howto 196/a-simp le-guide-t o-3-column - layouts m/authorin g/style/sh eets/layou t/ advanced /
Making the switch from tables to CSS is tough. I sympathize. There are several things going on here, so I'll try to address them in order:
>> 1. I validated the css and the html, but stuff is still wrong, so tell me If I missed something
When I validate the CSS and HTML, it is full of errors. When you declare a DOCTYPE and don't conform to the standards of the declaration, the browsers go into quirks mode and start rendering things in their own special way. In your particular case, IE is being more forgiving of your errors than FireFox is, thus your design looks kind of okay in IE and doesn't render hardly at all in FF.
What you need to do first is resolve this situation. Either get away from using XHTML 1.0 Transitional and go back to HTML 4.0 Transitional or Strict or run this page through the Validators at http://www.w3.org/. Do the HTML first and fix EVERY error that is reported. Keep running the page through the Validator until it comes up with no errors. Then repeat the process with the CSS validator until there are no errors in the CSS file.
At this point, your page may render the same in both browsers and most of your problems are solved. We can then start to address positioning and stupid CSS tricks (TM).
>> 2. A short discussion on positioning behavior of Divs in Dreamweaver, any way to approach my layout differently but get the same result?(see the css)
Well, yes. Lots of ways. First of all, you almost never want to use absolute positioning. For the rest of it, I could type about CSS all day and all night and not come close to teaching you what you need to know. I recommend you do some more reading about CSS layout with the following tutorials:
http://www.w3.org/2002/03/
http://glish.com/css/7.asp
http://joshuaink.com/blog/
http://www.webreference.co
You can also explore how other people approach it:
http://www.oswd.org/
>> 3. Firefox issue whats causing it what do I do to fix it? or is it explorer?
See #1. It's the quirks mode for both browsers and once you get into quirks mode, all bets are off.