Solved

Trying to right align some text in a table cell that also has a image

Posted on 2013-05-17
4
345 Views
Last Modified: 2013-05-18
http://roofgenius.com/test.asp
On the above page i have a download button that is centered in a table cell.
How can I right align a hyperlink on the same line as the centered download button.
the text to be right aligned is: "Downloading FAQ"
How can i do this?
0
Comment
Question by:isnoend2001
[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
4 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39176765
Just add a <br> tag after the button
0
 
LVL 2

Accepted Solution

by:
mensmaximus earned 500 total points
ID: 39176782
Try

<td style="text-align: center" colspan="3">
	<div style="width:auto;">
		<a href="http://roofgenius.com/DownLoadSetups/RoofCalcWriter10Setup.exe"><img width="119" height="25" border="0" alt="download button" src="http://roofgenius.com/images/DownloadHere.jpg"></img></a>
	</div>
	<div style="text-align:right; margin-top: -22px;">
		<a href="DownloadFaq.asp">Download FAQ</a>
	</div>
</td>

Open in new window

0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39176967
Best way...

Add this to the Download FAQ's span tag...

position: relative;
top: -5px;
left: 0;

Open in new window

0
 

Author Closing Comment

by:isnoend2001
ID: 39177278
Thanks
Adjusting this line worked
<div style="text-align:right; margin-top: -16px;">
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
align Linkedin sign to the right page 5 67
CSS: Making responsive table look nicer 7 38
CSS Flex space-between 2 22
Put check in your check box 7 17
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

726 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