[thelist] NS Repeating Background Problem

Aleem aleem at mindless.com
Mon Dec 10 15:12:52 CST 2001


Nate,
Thanks, that's a real helper! Didn't find that one when searching for
the problem on the web. 

I noticed the single quotes too, I put them there when composing the
mail, so my bad.

Aardvark, that rant about NS came from my frustrations, and the div tags
are essential to this site, since it loads content first, then the menu
and then all headers (victim of usability tweaking), so I guess when I
get around to pleasing all the people (NN 3.x) I'll make a version using
simply tables after I am done combining the IE/NN into one

Frustrations have disappeared for now :)

-Aleem






-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org] On Behalf Of nate koechley
Sent: December 10, 2001 5:04 PM
To: thelist at lists.evolt.org
Cc: thelist at lists.evolt.org
Subject: RE: [thelist] NS Repeating Background Problem

Aleem,

I was going to submit this as a tip anyway, but maybe you'll find it 
specifically helpful?

After quite a bit of testing, I believe the following tip to be true. 
Comments welcome.

<tip browser="netscape 4.*" type="background image bug" platform="PC" 
author="nate koechley">
when trying to use background images in either tables or td's with the
HTML 
attribute background="foobar.gif", netscape (4.*/PC) won't show the
image 
if it is less that 1024 square pixels in total area. (8*128, 32*32,
128*8, etc)

of course, an image can be bigger than the td and because it's just a 
background it won't stretch/break anything. so, just add a bunch of 
transparency to the right side of your image, or some other manipulation
to 
the shape/size to pass 1024 total pixels, and you should be happy.

there seem to be too many problems with style="background-image: 
url(foobar.gif)" in netscape within tables and tds. you can use the CSS
for 
the body background, but for table elements, I'd suggest using the
oldskool 
backgroud="*.gif" in conjunction with a bgcolor.
</tip>

HTH,
natek

BTW: Not to be too picky, but i think the correct syntax for CSS 
background-images is to not have single quotes around the imagepath, as
was 
suggested in prior emails:

<code>
	background-image: url(images/bgb.gif)
</code>

from: http://www.w3.org/TR/REC-CSS1#background-image

I don't know of a specific case where it matters, but it's worth noting.


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 





More information about the thelist mailing list