Dear Sir/Madam,
I have written some CSS codes for designing web pages. The codes have produced well design in FireFox browser, but not in InternetExplorer and GoogleChrome as I have tested. It may not be worked in other browser also.
But my question is that, how can I produced well design web pages by these CSS codes for nearly all browser.
Please guide me Sir/Madam,
My codes are....
body{background:white;}
h1{text-align:center;}
input{font-size:40px; color:white;background:green;}
#leftcol{
color:white;
background:green;
position:absolute;
border:2px solid gray;
top:120px;
left:30px;
width:148px;
height:416px;
padding: 10px; padding-top: 20px;
}
#content{
font-size:20px;
text-align:center;
color:white;
background:green;
position:absolute;
border:2px solid gray;
top:120px;
left:200px;
width:766px;
height:416px;
padding: 10px; padding-top: 20px;
}
#header{
font-size:50px;
text-align:center;
color:red;
background:#0f0;
position:absolute;
border:2px solid gray;
top:30px;
left:30px;
width:936px;
height:68px;
padding:10px;
}
#footer{
color:black;
background:#0f0;
position:absolute;
border:2px solid gray;
top:568px;
left:30px;
width:936px;
height:16px;
padding:10px;
}