Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Background Image Tiling
Old 02-03-2004, 01:15 PM Background Image Tiling
Junior Talker

Posts: 4
Trades: 0
When inserting a background image into a table cell using Dreamweaver 4.0 how to you keep the image from tiling (repeating)?

Thanks,

Ben
benhoa is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-03-2004, 01:52 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Best bet is to use a stylesheet. Create the class for the table cell:
Code:
.tdbackground {
    background-image:url('image.jpg');
    background-repeat:no-repeat;
    }
Then use the class on the table cell you want to apply your background image to:
Code:
<TABLE>
  <TR>
    <TD CLASS="tdbackground">
        Your content here
    </TD>
  </TR>
</TABLE>
In Dreamweaver, once you create the class in your stylesheet, (in design mode) select the table cell, then go down to the properties section at the bottom to apply the style class to it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 02-04-2004, 09:13 AM Tiling Followup
Junior Talker

Posts: 4
Trades: 0
Thanks for your quick response. To take it one step further, how would you go about preventing tiling when adding a background image to an entire page (no table)?

Thanks,

Ben
benhoa is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Background Image Tiling
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12147 seconds with 12 queries