runnerjp Posted February 18, 2007 Share Posted February 18, 2007 hey guys i have this as my back ground image at the moments <style type="text/css"> <!-- body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; } body { background-color: #FFFFFF; background-image: url(http://www.runnerselite.com/images/bkground.jpg); background-repeat: repeat-x; } --> </style> i want to add anouther background image and this time repeat it along the y access how would i do this? Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/ Share on other sites More sharing options...
ToonMariner Posted February 19, 2007 Share Posted February 19, 2007 you need to add a background to the html selector in css html { background-image: url(blahblah) repeat-y; Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188270 Share on other sites More sharing options...
runnerjp Posted February 19, 2007 Author Share Posted February 19, 2007 what do you mean by this ?? im new to css Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188548 Share on other sites More sharing options...
ToonMariner Posted February 19, 2007 Share Posted February 19, 2007 <style type="text/css"> <!-- html { background: #FFFFFF url(http://www.runnerselite.com/images/OTHER IMAGE.jpg repeat-y;} body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; } body { background: transparent url(http://www.runnerselite.com/images/bkground.jpg repeat-x; } --> </style> Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188629 Share on other sites More sharing options...
runnerjp Posted February 19, 2007 Author Share Posted February 19, 2007 ok i typed in this <style type="text/css"> <!-- html { background-image: #FFFFFF url(http://www.runnerselite.com/images/linedown.jpg; background-repeat: repeat-y; background-position:0px 155px} body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; } body { background-image: transparent url(http://www.runnerselite.com/images/line.jpg; background-repeat: repeat-y; background-position:15px 0px } --> </style> and nothing happend ?? Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188666 Share on other sites More sharing options...
AndyB Posted February 19, 2007 Share Posted February 19, 2007 Do as ToonMariner suggested - don't forget to close the url( bracket: background-image: #FFFFFF url(http://www.runnerselite.com/images/linedown.jpg); background-repeat: repeat-y; background-position:0px 155px;} Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188673 Share on other sites More sharing options...
runnerjp Posted February 19, 2007 Author Share Posted February 19, 2007 nope tired it and it failed to work <style type="text/css"> <!-- html { background-image: #FFFFFF url(http://www.runnerselite.com/images/linedown.jpg); background-repeat: repeat-y; background-position:0px 155px;} body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; } body { background-image: transparent url(http://www.runnerselite.com/images/line.jpg); background-repeat: repeat-y; background-position:15px 0px; } --> </style> Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188686 Share on other sites More sharing options...
ToonMariner Posted February 19, 2007 Share Posted February 19, 2007 you have put two values in background image!!! either us the short hand as I did or set background-color separately. If this doesn't work then your problem is more than likely else where... <style type="text/css"> <!-- html { background: #FFFFFF url(http://www.runnerselite.com/images/linedown.jpg) repeat-y 0px 155px; } body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; } body { background: transparent url(http://www.runnerselite.com/images/line.jpg) repeat-x 15px 0px; } --> </style> Quote Link to comment https://forums.phpfreaks.com/topic/39057-background-image-help-d/#findComment-188945 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.