Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > how to get specific cell height without hard-coding a height value

Reply
Thread Tools

how to get specific cell height without hard-coding a height value

 
 
laredotornado@zipmail.com
Guest
Posts: n/a
 
      08-19-2006
Hello,

I am putting a repeating background image in a table cell. I would
like the table cell to be the same height as the background image, but
I haven't figured out how to do this without hard-coding a height, as
I've done below ...

<tr><td valign="bottom" align="center" style="padding-bottom:10px;
color:#ffffff; background-image:url('images/red-footer.gif');
height:77px;">č2005 Reman Resource &amp; The Refilling Station.
All Rights Reserved.</td></tr>

If we switch the image with something else, the height may change and
I'll have to re-code this. Is there a better way? All suggestions
welcome.

Thanks, - Dave

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
cell's offsetHeight not equal to cell's height?? firefox & IE laszlokenez@gmail.com Javascript 2 08-05-2008 10:44 PM
textbox height = containing cell height - x JC ASP .Net Web Controls 2 08-02-2004 08:28 PM
RadioButtonList In A DataGrid Cell - Can I find the selected button without editing the cell? Empire City ASP .Net Datagrid Control 3 04-30-2004 12:19 AM
moving to cell Y if cell X has value Z. Clarke Rice Computer Support 0 06-30-2003 09:35 AM



Advertisments