html-lists

Elements to 'look like' a bullet point list inside an anchor link

Hi All, I am creating an element on my page like so: <a href=""> <span class="benefits"> Free entry<br /> 20% off in store<br /> First to know about latest courses </span> </a> The client wants the whole area clickable, and the list of benefits to display with bullet points. As far as i am aware lists cannot be placed inside anchor ...

CSS, only affect the top lis of a ul?

I have a nested UL navigation list, with ul's contained inside some other li elements. here's the mark up: <ul class="navigation"> <li><a href="#">No Chidren</a></li> <li><a href="#">With Chilren</a> <ul> <li><a href="#">Child 1</a></li> <li><a href="#">Child 2</a></li> </ul> </li> </ul> I tried styli...

HTML/CSS - Remove spaces from line breaks in code for LI

Hey, Is there a way to get browsers to ignore line breaks in the source? <div id="navbar"> <div id="navbar-container"> <ul> <li>HOME</li> <li>TUTORIALS</li> <li>BLOG</li> <li>FORUMS</li> <li>LINKS</li> <li>&nbsp;</li> </ul> </div> </div> #na...

Unordered List for CSS Based Tabs - Chrome Issue

Hi all, I'm trying to create a tab based menu using unordered lists and CSS(3). The sample can be seen here : http://prashantraju.com/pat/tabs.html or code here: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; cha...