HighDots Forums  

CSS list-style-image not showing in IE when float left is present.

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss CSS list-style-image not showing in IE when float left is present. in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ALM
 
Posts: n/a

Default CSS list-style-image not showing in IE when float left is present. - 01-03-2008 , 02:24 PM






This CSS works fine in Mozilla, and it works in IE until you add the
float left!!! Any suggestions? I want the <li> to float left in order
to make a two column list. Thanks for any help you can give!

CSS:
div#BB ul {
list-style-image: url(../Images/logo2.jpg);
}

div#BB li {
width: 340px;
font-weight: bold;
float: left;
}

Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: CSS list-style-image not showing in IE when float left is present. - 01-03-2008 , 03:04 PM






In article
<6807e95c-0ffe-44ab-8283-dc84b2fdd94d (AT) d4g2000prg (DOT) googlegroups.com
Quote:
,
ALM <april (AT) designsbyalm (DOT) com> wrote:

Quote:
This CSS works fine in Mozilla, and it works in IE until you add the
float left!!! Any suggestions? I want the <li> to float left in order
to make a two column list. Thanks for any help you can give!

CSS:
div#BB ul {

Here is 3 lists side by side, you could knock one off!

<URL: http://members.optushome.com.au/droo.../threeULs.html
/>

--
dorayme


Reply With Quote
  #3  
Old   
Bergamot
 
Posts: n/a

Default Re: CSS list-style-image not showing in IE when float left is present. - 01-03-2008 , 03:06 PM



ALM wrote:
Quote:
This CSS works fine in Mozilla, and it works in IE until you add the
float left!!! Any suggestions? I want the <li> to float left in order
to make a two column list.
I never found a way for IE to keep the marker on a floated list item,
probably because IE puts the marker in the padding of the parent <ul>,
which is gone when you float the children <li>.

The few times I've wanted to do this myself I resorted to multiple
lists, each floated. I cringed at doing it that way, but sometimes you
just do what you gotta. :-\ Maybe there's some JavaScript trickery you
could do, but I'm not hopeful.

--
Berg


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.