FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-21-2010, 02:41 PM   Postid: 177459
dansbanners
Registered User

Forum Notability:
40 pts: User-friendly
[Post Feedback]
 
Join Date: Oct 2007
Posts: 309
previous/next arrows horizontally aligned to the the texts

Hi,

How do you perhaps supposedly make the previous / next arrow graphics somewhat 180 degrees, horizontally aligned next to the previous / next texts? Kinda like the following effects:

<= Previous or Next =>

I currently have it written as the following whereas the arrow graphic isn't quite horizontally aligned next to the text:

Quote:
<a href="">
<img align="bottom" src="previous.gif" alt="previous arrow" width="12" height="16" /></a>
<a href="">Previous Entries</a>
In the meantime, the following old source code of mine does the trick. But tables are kinda considered "outdated" at this point:

Quote:
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><a href=""><img src="previous.gif" border="0" width="12" height="16" align="middle" alt="Previous"></a></td>
<td>&nbsp;<a href="">Previous Speaker</a></td>
<td width="29"></td>
<td align="right"><a href="">Next Speaker</a>&nbsp;</td>
<td><a href=""><img src="next.gif" border="0" width="12" height="16" align="middle" alt="Next"></a></td>
</tr>
</table>
Thanks!
__________________
Daniel "Dansbanners"
dansbanners is offline   Reply With Quote
Old 02-21-2010, 05:50 PM   Postid: 177460
hobbes
Have you hugged a tiger today?
 
hobbes's Avatar

Forum Notability:
1238 pts: A True Crowd-pleaser!
[Post Feedback]
 
Join Date: Mar 2000
Location: Third Sol Planet Posts: Far too many. Oh ok -
Posts: 2,705
Re: previous/next arrows horizontally aligned to the the texts

Tables still serve their function. And although browsers have come a long ways, vertical alignment is still easiest & best handled by tables (especially cross-browser), unless you have a completely fixed design.
hobbes is offline   Reply With Quote
Old 02-21-2010, 07:34 PM   Postid: 177461
dansbanners
Registered User

Forum Notability:
40 pts: User-friendly
[Post Feedback]
 
Join Date: Oct 2007
Posts: 309
Re: previous/next arrows horizontally aligned to the the texts

Quote:
Originally Posted by hobbes View Post
Tables still serve their function. And although browsers have come a long ways, vertical alignment is still easiest & best handled by tables (especially cross-browser), unless you have a completely fixed design.
Ok, but vertical alignment? Are you sure it shouldn't be horizontal alignment as in "horizontal rule"?
__________________
Daniel "Dansbanners"
dansbanners is offline   Reply With Quote
Old 02-22-2010, 06:37 AM   Postid: 177463
hobbes
Have you hugged a tiger today?
 
hobbes's Avatar

Forum Notability:
1238 pts: A True Crowd-pleaser!
[Post Feedback]
 
Join Date: Mar 2000
Location: Third Sol Planet Posts: Far too many. Oh ok -
Posts: 2,705
Re: previous/next arrows horizontally aligned to the the texts

The term vertical alignment is from a td element's valign property.
hobbes is offline   Reply With Quote
Old 02-24-2010, 03:52 PM   Postid: 177507
dansbanners
Registered User

Forum Notability:
40 pts: User-friendly
[Post Feedback]
 
Join Date: Oct 2007
Posts: 309
Re: previous/next arrows horizontally aligned to the the texts

Ok, I thought I'd post the codes I settled on to perhaps help some members out there reading this thread:

Quote:
.alignleft {
float: left
}

.alignright {
float: right;
}

HTML Code:
<div class="alignleft">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td><a href=""><img align="middle" src="previous.gif" 
        alt="previous arrow" width="21" height="21" /></a></td>
      <td>&nbsp;<a href=""> Previous Entries</a></td>
    </tr>
  </table>
</div>
<div class="alignright">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr>
     <td><a href="">Next Entries</a>&nbsp;</td>
     <td><a href=""><img align="middle" src="next.gif" 
       alt="next arrow" width="21" height="21" /></a>
     </td>
   </tr>
 </table>
</div> 
__________________
Daniel "Dansbanners"
dansbanners is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:08 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.