February 23, 201016 yr Hello new to this forum and my first post. I am half way through my design course and also well into my first job (stupid or brave you decide) I have my page designed, templated and I have a style sheet. I need to change the colour behind my page i.e. the backgound dictated by the size of the screen it is viewed on. Christ terrible explanation!! If I have a 750 wide page in red when I see it on the web behind my red is the backgound white how do I change that colour it must be simple which is why I am going around the bend trying to find an answer. Hope somebody can help. thanks in advance...... Edited February 23, 201016 yr by Sam G topic moved from General Chat
February 23, 201016 yr Add this to your css: body {color:#000000;} Substitute 0000000 for the hex value of the colour you want.
February 23, 201016 yr Add this to your css: body {color:#000000;} Substitute 0000000 for the hex value of the colour you want. It's getting late...sort of, I think notbanksy meant this anyway... body { background: #000; }
February 24, 201016 yr You can do it via either the HTML or the CSS (recommended). CSS: body { background:#FFFFFF; } HTML (Add bgcolor into your body tag): <body bgcolor="#FFFFFF;"> </body>
February 24, 201016 yr You can do it via either the HTML or the CSS (recommended). CSS: body { background:#FFFFFF; } HTML (Add bgcolor into your body tag): <body bgcolor="#FFFFFF;"> </body> although preferably with CSS
Create an account or sign in to comment