Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background image in a table

Status
Not open for further replies.

TheDemon

Programmer
Feb 7, 2000
108
GB
Is it possible to prevent tiling on an image in a table so it only appears once?<br><br>Any help would be fantastic!
 
well if you look at CSS backgrounds, then yes... anything can have a background in CSS. Although that's only on 4.x browsers... the code would be as follows:<br><br>&lt;STYLE TYPE=&quot;text/css&quot;&gt;<br>&nbsp;&nbsp;table {<br>&nbsp;&nbsp;&nbsp;&nbsp;background-image: url(your_bg.jpg);<br>&nbsp;&nbsp;&nbsp;&nbsp;background-repeat: no-repeat;<br>&nbsp;&nbsp;&nbsp;&nbsp;background-attachment: fixed;<br>&nbsp;&nbsp;}<br>&lt;/STYLE&gt;<br><br>If you wanted to specify only one certain table or a number of particular tables you'd have to specify either an ID or a CLASS, according to normal CSS rules. Hope that helps :eek:) <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Thanks Liam, that's a great help. I use CSS but am not aware of all the possible commands (lazyness more than anything). Cheers m8.
 
*lol* thanks... I'll be putting up a version with lyrics sometime this summer.. but thanks, that's one of my favorites :eek:) <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top