SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
Thread: pages showing funny in netscape?
-
Jan 30, 2001, 02:19 #1
- Join Date
- Jun 2000
- Posts
- 20
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Used bgproperties="fixed" but it's tiled in netscape and my text shifts to the left. I used tables. Can someone tell me how to make a fixed bg that will work for both netscape and ie. And a possible reason for shifting in netscape. Pointing to a tut would be wonderful, also.
-
Jan 30, 2001, 05:21 #2
- Join Date
- Jul 2000
- Location
- 80,000 feet below the surface
- Posts
- 1,442
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Simple, straight answer : you can't.
bgproperties is not supported by Netscape.
As for the text shifting, if you wouldn't mind posting a URL we'll all have a look at it and try to help you outUsually it's because of a closing HTML tag gone AWOL...
-
Jan 30, 2001, 09:03 #3
- Join Date
- Jun 2000
- Posts
- 20
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
an example is @
http://www.u2carla.com
There is no fixed background, but the text shifts when viewed in netscape. I do realize now that I should have placed the in my empty tables..tried that and it still shifted. This is my daughters site.
Thanks Janis
-
Jan 30, 2001, 09:58 #4
- Join Date
- Dec 2000
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Use a DIV with a z-index of 0 and Javascript to center your image. Use z-index(s) of 1+ in the rest of your page or if you aren't using divs for layout then enclose the rest of your page in a div with a z-index of 1 and no other attributes set. It's not a true background but it gets the same effect.
Aepic
-
Jan 30, 2001, 10:12 #5
- Join Date
- Jun 2000
- Posts
- 20
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Aepic,
Not sure I follow you. I used the div tag. But did not use z-index of "0". I have a bouncing bg script but haven't found a static one that is compatable with both browsers. Can you give me a short example of what you mean with the div z-index "0" Thanks
Janis
-
Jan 30, 2001, 13:12 #6
- Join Date
- Dec 2000
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
God bless the American Education system...Please!
Sorry about that, I was thinking of a non-repeat positioned bg.
I just reread your post, very slowly this time, and I see what you're after. The best that you can do, as far as I can tell, is to set the image up in a div z-index to 0 and write a script to re-position the image on scrolls a la Geocities. It's cheezy sure, but throw a link to http://www.webstandards.org and all that eye strain from jumping images might do some good.
Aepic
Wish I could have helped more.
One last thought,leave in the bgproperties tag and only allow the js re-position to happen in NN.
-
Jan 30, 2001, 18:42 #7
- Join Date
- Jul 2000
- Location
- 80,000 feet below the surface
- Posts
- 1,442
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Aepic : FYI, it's possible to prevent tiling of backgrounds using the CSS attribute : background-repeat:none.
Janis : z-index is a style sheet attribute which determines the 'vertical positioning' of various 'styles' or 'layers'. What Aepic was trying to explain was that you could try and combine JavaScript and z-index properties to center an image so that it's centered on the page, doesn't move and acts like a background, then set the other z-index properties so that the text and images on your page is a 'level' above the image and will still function normally.
As for the shifting text... Here's the offending code :
Code:<tr> <td width="378" height="119"><td width="178" height="119"><img src="carlalogo.gif" width="218" height="178" alt="" border="0"></td> </td>
Hope this helps.
-
Jan 30, 2001, 18:51 #8
- Join Date
- Jun 2000
- Posts
- 20
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks BC..I'll fix that. I tried the background as you stated and used :no-repeat and it did not work. I'll try it that way and let you know if it works.
Look @ http://www.ferrinnkelsey.com/ with netscape. The intro page has a fixed bg of baloons, does not show @ all in netscape.
Thanks a lot
Janis
Bookmarks