There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Tables


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
dmurfitt's Avatar
Senior Member with 618 posts.
 
Join Date: Nov 2002
08-Jul-2005, 06:27 AM #1
Red face Tables
Hi,

I was wondering if someone could help me with a little tables problem. I have a table 1 column and 3 rows. The top and bottom cell both have images in the cell, and the middle cell has a background image which tiles vertically (I think you can see where I am going with this). What I want is for the table to graw with the size of the page, but only the middle cell, not the top and bottom one. How can I do this? I am using Dreamweaver MX 2004.

Thanks people,
Dan
__________________
It won't turn off!
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,109 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am
08-Jul-2005, 10:07 AM #2
Put a fixed size (in pixels) for the top and bottom cell.
Then add 100% to the middle cell

%s woll scale to the page, 100% is full page.
pixels (px) is a fixed amount, so it won't scale to the page
dmurfitt's Avatar
Senior Member with 618 posts.
 
Join Date: Nov 2002
12-Jul-2005, 07:46 AM #3
I know it sounds stupid (and I am) but where am I entering this information?

Thanks for your help mate.
Dan
dmurfitt's Avatar
Senior Member with 618 posts.
 
Join Date: Nov 2002
12-Jul-2005, 07:52 AM #4
What I mean is, the properties for the cell don't have an option to select pixels or percent. Even if I add a '%' sign, it doesn't add to 100%.
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,109 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am
12-Jul-2005, 09:46 AM #5
well, it would help if I could see the code
dmurfitt's Avatar
Senior Member with 618 posts.
 
Join Date: Nov 2002
12-Jul-2005, 09:52 AM #6
I hope I've got the right bit of code here

<td colspan="10" rowspan="4" align="left" valign="top" bgcolor="#FFFFFF"><!-- TemplateBeginEditable name="body" -->body<!-- TemplateEndEditable --> </td>
<td colspan="3">
<img src="../images/home_36.gif" width="159" height="310" alt=""></td>
<td>
<img src="../images/spacer.gif" width="1" height="310" alt=""></td>
</tr>
<tr>
<td colspan="3" background="../images/home_37.gif"><!-- TemplateBeginEditable name="side" -->side<!-- TemplateEndEditable --> </td>
<td>
<img src="../images/spacer.gif" width="1" height="15" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="../images/home_38.gif" width="159" height="24" alt=""></td>
<td>
<img src="../images/spacer.gif" width="1" height="24" alt=""></td>
__________________
It won't turn off!
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:31 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.