Hallo,
I'm trying to create boxes that have nicely spaced paragraphs, but a title
that is in a colored line full-width.
Here is my styles:
In the div content I create the framed boxes and give then a padding at the
left of 20px. Problem is that hte title gets the same padding, whereas it
should align at the left frameline of the box.
#content
{
background-color:white;
border:1px solid gray;
padding: 0px 0px 0px 20px;
}
#content h1
{
left:0;
font-size: 1.4em;
font-weight:bold;
font-style: italic;
padding:0px 0px 0px 10px;
margin:0px 0px 0px -20px;
background-color:#CCCC99;
width:100%;
}
I cannot give a negative padding. Is there a solution for this?
--
sjef janssen
http://www.extranet.ou.nl/studie-profiel/836551051.asp