![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 14
Rep Power: 0
![]() |
unknown gap between tables
Take a look at http://www.ecsu.ca first through Internet Explorer, then through FireFox.
In FF, there's a small gap above the main menu. In IE, there's not. Here's the code (or you can View --> Source yourself) of the two tables. The first holds the top banner, the second holds the main menu. <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><img src="image/topbar.bmp"></td> </tr> </table> <table border="0" width="100%" height="25" cellspacing="0" cellpadding="0" bgcolor="#6379BD"> <tr> <td align="center"> <ul class="menu"> <li class="currloc"><a href="">Home</a></li> <li><a href="about/">About ECSU</a></li> <li><a href="froshweek/">Frosh Week</a></li> <li><a href="services/">Services</a></li> <li><a href="forums/">Forums</a></li> <li><a href="clubs/">Clubs</a></li> <li><a href="photos/">Photos</a></li> <li><a href="pub/">Blind Duck Pub</a></li> </ul> </td> </tr> </table> Anyone know what's going on and why? Last edited by epswing; Jun 4th, 2005 at 1:35 PM. |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Simple: if you're going to specify your document as XHTML 1.1, for god's sake, don't code in HTML.
http://validator.w3.org/check?verbos...//www.ecsu.ca/ |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Feb 2005
Posts: 14
Rep Power: 0
![]() |
Look, you haven't helped in the slightest. I was handed this project recently and it was really in shambles. I've just been patching up holes as I go along, but I'm no superstar.
I was hoping maybe some superstar could identify this specific problem I've having and, y'know, be even little helpful instead of throwing a validator at me. |
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
The validator is a great help. Fix all the problems that it raises, and you may well find that your site is fixed.
Oh, by the way, is that avatar from Freespace? |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Jun 2005
Location: Flordia
Posts: 5
Rep Power: 0
![]() |
Epswing, after looking at your source. The problem is rather simple. There are 2 ways to fix this. you have this at your header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> Which is telling the server to read the following code as valid XHTML 1.1. Which your code is is not valid XHTML 1.1. So heres what you can do. Option 1: recode everything to valid XHTML 1.1 (Recommended) Option 2: Replace the <!DOCTYPE line with the following code (The Easy Way Out :p) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> That will slove your problem. ![]()
__________________
I had a monumental idea this morning, but I didn't like it. |
|
|
|
|
|
#6 | ||
|
Newbie
Join Date: Feb 2005
Posts: 14
Rep Power: 0
![]() |
Quote:
![]() Quote:
|
||
|
|
|
|
|
#7 | |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Quote:
|
|
|
|
|
|
|
#8 |
|
Programming Guru
![]() |
I love the validator and the eronious errors it gives me.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." - Albert Einstein |
|
|
|
|
|
#9 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
Yep, freespace rules and so does epsilon wing.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|