|
Subject:
|
word wrap....
|
|
Posted By:
|
rupen
|
Post Date:
|
1/16/2007 5:29:34 PM
|
CSS: -------- /*Top level menu link items style*/ .head ul li a{ display: block; width: 100px; /*Width of top level menu link items*/ padding: 1px 8px; border: 1px solid black; border-left-width: 0; text-decoration: none; color: navy; } ---------------- works fine but if word is too long it shows text in another line... any css heck to not allow line breaks in <a></a> tag? thanks in advance.
Rupen Anjaria. ------------------ We CAN'T avoid problems, but can solve it.
|
|
Reply By:
|
richard.york
|
Reply Date:
|
1/23/2007 9:15:58 AM
|
white-space: nowrap;
HTH!
Regards, Rich
-- Author, Beginning CSS: Cascading Style Sheets For Web Design CSS Instant Results
http://www.catb.org/~esr/faqs/smart-questions.html
|
|
Reply By:
|
rupen
|
Reply Date:
|
1/24/2007 2:10:07 PM
|
Thanks Richard...
Thanks..
Rupen Anjaria. ------------------ We CAN'T avoid problems, but can solve it.
|