iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2008, 05:06 PM
toarlach's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jan 2008
Location: Richmond, KY, USA
Posts: 12
toarlach RepRank 0
Question CSS problems with bullets in IE

Has anyone had any problems with getting bullets to show up in IE?

I've got this CSS...

Quote:
.article ul {
margin-left: 50px;
width: 440px;
}

.article li {
list-style: disc;
}
And it shows up fine in Firefox, but not in IE. Any suggestions on how I can
get bullets to show up in both browsers?
Reply With Quote
  #2 (permalink)  
Old 08-19-2008, 05:51 PM
WebProWorld Pro
 
Join Date: Jan 2005
Location: Denver
Posts: 248
chiron RepRank 2
Default Re: CSS problems with bullets in IE

Try width in the LI and not the UL element?

I got it "not working with the above" and then "working with the mod" in IE 7 which is I presume the concern.
Reply With Quote
  #3 (permalink)  
Old 08-19-2008, 07:06 PM
WebProWorld New Member
 
Join Date: Jan 2007
Location: Scotland
Posts: 8
billmarshall RepRank 0
Default Re: CSS problems with bullets in IE

Without knowing the context of the surrounding code and which version of IE you're having the problem with it's difficult to be exact, however the golden rules for working with lists are:

1. Make sure you have explicitly declared list-style-position to be either inside or outside. IE and Firefox default to different settings for this and it can make a MAJOR difference to the result, including hiding the bullets in some circumstances of surrounding code.

2. Zero the margins and paddings on both the ul and li tags to start with, add a single pixel border on both (different colours so you can tell which is which) so you can see what's happening and then add margin or padding or widths back in as appropriate to the desired result before finally removing the borders.

That will sort it out for you 99% of the time. However having said that I've seen some circumstances where IE6 doesn't support the full range of options on the bullets, so you might not be able to get the look you want on all browsers. You can always experiment with using an image for the bullets using the list-style-image property.

Hope that helps.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
H1 Problems with IBP laurent128 Search Engine Optimization Forum 27 03-04-2007 09:25 PM
Problems with SP4 and W2K Pro Dragonsi IT Discussion Forum 16 07-07-2004 10:39 PM
Verisign has problems, big problems name-mogul-2b The Castle Breakroom (General: Any Topic) 4 03-24-2004 08:52 PM
bullets/text alignment pcanning Graphics & Design Discussion Forum 5 11-20-2003 06:46 PM
Creating nongraphical inline-bullets that validate edavis Graphics & Design Discussion Forum 2 11-15-2003 01:24 AM


All times are GMT -4. The time now is 11:10 AM.



Search Engine Optimization by vBSEO 3.3.0