?
Solved

HTML row span

Posted on 2014-11-06
1
Medium Priority
?
120 Views
Last Modified: 2014-11-11
I have an html table. The last column needs to span a number of rows. I want the content (a form submit button) to be aligned in the middle vertically.

Let's say there are 7 columns.

In the first row do I specify the last column by this structure:

<tr>
     <td>Column 1</td>
     <td>Column 2</td>
                etc.
     <td rowspan="5" valign="middle">Col 7 content</td>
</tr>

And then ALL the other rows have only 6 columns?

Or does it matter which row I put the spanning column in?

Thanks
0
Comment
Question by:Richard Korts
[X]
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
1 Comment
 
LVL 2

Accepted Solution

by:
Amish Sanghrajka earned 2000 total points
ID: 40427525
Hi,

You needn't have asked the question, you've hit the nail on the head there. That code should work by putting the rowspan in the 7th column on the first row and then simply only putting in 6 columns for the rest of the rows.

Kind regards,
Amish.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

762 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