Image issue

Commissario
Joined
23 Nov 2004
Posts
43,302
Location
Herts
Trying to get an image to go along the top of my website, however want to make it so that it stretches across the whole browser window regardless of the size. Not quite sure how to do this?

www.jmcadam.com

The current div code I'm using is this -

Code:
<div style>

<img src="images/bar.png"
width="1000px";
height="20px"
style="position:absolute;
float:top;
top:0px;
right:0px;
left:0px;
z-index:2;">

</div>
 
I've changed to the suggestion, thanks, however my twitter and facebook icons are now not aligned with the title despite being aligned when I view them in live view in Dreamweaver? Definitely missing something obvious here...
 
Yeh, I'm hoping to delve more into this area of the forums actually! Will get onto making those changes and see how it pans out.
 
Back
Top Bottom