6 replies [Last post]
Beards247
Offline
newbie
Last seen: 18 years 1 day ago
Joined: 2005-02-01
Posts: 2
Points: 0

Link -
http://hypatia.johnson.cornell.edu/test/new/

IE displays the page as we intend with the id=center div below the picture containing 3 other divs all lining up properly.

In Mozilla the middle div is dropped below.

What are we doing wrong?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 47 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

3 div's not working properly in Mozilla/Firefox, link incl.

I could not replicate the errors you encountered. However, in no known universe is the code valid.

I have the feeling you are using server side includes with improperly constructed included files.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 8 years 3 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

3 div's not working properly in Mozilla/Firefox, link incl.

I do like to see an effort made to ensure the DTD doesn't get overlooked Smile

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 47 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

3 div's not working properly in Mozilla/Firefox, link incl.

Hugo wrote:
I do like to see an effort made to ensure the DTD doesn't get overlooked Smile
No kidding Laughing out loud

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 40 weeks 14 hours ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

3 div's not working properly in Mozilla/Firefox, link incl.

Blimey, most of the people on here post pages without a doctype, it makes a refreshing change to see a page with so many . . .

Maybe he's trying to make up for the doctype-less pages on the web?

Verschwindende wrote:
  • CSS doesn't make pies

Beards247
Offline
newbie
Last seen: 18 years 1 day ago
Joined: 2005-02-01
Posts: 2
Points: 0

3 div's not working properly in Mozilla/Firefox, link incl.

:oops:

So there's a couple errors :roll:. Thanks for pointing out some of the issues with the code, I'll talk to the web person about these issues.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 47 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

3 div's not working properly in Mozilla/Firefox, link incl.

Beards247 wrote:
:oops:

So there's a couple errors :roll:. Thanks for pointing out some of the issues with the code, I'll talk to the web person about these issues.Don't be overly embarrassed. It's hard to write snippets instead of complete pages. We've all done it and we'll all do it again. Smile

With any luck, it won't get public exposure the next time. Wink

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.