467,165 Members | 983 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,165 developers. It's quick & easy.

strange positioning behaviour in divs

Within divs my pages are rendering with the 2nd and subsequent elements
indented slightly. eg the first paragraph, list item or heading is where it
should
be, all the rest in the div (whether they are img, h2, p, li etc) are
indented a small amount. If you have IE5.2Mac see the link below for an
example of this. Note these divs mostly aren't positioned. ie they just
sit in the normal flow.

Seems to be a problem specific to this browser. I have searched extensively
and tried numerous variations but this problem still persists. The page is
xhtml transitional and validates.

Can anyone please help?

http://www.boatingaccessories.com.au/bonus.asp

Thanks
David
Jul 20 '05 #1
  • viewed: 1518
Share:
1 Reply
David Ehmer wrote:
Within divs my pages are rendering with the 2nd and subsequent elements
indented slightly. If you have IE5.2Mac see the link below for an
example of this. Note these divs mostly aren't positioned. ie they just
sit in the normal flow.

http://www.boatingaccessories.com.au/bonus.asp


Actually, you do have quite a lot of relatively positioned elements,
which I would suspect is the cause. Several browsers have quirky
rendering of relatively positioned elements, MacIE is but one.

Try using static positioning, floats and/or margin properties rather
than relative positioning with top/left offsets. You might get better
results.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Egon Pasztor | last post: by
2 posts views Thread by Pamel | last post: by
9 posts views Thread by Frances Del Rio | last post: by
7 posts views Thread by theo | last post: by
2 posts views Thread by Alan Chandler | last post: by
3 posts views Thread by ckirchho@directmedia.de | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.