Jump to content

background


Davie33

Recommended Posts

Hi there all.Just to ask if you know how to get this css background working.

Its ment to expand down the way.I have it working with an image and with url

like this....

background: url(images/side.png) top left repeat-y, url(images/side.png) top right repeat-y;

 

and am trying to get it to work without the image and just using hex color instead.

background: #fff, top left repeat-y, #fff, top right repeat-y;

Link to comment
Share on other sites

If you are simply setting the background colour of an element then there is no need for setting position or repeat.

 

Just simply set the colour:

 

background-color:#fff;

That wont work bud.

As u can see with this css works gr8tI have 3 columns left center and right.

This css will do the left and right columns but when trying to add just the hex it doesnt work for me.

background: url(images/side.png) top left repeat-y, url(images/side.png) top right repeat-y;

Link to comment
Share on other sites

this is the css am using.

#content_wrapper {

width: 950px;

background: url(images/side.png) top left repeat-y, url(images/side.png) top right repeat-y;

background-color: #011933;

}

This will show on the left and right sides of that div which will show one my left and right columns.

Reason being is that my left and right columns dont go all the way down so this was a kinda fix to sort that with image

and now would like it with just the hex colors.

I guess u would reli need to download our script just to see what i mean.

As i dont know what else i can say to let u know what i mean sry.

But thanks for the help on me topic.

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.