|
Posted by Beauregard T. Shagnasty on 01/31/07 15:09
F.C. James wrote:
> Beauregard T. Shagnasty wrote:
>> A warning isn't an error. "brown" is an error, according to the
>> checker. <g>
>
> OK, I feared disaster.
>
>> I would not dwell on these warnings for now. The HTML errors are a
>> lot more important, and should be looked at first.
>
> It's embarrassing to collect that many warnings on background alone.
> What would be the correct way of making these two statements ?
>
> #name1 {height: 450px; padding: 0; margin-left: 10px; border-bottom:
> solid #A79372 5px; background-image:url('col.jpg');}
>
> body{background:#DDFFFF ; font-family: Georgia; font-size:100%;}
body {
background: #dff;
color: #000;
font: 100% Georgia, serif;
}
#name1 {
height: 450px;
padding: 0;
margin-left: 10px;
background: transparent url('col.jpg');
color: #000;
border-bottom: solid #a79372 5px;
}
What is the purpose of "#name1" ? If for holding text, I would switch
to using em units for the height and margins, so that the container
expands and contracts with the text if/when a visitor resizes.
--
-bts
-Motorcycles defy gravity; cars just suck
Navigation:
[Reply to this message]
|