Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

81 users online



can someone tell me if my code is wrong in some place

can someone tell me if my code is wrong in some place

Currently viewing this thread: 1 (0 members and 1 guests)


Lush

Lush

Status: Offline!

can someone tell me if my code is wrong in some place

well here is my code so far, have i gone wrong somwhere, since you know what im trying to achieve

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body{ background-image: url("myimage.gif"); no-repeat; background-position: top center; }
</style>
<style type="text/css">
body{ background-image: url("myimage.gif"); background-repeat: repeat-y; }
</style>
<style type="text/css">
body{ background-image: url("myimage.gif"); no-repeat; background-position: bottom center; }
</style>
</head>

<body>

</body>
</html>

___________________

Dunce in the corner.

bryan

bryan

Neversidian
Status: Offline!

Mix all of those body {} CSS tags into one. No need for more than one, the previous just gets overridden.

___________________

Mugging Scotty Good.
www.muggingscotty.com

webarnes

webarnes

Neverside Newbie
Status: Offline!

Actually if your positioning three different images on your page(not sure if this is your goal because of same image name and different background positions)
You should insert them into their own div's:

body {font : normal 12px tahoma, Arial, Helvetica, sans-serif; color: #000; background-color: #069; padding : 0px 0px 0px 0px; }

#imgone{visibility : visible; position : absolute; z-index : 1; top : 50px; left : 50px; width : 100px; height : 100px; background-image : url(img/imgone.png); background-repeat : no-repeat;}

#imgtwo{visibility : visible; position : absolute; z-index : 1; top : 200px; left : 200px; width : 100px; height : 100px; background-image : url(img/imgtwo.png); background-repeat : no-repeat;}

#imgthree{visibility : visible; position : absolute; z-index : 1; top : 350px; left : 350px; width : 100px; height : 100px; background-image : url(img/imgthree.png); background-repeat : no-repeat;}

Hope that helps.
William

___________________

http://webarnes.globalwebtech.com/images/zerolarge.gif

Lush

Lush

Status: Offline!

thanks yea that does william

___________________

Dunce in the corner.

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0165 seconds.