Backgrounds that lock edges.
I am not a pro-Web Master but I have made a few sites on FP2002. I have been trying to get better with my skills and am having some troubles with backgrounds and maybe someone can help. I originally built my background for a 800 X 600 setting. When I looked at it on a browser that was setup for 1024 X 768 it was tiled. What do I need to do to get the edges to lock on my backgrounds so they adjust in any screen resolution setting. If someone could help me I would be forever thankfull:) I hope I explained it well enough for whoever to understand where I am coming from. Thanks Paul28:confused:
Megan posted this at 03:46 — 1st November 2002.
She has: 11,421 posts
Joined: Jun 1999
The first option is to make your background large enough so that it won't tile at larger resolutions. Of course, in most cases this can create very large file sizes, so the other option is to use CSS, like this:
Just put that in the header of your document - it should prevent the image from tiling, at least in modern browsers that support that property (I'm not sure if NS 4.x supports that, if it doesn't it would be the only commonly used browser out there that would have problems with this)
Edit: forget what I just said - NS 4.x does support background-repeat so you should have no problems with that.
Megan
Connect with us on Facebook!
The Webmistress posted this at 08:06 — 1st November 2002.
She has: 5,586 posts
Joined: Feb 2001
Welcome to TWF Paul,
What Megan says above is the best way of doing this but can you let us know the url of the site so we can have a look and see if there are any other suggestions depending on the type of background it is?
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
Megan posted this at 14:17 — 1st November 2002.
She has: 11,421 posts
Joined: Jun 1999
Yes it's going to be tough if you're using a big photo or something like that. Ideally you'd have a graphic of some sort that has a solid colour background at least around the edges in a web safe colour, which you could then match with a bgcolor value so you wouldn't see a harsh line between the background image and the rest of the page background.
Megan
Connect with us on Facebook!
jammin posted this at 22:54 — 1st November 2002.
They have: 222 posts
Joined: Sep 2002
hello paul, kinda off subject but i noticed your from boise.
nice to see someone from the same place as me:)
paul28 posted this at 01:59 — 2nd November 2002.
They have: 8 posts
Joined: Nov 2002
Thanks all for the warm welcome and I have not had a chance to try your suggestions but I will as soon as I can. Once again thanks and I am sure I will be asking more questions soon lol. Hey jammin cool to know there is some one in the same area as I am. Do you know if BSU offers a web master associate degree or something of that effect? For the past several months I have been messing arround with the web site. Started out with yahoo and they sucked moved to a bigger site with full controll panel access and cgi_bin and now I am hooked thinking about making a carrer change.
Thanks friends: Paul
jammin posted this at 07:47 — 2nd November 2002.
They have: 222 posts
Joined: Sep 2002
i dont know if BSU offers one, would be something worth looking into though.
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.