Reply
List problems
Old 05-03-2007, 03:55 PM List problems
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Hey guys - I'm sure I"m just having a brain cramp here, but can anyone help me with this list problem. It's specifically the "danger" div and related ul and li tags. I want them to have bullets - and in IE they don't, while in FF, they are outside the box, when I want them inside the box. I'm sure that this is in part due to my other use of ul and li in the style sheet, but I can't seem to get it to work.

Here is the url: http://www.jessweiss.com/sciatica/index2.html

Its the part about Danger Signs.

TIA!!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
When You Register, These Ads Go Away!
Old 05-03-2007, 04:07 PM Re: List problems
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
Well, you're going to need some specificity here. The CSS affecting the list is as follows:

Quote:
#danger ul {style_2.css (line 68)
list-style-type:disc;
width:375px;
}

ul {style_2.css (line 135)
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0px;
padding:0px;
width:130px;
}
Add list-style-position: inside to the #danger ul section.

The bullets in IE ARE there, but you have to add 20px of left margin in order to see them. This IS a problem in IE, and you'll probably have to use conditional comments to target and fix it.

This is exactly the reason I tend to use background images on my lists and set the list-style to none - you have more control over where your bullet goes.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-03-2007, 04:44 PM Re: List problems
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Thanks so much - knowing that it's an IE thing and not me will definitely help me work around it! I really appreciate your help.
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Reply     « Reply to List problems
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11281 seconds with 12 queries