Solved

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

Posted on 2013-05-17
4
349 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 53

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

Independent Software Vendors: 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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

688 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