Webmaster Computer Resources Help And Learn To Earn Ideas!
I am using the following :
img { position:absolute; left:10px; top:0px }
I dont know the syntex of “src” in CSS that should be placed in the code above to make this work, development tool is ASP so mind you the graphic would be called virtually (i.e. http://localhost…..)
Comments (2)
I’d do something like this instead:
In my html file:
Now in css file: .image { vertical-align:top; }
You can place your header information in the body of your CSS like this:
body { background-image: url(images/image-name.jpg); background-position: top; background-repeat: no-repeat; margin: 0; width: 100%; }
Hope this helps.
DianeD
You must be logged in to post a comment.
Welcome to WebmasterTechs.com, your source for great webmaster resources and tips! Enjoy the site!
May 25th, 2007 at 1:29 pm
I’d do something like this instead:
In my html file:
Now in css file:
.image {
vertical-align:top;
}
May 28th, 2007 at 10:23 pm
You can place your header information in the body of your CSS like this:
body {
background-image: url(images/image-name.jpg);
background-position: top;
background-repeat: no-repeat;
margin: 0;
width: 100%;
}
Hope this helps.
DianeD