Unstoppable Domains โ€” Expired Auctions

Table Cells/Image Background

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
Watch
Impact
0
This question is directed at Webmasters using that use Photoshop & ImageReady Or similar graphics package as the means of building there site...

Heres what im trying to do....

Make only image in a table cell the table cell background instead of an image in the cell
the cell dimensions are already setup to all the image sizes, Ive just completed a layout in Photoshop/sliced&optimized in ImageReady

I use Dreamweaver MX 2004 & know/understand html/xhtml

Thanks !
:) :) :) :)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
To do this is simple. Just goto the cell properties and select the background image you wish to use.

I use Dremaweaver MX and it doesn't seem to allow you to set wether the image repeats or not. To get round the image repeating in the background I suggest using CSS to set the cell background as the CSS property editor allows for the user to set weather the background repeats or not.

Just created some CSS code for you to show how to use a class to give a background to a cell that doesn't repeat.

This goes between the <head></head> tags: -

<style type="text/css">
<!--
.cellbackground {
background-image: url(background.jpg);
background-repeat: no-repeat;
}
-->
</style>

Then in the <td> tag of the cell you wish the background to appear in put this: -

class="cellbackground"

e.g. <td class="cellbackground">

PM me if you need some assistance.
 
Last edited:
0
•••
Thanks for the help! but I fixed it like 5 mins after posting D-:
Ill prob\bly find uses for the code you posted though.

ImageReady code that was applied to all layout parts,


<td>
<img src="images/image.gif" width="100" height="100"></td>

New code that I applied to all cells to fix the layout parts to the background to form editable regions (you cant type over an image)

<td background="images/image.gif">
 
0
•••
Fair enough. It would be worth looking into CSS when you have the chance. When you start using it you'll wonder how you managed without it.
 
0
•••
Originally posted by bassplayinuk
Fair enough. It would be worth looking into CSS when you have the chance. When you start using it you'll wonder how you managed without it.

Amen to that! CSS really is worth learning!
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back