Re: I have stuck here...

Discussion in 'HTML' started by dorayme, Jan 22, 2011.

  1. dorayme

    dorayme Guest

    In article <>,
    heretic <> wrote:

    > http://www.zbawienie.com/front.htm
    >
    > How can I adjust margins on top link www.zbawienie.com, so the pic would
    > not be pushed down!?
    >


    The pic does not push down in my browser.

    > It's there any way to make centered menu without a table?
    >


    One way practical way is to estimate the width of your text, if
    you know it beforehand, add a bit for margins and padding, all in
    ems, here is a sketch of the idea:

    ..menu {
    width: 27em;
    margin: auto;
    padding: 0;
    }

    li {
    float: left;
    margin: .1em;
    list-style: none;
    color: #fff;
    background-color: #006;
    padding: 0.3em
    }

    a:link {
    font-size: .9em;
    text-decoration: none;
    color: #fff;
    background-color: #006;
    }

    <ul class="menu">
    <li><a href="index.html"> Home</a></li><li><a
    href="http://www.proroctwa.com/">Proroctwa</a></li>
    <li><a
    href="http://www.youtube.com/thewordwatcher">YouTube</a></li>
    <li><a href="filmy.htm">Filmy</a></li>
    <li><a href="linkipl.htm">Linki</a></li>
    <li><a href="links.htm">Links [EN]</a></li>
    </ul>

    There are other ways too.

    --
    dorayme
     
    dorayme, Jan 22, 2011
    #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. Gus Richter

    Re: I have stuck here...

    Gus Richter, Jan 22, 2011, in forum: HTML
    Replies:
    0
    Views:
    401
    Gus Richter
    Jan 22, 2011
  2. Gus Richter

    Re: I have stuck here...

    Gus Richter, Jan 23, 2011, in forum: HTML
    Replies:
    4
    Views:
    443
    dorayme
    Jan 24, 2011
  3. FAQ server
    Replies:
    0
    Views:
    160
    FAQ server
    Aug 10, 2006
  4. FAQ server
    Replies:
    0
    Views:
    137
    FAQ server
    Oct 7, 2006
  5. FAQ server
    Replies:
    0
    Views:
    154
    FAQ server
    Dec 4, 2006
Loading...

Share This Page