?
Solved

html table

Posted on 2011-02-14
2
Medium Priority
?
298 Views
Last Modified: 2012-05-11
Hi Experts,

I am modifying a site done by someone else and the have used tables throughout the site.  I prefer semantic xhtml/css with divs.

Have look at the attached image and the table html below.  I would like to create a single div occupying the 'special promotions' cell and the hello world 3 cell.. kind of like merging them into one cell in that column while keeping the two rows in the first column (hello world & hello world 2).

I can't disturb that first first column and related rows because the orginal dev guy will go crazy.  Is there a way to merge the two tds on the right into one?

In the image you can see 'special promotions' and then an empty space below, the space is the empty cell below it.  I want make both cells one big cell (td) without messing with the other rows/cells.

here is the table:

<table>
<tr>
<td>
hello world
</td>
<td>
special promotions
</td>
</tr>

<tr>
<td>
hello world 2
</td>
<td>
hello world 3
</td>
</tr>
</table>
 sample 2
0
Comment
Question by:HelpNearMe
2 Comments
 
LVL 16

Accepted Solution

by:
HagayMandel earned 2000 total points
ID: 34891761
Check this:
<table>
<tr>
<td>
hello world</td>
<td rowspan="2"> special promotions hello world 3 </td>
</tr>
<tr>
<td>
hello world 2</td>
</tr>
</table>

Open in new window

0
 

Author Comment

by:HelpNearMe
ID: 34891796
row span?  so obvious.. didn't occur to me thanx I'll try
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question