I seem to be encountering issues with optimizing my website. Everything appears to be working correctly in terms of widths, heights, margins, etc., on my laptop. However, when I view the site on an iMac or any other computer with a larger screen size, the content does not cover the full screen but seems to be offset to the laptop screen size.
Below is the CSS code:
body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, input, textarea, fieldset, blockquote
{
margin: 0; padding: 0; border: 0;
}
body
{
width:100%;
height:100%;
padding-left:30px;
background-color:white;
}
#connectedbody
{
width:900px;
}
.headertwitter
{
margin-left:40px;
margin-top:-58px;
}
.headervimeo
{
margin-left:80px;
margin-top:-59px;
}
.headertypecontact
{
margin-top:-16px;
margin-left:290px;
}
#header
{
}
.headerwork
{
margin-left:147px;
margin-top:-51px;
}
.headercontact
{
margin-left:302px;
margin-top:-51px;
}
.logo
{
position:fixed;
z-index:20;
margin-top:30px;
}
.floater
{
position:fixed;
z-index:10;
color:#ffffff;
background-color:;
width:3000px;
height:270px;
margin-left:-100px;
}
...
Below is the HTML code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
...
When viewed on an iMac, the content does not cover the full screen as intended. It appears correctly on a laptop. The issue may be related to the CSS styling not adjusting properly to different screen sizes.