Jump to content

Recommended Posts

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?

 

Link to comment
https://forums.phpfreaks.com/topic/39057-background-image-help-d/
Share on other sites

<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>

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 ??

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>

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>

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.