Re: CSS and links

Discussion in 'HTML' started by picayunish, Jun 24, 2003.

  1. picayunish

    picayunish Guest

    When Paul F. Johnson was making a web page, a :-? appears and wrote:
    >
    > Is there any way using a style sheet that you can get
    >
    > This is link 1 | This is link 2 |
    > This is the last of the links


    Try this.
    In the style sheet

    ul.nav {
    list-style: none;
    margin-left: 0em;}

    li.nav {
    float: left;
    border-right : 1px solid #000;
    padding-right: 1em;
    padding-left: 1em;}

    p {
    margin-top: 0em;
    clear: both;}

    in html
    <ul class="nav">
    <li class="nav"><a href="#">This is link 1</a></li>
    <li class="nav"><a href="#">This is link 2</a></li>
    </ul>
    <p>
    <a href="#">This is the last of the links</a>
    </p>
    --
    Edwin van der Vaart (Geen familie van....)
    http://www.semi-conductors.nl/ Links to Semiconductors sites
    (will expire at 01 Sept '03)
    http://www.semi-conductor.nl/ (under construction)
    http://members.chello.nl/e.vandervaart/ Experimental site
    http://host.deluxnetwork.com/~evdvaart/ Test site
    picayunish, Jun 24, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. George Durzi

    Re: grid links and css bug?

    George Durzi, Jan 20, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    788
    Eran Amitai
    Jan 20, 2004
  2. =?Utf-8?B?UGF1bA==?=

    CSS and HTML links

    =?Utf-8?B?UGF1bA==?=, Dec 28, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    363
    =?Utf-8?B?UGV0aWU=?=
    Mar 15, 2005
  3. Paul F. Johnson

    Re: CSS and links

    Paul F. Johnson, Jun 24, 2003, in forum: HTML
    Replies:
    1
    Views:
    825
  4. www.westerncartooncards.ca

    Exchange Links < Western Cartoon Cards > Exchange Links

    www.westerncartooncards.ca, Jul 12, 2004, in forum: HTML
    Replies:
    2
    Views:
    1,206
    Toby Inkster
    Jul 12, 2004
  5. Garrett Smith
    Replies:
    14
    Views:
    288
    David Mark
    May 26, 2009
Loading...

Share This Page