Jump to content

cant seem to get my background image to repeat


runnerjp

Recommended Posts

hey guys ny background image will not repeat itself and i do not knwo why :S

 

 

hopefully the image wqill appear behind the text repeated

 

<h1 align="center"><u><div id="lineacross"> <img align="left" src="../images/background123.jpg" /> </div> Welcome Back To RunnersElite!</u> </h1> 

   

then ithis is my layout.css file that the div refears to

div#lineacross {
background:url('http://www.runnerselite.com/images/background123.jpg') repeat-x;
background-repeat:repeat-x
}

Link to comment
Share on other sites

dude your missing a ;

that may be the problem

and you've got an extra repeat-x in ther too

so the code would go like this

div#lineacross {
background:url('http://www.runnerselite.com/images/background123.jpg');
background-repeat:repeat-x;
}

notice the new ; after repeat-x;

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.