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
Old 02-20-2010, 07:41 PM Help styling lists.
Skilled Talker

Posts: 90
Trades: 0
I have been trying to figure out what our web designer did to style all lists in such a way that no list ever appears as a normal unstyled list.

Take a look at the following page.

Turkey Vest at TimberghostShop

There is a list about half way down the product copy. It is at the end of the section headed by the bold phrase "Do you know where your friction call is?" I want this list to appear as a normal indented bulleted list, but no matter what I do it's always unstyled.

Can anyone help with this?

Thanks,
Josh
Shadrach is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-20-2010, 09:24 PM Re: Help styling lists.
YoshiGoneMad's Avatar
Novice Talker

Posts: 7
Trades: 0
Hello,

on that page, find

HTML Code:
<ul>
<li>Friction Call Pocket</li>
<li>Mouth Call Pocket</li>
<li>Box Call Pocket</li>
<li>Shot Shell Pocket</li>
</ul>
replace with
HTML Code:
<ul class="bullets">
<li>Friction Call Pocket</li>
<li>Mouth Call Pocket</li>
<li>Box Call Pocket</li>
<li>Shot Shell Pocket</li>
</ul>
Add to (all.css)
Code:
ul.bullets
{
list-style-type:disc;
margin-left:50px;
}
Let me know if that works.
YoshiGoneMad is offline
Reply With Quote
View Public Profile
 
Old 02-22-2010, 02:36 PM Re: Help styling lists.
Skilled Talker

Posts: 90
Trades: 0
That worked fine.

This really shouldn't have been a problem. I don't know why a designer utilizes site wide styling for lists and other elements when he should have been using classes and id's to style specific elements.

Thanks for your help.

Josh
Shadrach is offline
Reply With Quote
View Public Profile
 
Old 02-22-2010, 02:38 PM Re: Help styling lists.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
I don't know why a designer utilizes site wide styling for lists
Because it is generally more efficient to do a global 'reset' first, then style differently as needed.
__________________
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 Help styling lists.
 

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.31467 seconds with 12 queries