Hi all
I have the following (i have thr styles in the div tags to show what I have rather than in a css file) and what I am trying to do is simply make the header be 100% of the screen/browser width and then reduce and enlarge depending on the users screen size or browser window. What is happening is that the top part of the header is too wide for the screen – what have I done/got wrong or what am I missing?
[CODE]<body leftmargin=”0″ topmargin=”0″ rightmargin=”0″ bottommargin=”0″ marginwidth=”0″ marginheight=”0″>
<div id=”header_logo” style=”position: absolute; left: 0px; top: 0px; width: 257px; height: 89px; background-image: url(images/hdrback1.gif);”><img src=”images/dogsitestitlelogo.gif” width=”237″ height=”89″></div>
<div id=”header_ad” style=”position: absolute; left: 257px; top: 0px; height: 89px; width: 100%; line-height: 0px; text-align: center; background-image: url(images/hdrback2.gif); vertical-align: middle; right: 0px;”><script type=”text/javascript”><!–
google_ad_client stuff (i have snipped code away here for this post)
//–></script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script></div>
<div id=”header_path” style=”position: absolute; left: 260px; top: 69px; width: 537px; height: 20px; vertical-align: bottom”><span class=”pathway”>Home </span></div>
<div id=”header_line1″ style=”position: absolute; left: 0px; top: 89px; width: 100%; height: 3px; line-height: 3px; background-image: url(images/line.gif); right: 0px;”><img src=”images/spacer.gif” width=”1″ height=”3″></div>
<div id=”header_image” style=”position: absolute; left: 0px; top: 92px; width: 100%; height: 70px; background-image: url(images/picsrow1.jpg); right: 0px;”> </div>
<div id=”header_line2″ style=”position: absolute; left: 0px; top: 162px; width: 100%; height: 3px; background-image: url(images/line.gif); right: 0px; line-height: 3px”><img src=”images/spacer.gif” width=”1″ height=”3″></div>
All help appreciated
Cheers
gwmbox