> http://silencematters.com/tests/underline.php > > Hi there.... > > I am trying to make this dotted line occur under one single word, and > change the length depending on the length of the word. (see test file) > > any suggestions? > -me
Not sure what the intention is here. Without knowing what you're trying to accomplish, the easiest suggestion I can make is to move the underline style to a new class and wrap the word you want underlined in a span tag with that class assigned to it. You should also run your css through a validator, as there is at least one error, in your margin declaration on the .title class. You have margin: 0 0 px 8px; when I think what you were intending was margin: 0 0 0 8px;. If you have a specific goal you're looking to accomplish, like underline words as part of a menu, etc. then there may be better ways to accomplish the task. Ron ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
