Dave M G wrote:

> http://formever.org

> Is there any way to make the text break to the next line if it comes 
> to the edge, like it does in the <li> items below it?

The normal way is to use headline-elements for headlines, and limit
their width to the size of their container.

However, since you're using spans to carry what appears as headlines,
and those spans are also carrying parts of the background for the
container, your options are somewhat limited.

This will work...

HTML:
<span><span>Latest Articles</span></span>

CSS:
.navigation span span
{ width: 120px; padding: 0; background-position: -2px;}

...but you should rethink the use of elements.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to