?
Solved

vertical-align of cell

Posted on 2011-03-10
2
Medium Priority
?
389 Views
Last Modified: 2012-05-11

For some reason, a <td> has lost its property of vertical-align of bottom when an adjacent <td> contains a <div> that holds a UL with li consisting of <a href> acting as pagination.

What could cause this. The <td> in question is perfect until I call the condition is met to display the pagination and and boom the button in the cell moves up inside the cell.

It could be that the height of the pagination section is higher and creates the illusion when it is not there that the cell is actually aligned at the bottom, but that is not the case. So

How can I ensure my cell button is vertical-align at the bottom. Other buttons in adjacent cells are bottom.

See screen scrape:
 image
0
Comment
Question by:gbeaulac
[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
2 Comments
 
LVL 17

Expert Comment

by:selvol
ID: 35099983
I hate to be the one to say this instead of an answer.


Please include soem sort of code we can work with......

The more you info (code) you can let us see.
The faster and better can help.

Please include any CSS, html or other.

Selvol
0
 
LVL 20

Accepted Solution

by:
Mark Brady earned 2000 total points
ID: 35100183
I don't see any button in your image but heres some info for you. If your button is inside a form, (<form></form> it may decide to vertical align itself different to everything else. The default alignment for a form is not "inline" it is "block" but you can change the buttons alignment by adding

style='display:inline'

to but buttons code. Also, you can style that particular table cell by adding a line-height property to it's code. Like this:

<td style='line-height:20px'> Now fool around with that line height and any data in the cell will move up and down. Change the number until you get what you want.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
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…
Suggested Courses

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