Click to See Complete Forum and Search --> : links


SniperX
04-07-2003, 07:12 AM
Hi, does anyone know how i could stagger links - sorta in this format:

link1
link2
link3
link4



:confused: All help will be appreciated

learninghtml
05-02-2003, 12:45 PM
You could use a table. If you have four links then create a table with 4 rows and 4 columns. Then place a link in each row but place it the next column along in each row. Then set the border width to '0' so the table is invisible to the user.

I dare say that someone out there knows a better, more elegant way, but it should work.

Good luck...

DaveSW
05-02-2003, 12:50 PM
What do you mean??

link1<br>
Link2<br>
etc?

Non-breaking spaces ( & n b s p ; (without the spaces - I couldn't get it to display any other way!!))

to indent them?? if that's what you mean?

or something more complex, as seems more likely...

dave

pyro
05-02-2003, 01:06 PM
Originally posted by DaveSW
without the spaces - I couldn't get it to display any other wayTo display an ampersand, you type &ampamp, like so: &ampampnbsp (&ampnbsp)

:D

khalidali63
05-02-2003, 01:20 PM
Originally posted by DaveSW

..............................
link1<br>
Link2<br>
..............................
dave

Just a tiny addition..Its adviseable to practice the standard compiant coding..br should have an ending tag..or it should follow XML standard for empty tag.

<br/>

above is the correct format...
:p

Ben
05-02-2003, 01:38 PM
In fact, shouldn't it be

Link 1<br />
...

Notice the space between the "<br" and "/>" for a XHTML empty tag?! :p

nkaisare
05-02-2003, 01:40 PM
Originally posted by khalidali63
Just a tiny addition..
An even tinier addition:
Seperator between links should be something more than a space, non-breaking space (&nbsp;) or a line break (<br />).

It may be
<p>Link 1</p><p>Link 2</p><p>Link 3</p>
Better:
<ul class="links">
<li>Link 1</li>
<li>Link 2</li>
</ul>

Read more about latter method at:
http://www.alistapart.com/stories/taminglists/

If you are begining to learn HTML, why not learn the *current* method of using HTML for markup and CSS for presentation? IMHO, amount of time required to learn and implement CSS layout is only slightly more than table-based layout.