[WEB4LIB] IE problem- Wales on the Web
Brandon Dennis
bdennis at shreve-lib.org
Tue Sep 14 12:43:43 EDT 2004
Aled -
Your site looks nice! :) But you may need to go through your template
line-by-line to track down a couple of minor issues.
I think the primary problem is the nesting of some of your code. You
have tables nested in DIVs, and more DIVs nested in tables for much of
your display. The number of <DIV> tags don't match up to the number of
</DIV> tags (although I didn't have time to track down exactly where
that problem comes from).
You also have at least one DIV class (<div class="content">) that does
not exist in your CSS. The combination of using width="100%" along with
pixel borders and padding may be causing some offset problems (or
overflow).
You may also want to consider using the doctype for XHTML 1.0
Transitional instead of Strict.
It's probably not a large problem, but my best suggestion would be to
make a temp page and strip all the content out of it and just walk
line-by-line through the tags and make sure they're properly nested,
referenced correctly in the CSS, and the math adds up (borders, pixels,
padding, etc.)
Best of luck!
Brandon
-----Original Message-----
From: ALED BETTS [mailto:aled.betts at llgc.org.uk]
Sent: Tue 9/14/2004 11:03 AM
To: Multiple recipients of list
Cc:
Subject: [WEB4LIB] IE problem- Wales on the Web
Dear All
We have a problem with div alignment on the internal pages of
walesontheweb at the following URL:
http://www.walesontheweb.org/cayw/index/en
The main div seems offset by the size of the left navigation div
but it
renders in all other browsers correctly. This problem was
introduced
when we removed the XML doctype tag from the header of the page
as this
itself was causing font size problems (again in IE only). It has
something to do with quirks mode which I don't fully understand
but I do
know that it is doing my head in!
We would appreciate any help in solving this?
Many Thanks
Aled
--
Aled Betts
Rheolwr prosiect/Project Manager
CAYW- Cymru ar y We/Wales on the Web
Llyfrgell Genedlaethol Cymru/National Library of Wales
Aberystwyth, Ceredigion
SY23 3BU
Tel 01970 632515
www.walesontheweb.org
www.cymruarywe.org
More information about the Web4lib
mailing list