php_begins Posted January 8, 2012 Share Posted January 8, 2012 I was just playin with http://www.texaslakesandponds.com/index_test.html The page is centered now and I want to add color to both sides of the page(currently it is white) Can Someone tell me how. Also if i want to add shaded green, do i have to add an image or something..A bit of html help would be appreciated.. Quote Link to comment https://forums.phpfreaks.com/topic/254615-add-color-to-either-side-of-page/ Share on other sites More sharing options...
melting_dog Posted January 9, 2012 Share Posted January 9, 2012 In CSS body { background-color:#F00; } You can choose the colour you want by pasting the hexidecimal value from http://www.colorpicker.com/ where I have F00; above. Quote Link to comment https://forums.phpfreaks.com/topic/254615-add-color-to-either-side-of-page/#findComment-1305636 Share on other sites More sharing options...
deathadder Posted January 10, 2012 Share Posted January 10, 2012 a background image? can be obtained with this body { background-image:url('image url'); background-position: center top; background-repeat: no-repeat; background-size: 100%; this is for a background image that willl not repeat, is stretched over entire page but it nost fixed enjoy Quote Link to comment https://forums.phpfreaks.com/topic/254615-add-color-to-either-side-of-page/#findComment-1306073 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.