Davie33 Posted December 14, 2011 Share Posted December 14, 2011 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; Quote Link to comment Share on other sites More sharing options...
Davie33 Posted December 14, 2011 Author Share Posted December 14, 2011 I have tryed few things but no getting it to work. background:#FFF, top left repeat-y, top right repeat-y; background: #FFF top left repeat-y, #FFF top right repeat-y; And none of the above work. Quote Link to comment Share on other sites More sharing options...
nano Posted December 15, 2011 Share Posted December 15, 2011 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; Quote Link to comment Share on other sites More sharing options...
Davie33 Posted December 16, 2011 Author Share Posted December 16, 2011 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; Quote Link to comment Share on other sites More sharing options...
nano Posted December 16, 2011 Share Posted December 16, 2011 As above, hex value is a colour so no need for repeat or position. Simply set the background colour on each element/column. Quote Link to comment Share on other sites More sharing options...
Davie33 Posted December 16, 2011 Author Share Posted December 16, 2011 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. Quote Link to comment 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.