Tables Issue With Netscape - OK in IE

T.J.
T.J. used Ask the Experts™
on

I need some direction in achieving the effect I'm looking for. Check out this URL in both IE and Netscape:
http://www.realtyhosting.com/gwork/work.htm

As you can see in IE I have each line seperated by a line thats really a table trick. It also does a rollover which I know will not work in NS but there is a way in NS to make the lines show up. I have messed with these tables for a while today and by now I'm just frustrated. I'm missing something.

If you look at the example in IE and then look at it in NS you should be able to see the missing lines I want to get back and work in NS. I have seen this on other sites working in NS but can't seem to duplicate it on my own.

Thanks for the help!

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2004
Commented:
Just remove this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Author

Commented:
That did it!

Can someone give me the quick and dirty on what that is and why it alters the page to do what I wanted it to do?
Top Expert 2004

Commented:
Well, actually it's because Netscape requires a precise URI in the doctype.

If you prefer to validate against the loose doctype, then you can safely use this doctype statement:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial