Previous Message
Next Message

Text Decoration problem

Sent by Eric A. Meyer on 6 October 2003 18:06


At 13:11 -0400 10/6/03, Michael Cassidy wrote:

>1. I can not get 'text-decoration: none' to work. I get 'text-decoration:
>line-through' to display.

    If you're trying to use 'none' to "turn off" decoration, it won't 
work in many browsers.  See 
http://devedge.netscape.com/viewsource/2002/css-underlines/ for 
details.

>2. I need to move the rule underneath DEALS [h4] so that it touches the
>type; moving the  margin-bottom is not having any effect on the rule.

    If you're referring to the bottom border, try reducing the 
'line-height' to something like '0.85em'.  That's just a guess-- you 
may have to experiment with values around that one to get the effect 
you want, and even then it can only be (sort of) relied upon for that 
exact font face and size.  But it's worth trying.

-- 
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: