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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
LIst style : Square : Size of?
Old 07-25-2005, 09:53 AM LIst style : Square : Size of?
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
Hi ,

I have the below <ul> defined on my page.

It works fine however I would like the list-styles to be larger.

? Is this possible ?

ALSO.... I have <li> defined. How will I style this into a style sheet? I'm asking as each of the list-items are different colors. This would not follow the normal rules then of defineing a <li> style in css.

Anyway help would be much appreciated

Code:
	  <div class="events">
	   <ul>
		   <li style="list-style:square; color:#993399;"><a href="#">Lectures, Seminars and conferences</a></li>
		   <li style="list-style:square; color:#0099CC;"><a href="#">Exhibitions</a></li>
		   <li style="list-style:square; color:#CC3366;"><a href="#">Concerts</a></li>
		   <li style="list-style:square; color:#006633;"><a href="#">Short courses and workshops</a></li>
		   <li style="list-style:square; color:#FFFF00;"><a href="#">Calendar of all events</a></li>
	   </ul>
	  
	  </div>

cheers

Steve
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 07-25-2005, 11:07 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
You could make the text size of the <li> element bigger, then the text inside it smaller to compensate.

For the colours, you can either use IDs, or leave it inline.

Code:
<li id="Item1"></li>
<li id="Item2"></li>
etc...

li {
   list-style:square;
}

li#Item1 {
   color: #993399;
}
li#Item2 {
   color:#0099CC;
}
etc...
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Reply     « Reply to LIst style : Square : Size of?
 

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