Well I don't know what you're really trying to achieve, so I don't know if it's possible. But I'm going to go out on a limb and say yes, but just use margin instead of padding in this case.
Do you have a graphic mockup of what you want it to look like? -Kevin ----- Original Message ----- From: "Raymond Camden" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 9:28 AM Subject: RE: simple css question > So is what I want possible? I assume I could always use 2 style sheets, > one for the boxing and one for the text, but that seems like overkill. I > could also use a fixed width, but I want this to stretch out. > > -rc > > > -----Original Message----- > > From: Kevin Graeme [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 02, 2003 8:18 AM > > To: CF-Community > > Subject: Re: simple css question > > > > > > That's how CSS is supposed to work. The box is the actual > > content + margin. The padding is supposed to extend beyond > > that. Of course, that's not how some versions of IE handle it. > > > > -Kevin > > > > ----- Original Message ----- > > From: "Raymond Camden" <[EMAIL PROTECTED]> > > To: "CF-Community" <[EMAIL PROTECTED]> > > Sent: Tuesday, September 02, 2003 9:14 AM > > Subject: simple css question > > > > > > > I've got this style def: > > > > > > .header { > > > color: #dd0000; > > > font-family: Verdana, Arial, Helvetica, sans-serif; > > > font-size: 24px; > > > font-weight: bold; > > > border: thin solid; > > > padding: 5px; > > > width: 100%; > > > } > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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
