View Full Version : background-attachment: fixed; plz help

05-06-2006, 01:36 AM
i have an issue with some coding

<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" style="background-attachment: fixed; background-image:url(themes/oranje/images/bg_neon.gif); ">
<td width="760" valign="top" align="center">
<tr><td height="1" align="center"><img src="themes/oranje/images/black_spacer.gif" width="758" height="1" border="0" alt="" /></td></tr>
<td width="760" valign="top" align="center" style="padding-right:10px; background-repeat: no-repeat; background-position: center left; background-image:url(themes/oranje/images/neo-logo.gif);">

the part listed in red is what im trying to configure to make the bg image for the main table be fixed as it is on the out side of the table see site at http://www.theneonportal.com/local/a/b/php/c/gallery/ what am i doing wrong are there any clean hacks i can do to fix this...



05-06-2006, 04:12 AM
Try background-attachment: scroll;. When you set a background to a fixed position on anything other than the body, all it does is get pasted over the body background. Since your BG images are the same for both, you simply can't see what's happening. Yeah, I know it doesn't make sense; welcome to the world of web standards.

05-06-2006, 04:25 AM
still no luck

pls help