Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- text decoration inside many elements


shingokko - 11:01 pm on Apr 25, 2012 (gmt 0)


First of all there are a couple of errors in your HTML markup.

1. a tags are inline elements and nesting block elements such as div and ul in them are not allowed

2. You shouldn't have text directly in a ul tag, for each item in the tag insert an li tag and have text in it like this

<ul><li>Home</li></ul>

To answer you question, switch the order of the tags in your selector so that it selects the div inside a tags.


a .lb
{
/* insert your style definitions here */
}


Als you probably would want to give the a tag a class of some kind so that you are not selecting all a tags within your webpages.


Thread source:: http://www.webmasterworld.com/css/4445677.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com