![]() ![]() |
| Brian Read |
Feb 23 2012, 01:43 PM
Post
#1
|
|
Group: Members Posts: 7 Joined: 23-February 12 Member No.: 16,556 |
Hi
I have a site: http://iea.goldendome.org.uk I want to set the central page background to a light colour, but when I enter a background colour or background image, it fills the whole browser window, not just the central page area. Any ideas? cheers Brian |
| pandy |
Feb 23 2012, 02:14 PM
Post
#2
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,722 Joined: 9-August 06 Member No.: 6 |
The background of BODY often color the whole canvas. Wrap everything in a DIV instead and apply your styling to that. I.e. move the id and the inline style from BODY to the DIV
Inches is a unit for print. Better not use it on the web. -------------------- |
| Brian Read |
Feb 24 2012, 05:03 AM
Post
#3
|
|
Group: Members Posts: 7 Joined: 23-February 12 Member No.: 16,556 |
The background of BODY often color the whole canvas. Wrap everything in a DIV instead and apply your styling to that. I.e. move the id and the inline style from BODY to the DIV Inches is a unit for print. Better not use it on the web. yes, that worked very well, many thanks, also for the heads up on the inches - I'd wondered why the padding was so wide - changed to px now. cheers Brian |
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 11:20 PM |