View Full Version : Backgrounds in tables
TempestAdmin
5-30-02, 08:30 PM
This is probably a really easy question, but, I have no clue, so I thought I'd ask to see if anyone could quickly help me.
For Netscape 4.75, I am trying to create a web page that has a background for the entire web page, and then a different background that over laps the other background just in a table.
Is that possible? It works in IE (everything works in IE), I just can't seem to get it to work in Netscape, regardless of what I try.
Thanks!
Unfotunately, this feature will not work in Netscape. At least not yet. I couldn't tell you about the latest version of Netscape. I have given up on trying to optimize my pages for Netscape. I figure, if webmasters stop catering to inferior browsers, people will stop using them eventually, and browsers, like Netscape, will eventually have to take the time to bring their browser up to par.
BTW, I am assuming that you are trying to do this with CSS. There may be a way to do it with javascript, but someone else would know better than I. Like I said, I won't take the extra time for Netscape. If I can do it with CSS, that's good enough for me.
Good luck!
TempestAdmin
5-30-02, 09:35 PM
Darn.
I was hoping I could get it to work for Netscape... that sucks.
Anyways, thanks!
esccanada
5-31-02, 01:10 AM
I have a background on a table cell and it shows in Netscape. Just not real well.
Whole page is better displayed with IE cause Netscape just drops stuff.
Here's how to add a background in a table cell:
<td style="background: #FFFFFF url(imagefile) no-repeat center center">
It's actually using CSS.
Check out http://www.htmlhelp.com for more info.
TempestAdmin
5-31-02, 06:03 AM
Hey thanks! That worked, at least in Netscape 6.0. I'll check the older versons tomorrow. :)
Yay!
esccanada
5-31-02, 09:22 AM
I don't use Netscrap 6.0. I've gone to 4.79 and from the latest public review version, I'll be staying there much longer.
Ever since AOL bought them, it's been a downhill slide. That's pretty much true for every company AOL bought.
I actually use CrazyBrowser (http://www.crazybrowser.com) because I like it's included features and it's based on IE.
<td style="background: #FFFFFF url(imagefile) no-repeat center center">
Hi!
My bad. I've been using stylesheets for quite some time now. Love CSS. I've always read at several webmaster sites, like Web Monkey, that Netscape doesn't support table background images and have never been able to get it to work; so, I have a question for you (always looking to learn something new!):
the formatting you've used above, is this the actual html tag for your table cell? I took a look at the site you referenced and couldn't find anything on this particular topic. They appeared to be using the standard CSS syntax found in stylesheets. And does using the reference in a tag make it behave differently? I've never seen it used this way before and would be interested in learning more.
Thanks!
esccanada
5-31-02, 09:11 PM
I couldn't find anything exactly there either but that is almost exactly the the same tag I use. Mine has sizing, etc. but functionally for the purpose stated here, it is.
GirlsOnBikes
6-4-02, 05:00 AM
Just a FYI I use cell (not table) backgrounds throughout my entire site and it displays perfectly in IE6 and NS4.7x
What would the correct syntax be if I wanted to add attributes in addition to the background image, for example, a border? I've tried using the tag on a test page and the background shows, but I can't figure out how to separate the other attributes from the background.
Thanks!
BTW Kevin, that's a cute avatar. REminds me of my Ex.:D
Nevermind. I figured it out. Sometimes the obvious just flies right over my head.
Thanks anyway!
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.