Click to See Complete Forum and Search --> : CSS, SSI, Tables Issue with NS7.x & Mozilla


flux
02-10-2005, 12:26 PM
Ok, I am designing a site for my college. I have the site coded for CSS and the header images that are required on every page I have in a SSI file. The problem I am having is with NS7.x and Mozilla. The page appears perfect in IE and NS4.7(Not by choice, only another requirement :rolleyes: ). However when the page is viewed is NS7.x and Mozilla the tab images that are in a table are showing up below the table below it that contains the main content.

The website can be view at http://www.personal.psu.edu/clk254

To describe the way the page is setup is as follows:
The header images at the top are part of a SSI file in its own table. The next part has the tab images for navigation in another table. The main content that is below the tabs is in another table.

To explain why I had to put these in tables is because my supervisor has the requirement that the site must be compatiable with NS4.7 and since 4.7 is anti-css I had to use tables to make it cross-browser compatiable.

If anyone could help in either a fix or any suggestions for a fix it would be greatly appreciated.

Fang
02-10-2005, 12:44 PM
Use this, FF uses the first value, IE the second:
#main{
margin-top:0 !important;margin-top:-43px;
bla bla
}


btw you have used id="row" twice. Maybe it should be a class!

flux
02-10-2005, 06:56 PM
thank you so much, amazing how one little line can make a world of a difference.

I hope one day browsers of the world will come together and greet css with open arms, all the SAME way! I can have my dreams can't I? lol.

Fang
02-11-2005, 04:57 AM
Try not to use -ve margins, if you do the !important declaration to fix FF/IE is often required.