I'm currently using DW MX 2004 to create my web pages. when i test them in IE they appear normal, but when i test them in firefox some of the layers are shifted to the bottom or the top. Why does this happen?
Thank you
There could be lot of reasons why the spacing is different. I'm not a Dreamweaver person, but if I could see the code I may be able to figure out what's happening.
__________________ l Search Engine Friendly Web Design | Please login or register to view this content. Registration is FREE
l Tips On Marketing, SEO, Design, and Development | Please login or register to view this content. Registration is FREE
herbal, I've looked through your code and it's very hard to tell what exactly is going on. If the page is online somewhere a link would help.
What I think is going on is that Firefox and IE sometimes treat nested divs with positioning a little different. What I usually do to make things work is position things for Firefox first and get it to look right there. For IE I've discovered a hack that works with all css properties. If you add an underscore to the beginning of the property then all browsers other than IE will ignore it, but IE will treat it as the property without the underscore.
So for your site play around with the 'top' property so it looks how you want it in Firefox and then add _top to modify things for IE.
The _top value will need to come after the top value. IE will use the value for whichever comes last in the order.
So you might have code that looks like:
position:absolute; top 100px; _top:120px
I'm thinking you'll only need to play around with the 'top' values to get things working.
One other word of advice. Try to give your ids and classes more meaningful names. It looks like you're just using the default names in Dreamweaver. For example the div with the clicksor text would be better with an id="clicksor" instead of id="layer 21" Using meaningful names will help tremendously when you have to go back to some code and debug or change it.
__________________ l Search Engine Friendly Web Design | Please login or register to view this content. Registration is FREE
l Tips On Marketing, SEO, Design, and Development | Please login or register to view this content. Registration is FREE