Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Text not aligning when in cell with image

Posted on 2003-11-14
3
Medium Priority
?
209 Views
Last Modified: 2010-04-09
I have an image and text in the same cell of a table. Both the image and the text change when either are hovered over and they have the same action when clicked on, so separating them into different cells is not really an option as they must be in the same <a> tag.

Now to the point, the image fits fine in the cell, but the text will not vertically align to the middle! I have tried aligning the <td> tag, the style in the css everthing I can think of, but the text is still at the bottom of the cell. What can I do?

Thanks,
H

www.d6online.co.uk
0
Comment
Question by:wjdashwood
[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
3 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 1400 total points
ID: 9747483
Change your image tag to:

<img src="myimage.gif" align="absmiddle">
0
 

Author Comment

by:wjdashwood
ID: 9747548
fantastic! I have been trying to solve that one for ages! :>
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9747595
You're welcome!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

662 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