By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,984 Members | 2,686 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,984 IT Pros & Developers. It's quick & easy.

How do I align a link?

P: n/a
I want to align "next" and "prev" links right and left. How do I do
this? Span or what?

Thanks. Soory to be so clueless

Sep 17 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Baron Samedi wrote:
I want to align "next" and "prev" links right and left.
Stop wanting that.
How do I do this? Span or what?
You would do it using the align="..." attribute or using CSS, but the
details would depend on the context, which you don't reveal at all (hint:
URL). And you should just stop wanting that.

Actually, there is seldom need for a "prev" link at all. Formal symmetry is
just confusing here. If you have (logically) a list of pages that might
typically be read in a particular sequence, "next" and "top" links are
sufficient. (Anyone who starts reading the pages in succession can use the
Back button to get back when needed. Anyone who just stumbles across a
particular page, e.g. via a search engine, will more probably want to see
the "top", i.e. the index or table of content, rather than the previous
page.)

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Sep 17 '06 #2

P: n/a
On 2006-09-17, Baron Samedi <Pa************@gmail.comwrote:
I want to align "next" and "prev" links right and left. How do I do
this? Span or what?
You can just float the links:

<a style="float: left" ... >prev</a>
<a style="float: right" ... >next</a>
Sep 17 '06 #3

P: n/a
Ben C wrote:
On 2006-09-17, Baron Samedi <Pa************@gmail.comwrote:
>I want to align "next" and "prev" links right and left. How do I do
this? Span or what?

You can just float the links:

<a style="float: left" ... >prev</a>
<a style="float: right" ... >next</a>
Floating is different from alignment. Casually they might produce the same
visual effect, but generally they don't. Did you even test what happens to
the content after the floated links?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Sep 17 '06 #4

P: n/a
On 2006-09-17, Jukka K. Korpela <jk******@cs.tut.fiwrote:
Ben C wrote:
>On 2006-09-17, Baron Samedi <Pa************@gmail.comwrote:
>>I want to align "next" and "prev" links right and left. How do I do
this? Span or what?

You can just float the links:

<a style="float: left" ... >prev</a>
<a style="float: right" ... >next</a>

Floating is different from alignment.
Of course, but for aligning "prev" and "next" links I would have thought
floats were probably more useful than text-align.

But I'm interested to see your solution.
Sep 17 '06 #5

P: n/a
Sun, 17 Sep 2006 14:26:30 +0300 from Jukka K. Korpela
<jk******@cs.tut.fi>:
Baron Samedi wrote:
I want to align "next" and "prev" links right and left.

Stop wanting that.
Forevermore, why? It seems a perfectly reasonable request. And it's
easy enough to do in CSS.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Sep 17 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.