LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2012, 01:35 PM   #1
errigour
Member
 
Registered: May 2009
Posts: 366

Rep: Reputation: 6
Just a quick html questions. Trying to stretch a td not all tds


I have an image in the first td rows 3 there are three rows and i want the third row/tr to fill the length of the image and not all three to share the length of the image. Is it possible with just plain html?
 
Old 10-11-2012, 02:43 PM   #2
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Lets see if I understand correctly ...

You have a table of three rows with three columns and you want the image in the third row to be the width of the table (ie one column) without changing the other columns in the other rows?

If that is what you are asking then use a single <td> tag in row three and add colspan=3 to the tag for row three.
 
Old 10-11-2012, 08:05 PM   #3
errigour
Member
 
Registered: May 2009
Posts: 366

Original Poster
Rep: Reputation: 6
no Im asking that the third tr stretch to replace the remaining height that the image is instead of all three trs sharing the image excess height.
 
Old 10-12-2012, 04:00 AM   #4
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
If you mean as in the attachment, try putting the image in a rowspan of the first TR and ignore it in the other two rows.

<table>
<tr>
<Td rowspan=3>link for image</td>
<td>sfsdfsd</td>
<td>sfsdfsd</td>
</tr>
<tr>
<td>sfsdfsd</td>
<td>sfsdfsd</td>
</tr>
<tr>
<td>sfsdfsd</td>
<td>sfsdfsd</td>
</tr>
</table>
Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	9
Size:	7.6 KB
ID:	10945  
 
Old 10-13-2012, 12:28 PM   #5
Dafydd
Member
 
Registered: Oct 2008
Posts: 344

Rep: Reputation: 29
Check here and see if this gets you started.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
regexp quick fix, identifying elements in html chr15t0 Programming 2 06-06-2006 03:35 AM
Quick Q3 questions iain.ross Linux - Games 3 01-08-2005 10:32 AM
Two quick questions... whishkah Slackware 4 07-01-2004 02:12 PM
qt+sybase+tds drenal Programming 0 06-06-2004 05:47 PM
Quick questions Nylex Slackware 4 09-21-2003 07:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration