Peter Ottery wrote:
Hi,Hi,
I have a problem with images that are floated left and then when a list wraps around that image the list bullet points themselves dont get pushed out by the floated image and instead remain behind (or on top of) the image. to help explain i've put a simple demo page together to show the problem in its most basic form & explain in a bit more detail:
http://c41.com.au/test/ul_test.html
the css is all inline & very basic. the img tag has an empty src on purpose. this is just an *example* of the prob. dont fear, the execution looks better than the example :)
basically what I'm looking for is if there is a way to make the list item markers always "obey" the floated image, but just behave as normal when the image doesnt appear.
any help greatly appreciated. hope i've explained this well enough... pete
ps: apologies if my emails arrive in your inbox as html or rich text. I send them as plain text and i think the mail server here forces them to be plain/rtf on the way out. please dont reply to this list about this problem.
i just woke up nose straight in to thunderbird ... :)
have you tryed to ad a padding or a margin to your floated img ?
padding or margin right should to the trick for you since everithing that comes after the img will stay n pixels/em/etc away from it ! and if there is no image there is no padding or margin ...
i think .... but than again i just woke up :)
******************************************************
The discussion list for http://webstandardsgroup.org/
Proud presenters of Web Essentials 04 http://we04.com/ Web standards, accessibility, inspiration, knowledge To be held in Sydney, September 30 and October 1, 2004
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
