Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Turning <ul> list-style back to default
Old 12-17-2006, 07:19 PM Turning <ul> list-style back to default
Novice Talker

Posts: 8
Trades: 0
I have built a shell for a site I am developing and it employs a navigation fly-out menu built in css. I have styled the ul and li items to do the fly out. One of the things I did was to set list-style: none; so I wouldn't get bullets, which all works fine.

The one problem I am having now is that anywhere else I am using a ul it is picking up this list-style: none; I defined a style for the main content area and am able to control other aspects of the ul tag, but am unable to get it to show bullets. Here is a link to the page in question:

http://www.denverderm.com/div_test/css_test3.asp

and here is a link to the stylesheet:

http://www.denverderm.com/div_test/style.css

Any one know how I might go about getting the bullets to work? FYI: the code for the menu starts on line 124 and what I have done to try to override it starts on line 45. Any help appreciated.
johnmr is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-18-2006, 04:12 PM Re: Turning <ul> list-style back to default
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Ok, on the BOTOX example page, you DO have bullets showing -- in Firefox (and probably Opera) so the lack of bullets is a problem in IE.

Add this to your CSS:
#main_content ul{
margin-left: 5px;
padding-left: 10px;

}
You will get your bullets back, actually all you're really doing is allowing them to show.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Turning <ul> list-style back to default
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





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



Page generated in 0.39143 seconds with 12 queries