View Single Post
Old 11-28-2009, 03:15 PM   #3
iggypop
Powerplay Quarterback
 
iggypop's Avatar
 
Join Date: Apr 2006
Exp:
Default

Quote:
Originally Posted by getbak View Post
1:

I wouldn't want to have that image repeat because it'd be a sharp change from the green of the grass back to the blue of the sky. What I'd do there, if you have Photoshop or something similar (if you have Dreamweaver you should at least have Fireworks), is make the bottom of your image gradually fade to solid dark green colour, then set the background colour of your cell to that green colour. It'd be similar to what the CP page does at the top where it gradually goes from red to black, then is black the rest of the way.


2:

You should be able to set your table cell sizes to exact values that match the size of the graphics you have inside them, then set the one cell that you want to fill in the rest of the page to width="100%" and height="100%", which should force it to push all of its white space right up against the defined cell sizes.

So, if your photo is 200px wide and the "Contact Us" graphic is 100px high, your code would look something like:

<tr>
<td width="200px" rowspan="2">photo</td>
<td height="100px">CONTACT US</td>
</tr>
<tr>
<td width="100%" height="100%">Page content</td>
</tr>
Took me a long time to figure out what you meant by your first answer but that does make sense. I just thought I should be able to have the image stretch fill the cell (not repeat the image) and thus I wouldn't need to do what your saying.

As for the second, my code looks like this:

<td height="98" colspan="3" align="right" valign="bottom" bgcolor="#FFFFFF"><p align="right"><img src="ContactUsHeading.JPG" width="483" height="96" /></p></td>

So my td height and image height are almost the exact same, yet it automatically drops the cell like you see in the second screen shot. The only other code for the table is as follows:

<table width="950" height="816" border="1">

But that is for the entire table, not individual cells.
__________________
Quote:
Originally Posted by Temporary_User View Post
Reading the thread title, I simply assumed that Jpold and Jroc came out of the closet and have a love baby together.
iggypop is offline   Reply With Quote