Tracy Donald wrote:
>Is there a way to make the width of the li expand depending on the text
>the user enters for the link? [...]
>
>http://www.auburn.edu/academic/disabilities/work_in_progress/short_header_template.html
>
>
Hi Tracy,
is this what you mean?:
#upperlinks li {
float:left;
/* width:113px; * not used: no fixed width */
line-height:35px;
/* padding: 0 5px; * adding if needed: some distance between
clickable links */
}
#upperlinks a {
display:block;
margin:auto;
color:#FFF;
padding: 0 15px; /* some (clickable) distance around txt of the links */
text-decoration: none;
}
Greetings,
francky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/