By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,724 Members | 1,707 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,724 IT Pros & Developers. It's quick & easy.

strange positioning behaviour in divs

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.