Goodthing07 Posted April 25, 2012 Share Posted April 25, 2012 Hello,How would I go about setting a website so that there is a light coloured background and then the content of the website is all centred? An example of which is the W3Schools website the way they have their layout?Any help would be greatly appreciated. 1 Link to comment Share on other sites More sharing options...
tnd1000 Posted April 25, 2012 Share Posted April 25, 2012 Hey there! Well, first off, you'll have to go to your site's CSS file and find (or create) the property "background-color" in the "body" section of the stylescript, then assign the color you like. The color picker is quite handy for this stuff: http://w3schools.com/tags/ref_colorpicker.asp?colorhex=%23330033 As for the centering, you might try aligning your main content using the "margin" property. Here's the W3Schools tutorial on that: http://w3schools.com/css/css_align.asp 1 Link to comment Share on other sites More sharing options...
thescientist Posted April 25, 2012 Share Posted April 25, 2012 http://w3schools.invisionzone.com/index.php?showtopic=43174please don't double post. You have already asked this question in a forum already visible by all members of the forum. Answers and suggestions have already been provided. If you have more questions, please keep it in the same thread. Link to comment Share on other sites More sharing options...
Goodthing07 Posted April 25, 2012 Author Share Posted April 25, 2012 (edited) Ya sorry about that just I was told by somebody before you replied to me that I'd need to know css which wasn't exactly helpful so I came into the css part of the forum as I tought I'd get a better response here.Thanks very much both of ye for the help tho! Tnd1000, got exactly what I wanted. Thanks again. Edited April 25, 2012 by Goodthing07 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now