Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8133383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:35:15+00:00 2026-06-06T09:35:15+00:00

i have the following problem: i would like to create a footer. that footer

  • 0

i have the following problem:

i would like to create a footer. that footer should look like:

text headline           link 1    |    link 2    |    link 3  

my thoughts were to use a div as container. in html i still dont know what to use. would it be better to realize that by using dl or ul?

so i did it by dl with the following html:

<div id="footer">
      <dl>
        <dt>text headline</dt>
        <dd>link 1</dd>
        <dd>link 2</dd>
        <dd>link 3</dd>
      </dl>
  </div>

for css:

#footer {
    height: 200px;
    font-size: 14px;
    width: 1200px;
}
#footer dl {
    text-align: center;
    display: inline-block;
}
#footer dl dd {
    list-style-type: none;
    float: left;
    width: 100px;
    position: relative;
}

the problem is that i dont know how to add the hyphens. another problem is that the headline is positioned ahead the links. here is the example:

http://jsfiddle.net/fFddz/2/

so if there is someone who could help me out, i really would appreciate. thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T09:35:16+00:00Added an answer on June 6, 2026 at 9:35 am

    If you really want the hyphens. This is the best I can do.
    http://jsfiddle.net/fFddz/9/

    If you could live without I would write the following.

    HTML

    <div id="footer">
    <ul>
        <li><a>...</a></li>
        <li><a>...</a></li>
        <li><a>...</a></li>
        ....
    </ul>
    </div>
    

    CSS

    #footer div{
          /**what you already have***/
    }
    
    /**Makes the items appear in a line. But you can't define the width of an inline element.**/
    #footer li{
        display:inline;
        float:left;
    }
    
    #footer a{
        display:block; /**Allows you to define a width.*//
        text-align:center;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hello i have the following problem: i would like to create a filter for
Ok, I have the following problem: I would like to scroll an overflowing ListBox
I have the following problem: I would like to change value of ExpandableListView's cell
I would like to have some suggestions for the following problem: Let's say you
On my web site I would like to have several sub-domains. Files that create
Summary of problem: I would like to create a master page, and from that
I would like to create a interface that I can use with different types.
I have problem with the tar linux program. I would like to create a
I have the following code that I use to resize some images on my
I have the following problem: Our system has products that when released only are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.