Hi I'm new to group and I'm having an issue with a page I'm doing for
an Artist firend. This is my first foray into stylesheets.
here's the problem: I've got a dive I would like centered. I use the
code below to created a div that's centerd on the page. It works in IE
bit does not work in Firefox Mozilla etc.
here's the code
body{
text-align:center;
font-color:#ffffff;
background-image:URL(gothc lub.jpg);
}
div{
text-align:center;
padding:5px;
padding-top:10px;
margin-top:10px;
margin:left:20% ;
width:60%;
color:sienna;
background-color:#330000;
border:1px #82543d solid
}
Any help will be appreciated.
Dave
an Artist firend. This is my first foray into stylesheets.
here's the problem: I've got a dive I would like centered. I use the
code below to created a div that's centerd on the page. It works in IE
bit does not work in Firefox Mozilla etc.
here's the code
body{
text-align:center;
font-color:#ffffff;
background-image:URL(gothc lub.jpg);
}
div{
text-align:center;
padding:5px;
padding-top:10px;
margin-top:10px;
margin:left:20% ;
width:60%;
color:sienna;
background-color:#330000;
border:1px #82543d solid
}
Any help will be appreciated.
Dave
Comment