OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
page viewed in different res settings (cont'd)
This page's ID:
10945
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
OK, so you just want to make sure that your background image does not move when viewd in say 800 x 600, right? Yep, you can do that using CSS or tables. You pick. I think that I told you how to do it with tables so I will tell you how to do it with CSS. In your CSS: [code] body { background-image:url(images/water1280.jpg); background-repeat: no-repeat; background-color: #f0f0f0; background-position: 0% 73%; background-attachment: fixed; background-position: absolute; } [/code] Make your image smaller. You have one BIG image there. 1280px wide??!!?? That will make it look like shit at 800 x 600. If this is a "seemless" texture, then you are going to have no problem. Find the point to where the image repeats and use that. Does that make sense? Then in your code, change this: "background-repeat: no-repeat;" to "background-repeat : repeat-y;" This will make your image repeat horizontaly. Also, you have "background-position:" set twice. The second one is going to over rul the first one. I am not sure that you are going to have to use this: "background-attachment: fixed;" I am not sure though. Hope that helps. Later, C:\ [url=http://faq.ozoneasylum.com/922/]~Binary is best~[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »