Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

html table

Posted on 2011-02-14
2
274 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

839 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