Forum Moderators: not2easy
.content {
margin-left: 45px;
margin-top: 12px;
margin-right: 40px;
margin-bottom: 50px;
}
what is called "content" in this case? how can you use just a dot then the name?
I guess I'm trying to figure a lot of this out myself to quit bugging everyone here but can't find basic references as to when to use what. My issue now is to center horizontally an image I use at the top of each page. I can use the <P> tag and center the P but then I get the carriage-return/linefeed resulting in too much space below it. I want to center it and not have any other effect. (center in the viewable space, or body)
Where's the "dummy's guide to CSS"?
div.content {
background-color: white;
Background-Image: url(../bgrnd.jpg);
Background-Attachment: fixed ;
Background-Repeat: No-Repeat ;
background-position: top center ;
margin-left: 45px;
margin-top: 12px;
margin-right: 40px;
margin-bottom: 50px;
}
h1 {
font-FAMILY: Verdana, Arial, Helvetica, sans-serif;
font-SIZE: 22px;
COLOR: #000000;
text-align: center;
font-weight: normal;
margin-top: 0em;
margin-bottom: 1em;}
Shadows Papa
thanks again - I now understand a lot more! And see I can save myself a lot of keystrokes too. I was making it harder than it needed 2 b.
U guys r the best
Shadows Papa