![]() |
No repeat Background
I have tried several different ways of doing this and none will work in IE.
Right now I have this on the end of my page background url " no-repeat fixed". I know that http://forum.yaxay.com/ has thiers working in IE and FF, but when I try their format for no repeat and fixed, it still doesnt work.... Does anyone know of one that works? |
Code:
body |
This is the page background. Where do you suggest that I put that? Shoul I remove the primary line and use that whole code in the extra attributes or .....?
The reason I ask is that I beleive I have tried that code in a couple of instances. This is what I have in the all style vars under the page background section: PHP Code:
PHP Code:
|
well you could use inline css so the style only affects that tag on whatever page.
|
What did you say?
|
[high]* Guest190829 is confused as too what you really want. :([/high]
|
Quote:
Admin Control Panel => Style Manager => All Style Options => Body Table => Extra CSS Attributes Place this in there and edited the path to your image, HTML Code:
background-image: url(path/to/picture.gif); background-attachment: fixed; background-position: topleft; background-repeat: no-repeat; |
Ok, when I try that in the page background ( which is what im shooting for), it works in FF, but in IE it just shows the image and it isnt fixed. When I try it in the body it doesnt show period.
I am pretty sure that, that is the right code though...... Check out the style im working with: http://www.saltcreep.com/forums/?styleid=10 I also want to mention that the image is bordered by this code in the header: PHP Code:
|
Hmmm, strang that it would do that. Give me a few mins to test what your doing on my server and i'll see what I come up with.
|
Quote:
If you want I can give you admin rights to my board to test out some stuff instead of trying to emulate on yours. I trust you. :) |
Theres no need for that. For some reason the code I posted above only works in the body tag. I'll find a fix for this.
|
Ok, thanks for your help as I am sure there are others out there that have been looking for this.... Please ignore my pm btw.
Thanks for your help. :) |
Okay, after searching a few sites I keep coming across this statement.
Quote:
|
Quote:
The reason I ask is that its wierd that the boards whom I linked in my first post is working fine in IE, which leaves me to believe that theres a variable on my board thats conflicting. |
What your trying to do is this. The body tag has a repeated background image. The page tag has a fixed background image. IE6 does not consider the page tag as a fixed image because its not in the body tag. That's a bug in IE6.
If you we're to visversa it, then it would work. Example: Place the fixed background in the body tag, and place the repeated background in the page tag and it will work. |
So would I just reverse where the code for those functions go, but keep the background url image in the page section?
Well when I take this code out of the header: PHP Code:
PHP Code:
|
It works because its in the body tag. Before you had it in the page tag.
|
Quote:
PHP Code:
Not to be redundant but please tell me if it is working for you all in your IE browsers? http://www.saltcreep.com/forums/ |
All times are GMT. The time now is 04:41 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|