Setting the margin on an inner content tag is what Eric Meyer
recommends...so that probably the best solution that exists.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Tuesday, September 2, 2003, 10:55:08 AM, you wrote:
RC> Hmm, I tried margin:

RC>         .header2{
RC>                 border: thin solid;
RC>                 width: 100%;
RC>                 color: #dd0000;
RC>                 font-family: Verdana, Arial, Helvetica, sans-serif;
RC>                 font-size: 24px;
RC>                 font-weight: bold;
RC>                 margin: 5px;
RC>         }

RC> and while I have a 'proper' margin on the left side, and the box goes
RC> all the way, it does not have a margin on the right side as well.

RC> And - I still want padding _inside_ the box so the text isn't aligned
RC> right against the border. When I add back in padding, I end up back in
RC> the same place. So far, the 2 style declaration seems to be the only
RC> good solution.

RC> -rc

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:5
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to