runnerjp Posted April 11, 2007 Share Posted April 11, 2007 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 } Quote Link to comment https://forums.phpfreaks.com/topic/46625-cant-seem-to-get-my-background-image-to-repeat/ Share on other sites More sharing options...
rallokkcaz Posted April 14, 2007 Share Posted April 14, 2007 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; Quote Link to comment https://forums.phpfreaks.com/topic/46625-cant-seem-to-get-my-background-image-to-repeat/#findComment-228950 Share on other sites More sharing options...
runnerjp Posted April 14, 2007 Author Share Posted April 14, 2007 oh yer...tad silly of me...cheers Quote Link to comment https://forums.phpfreaks.com/topic/46625-cant-seem-to-get-my-background-image-to-repeat/#findComment-229104 Share on other sites More sharing options...
Zeon Posted April 16, 2007 Share Posted April 16, 2007 Actually that's not your only problem, you don't need the single quotes in the url(...), also you should give relative path to the image. Quote Link to comment https://forums.phpfreaks.com/topic/46625-cant-seem-to-get-my-background-image-to-repeat/#findComment-230201 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.