[thelist] right-align with right-edge padding

Joshua Olson joshua at waetech.com
Tue Mar 7 09:17:46 CST 2006


> -----Original Message-----
> From: John DeStefano
> Sent: Tuesday, March 07, 2006 10:13 AM
> 
> #BannerMain {
> 	background-color: #BD0000;
> 	color: White;
> 	width: 100%;
> 	text-align: right;
> 	font-weight: bold;
> 	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
> 	vertical-align: middle;
> 	padding: 0px,30px,0px,0px;
> 	text-indent: 30px;
> }

padding: 0px,30px,0px,0px; is incorrect syntax.  Use spaces instead of
commas.  So:

padding: 0px 30px 0px 0px;

Also, 0 is can be unitless, so you could also use:

Padding: 0 30px 0 0;

<><><><><><><><><><>
Joshua L. Olson
WAE Technologies, Inc.
http://www.waetech.com/
Phone: 706.210.0168
Fax: 413.812.4864

Monitor bandwidth usage on IIS6 in real-time:
http://www.waetech.com/services/iisbm/ 



More information about the thelist mailing list