Background Graphic Question
I have a nice picture that I want to use as a background, I don't want it tiled (or to appear tiled). I want it to take up the size of the screen. I don't know what size to make the picture and what to do in order for this to work. I was trying to make it perfectly fit so that it would not scroll up and down or side to side in the browser. Is this possible? I would appreciate any help or tips in this area. Thank you.
AndyB posted this at 01:45 — 17th July 2000.
They have: 344 posts
Joined: Aug 1999
Your problem is going to be that you have no idea what size screen window your visitors will have ... the puny 540 pixels of webTV or the 1400 pixels of a high-end monitor ... nad no idea whether your visitor's browser supports the CSS background:no-repeat and position attributes.
You may need to think again on this one.
Brian Farkas posted this at 02:55 — 17th July 2000.
They have: 1,015 posts
Joined: Apr 1999
What you might want to do is create a table where you want the image to appear, and fill the table with the background. That might work better, as you never know what the person's resolution is (as mentioned by sngevans)
Good luck!
Brian Farkas
xrs posted this at 03:47 — 18th July 2000.
They have: 98 posts
Joined: Apr 1999
If you do the table, be sure to set the WIDTH=100% and HEIGHT=100% in the -TABLE- tag. However, if the page content goes past the 100%, you won't have a background image that stays in one place.. it will probably tile.
R Smith
The XRS Network - Webmaster and Developer Resources, Tools, etc.
XRSolutions - Professional yet Affordable Design and Development.
Unified - An Extensive Site Dedicated to Creed.
Brooke posted this at 14:50 — 18th July 2000.
She has: 681 posts
Joined: Feb 1999
Instead of setting percentages for the table - make it a fixed width. Make the table size the same as the picture. That way the picture fits and it doesn't tile.
Brooke
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.