Previous Message
Next Message

[css-d]

Sent by Mark Leder on 13 May 2003 17:05


Hi All,
I have a class selector, listed below, that I want to be able to do the
following:
1) Nowrap the text that the selector is used in, so that it doesn't break
after each word.
2) Keep the border immediately surrounding the text, rather than filling the
entire screen from left to right.  I would guess it would have something to
do with margins and width?

Only need to be concerned about IE5+ and NS6+

How do I do it?
=======================
The HTML...
<div align="center"><div class="warningAlertMessage">Login
Failure!</div></div>
=======================
The class selector...

..warningAlertMessage{font:normal normal bold 16px Arial, Helvetica,
sans-serif; color:black; text-align:left;
	border:1px solid gray; padding:2px 2px 2px 30px; height:26px; width:
auto; margin-left:0%; margin-right:0%;
	background-image: url(../authentication/warning.gif);
	background-position: left;
	background-repeat: no-repeat;}
=======================
Thanks, Mark 

______________________________________________________________________
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: