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

  • SEARCH
  • Home
  • 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 8970871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:48:51+00:00 2026-06-15T17:48:51+00:00

still very new to HTML and such so apologies if this is a very

  • 0

still very new to HTML and such so apologies if this is a very simple issue…

I have a problem in formatting, I’ve tried centring the navigation elements of my document but they don’t seem to do so properly.

Here’s an image of the issue in the browser – https://i.stack.imgur.com/Y3mqp.png

Here’s my HTML. (with some cake ipsum in there to boot)

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>About Me Example Page:</title>
    <link href="../css/aboutcss.css" type="text/css" rel="stylesheet" />        
</head>

    <body>

        <div id="wrapper">  

            <h1><img src="../images/about/aboutlogo.png" alt="About Me" style="height:100px;"></h1>

            <nav>   

                <ul>
                <hr align="center"/>
                    <li><a href="../index.html">Home</a></li>
                    <li><a href="../portfolio/index.html">Portfolio</a></li>
                    <li><a href="../contact/index.html">Contact</a></li>
                    <li><a href="../blog/index.html">Blog</a></li>
                <hr />
                </ul>

            </nav>  

            <img src="../images/about/aboutmephoto.jpg" id="me">

            <p>Hello there!</p>

            <p>Liquorice powder liquorice dragée macaroon. Dessert oat cake pastry cheesecake wypas brownie icing. Marzipan sweet dragée icing candy wafer tart macaroon pie. Halvah liquorice pie carrot cake pie. </p>

            <p>Liquorice powder liquorice dragée macaroon. Dessert oat cake pastry cheesecake wypas brownie icing. Marzipan sweet dragée icing candy wafer tart macaroon pie. Halvah liquorice pie carrot cake pie. </p>

                <hr align="center" width="50%" />

            <p>Liquorice powder liquorice dragée macaroon. Dessert oat cake pastry cheesecake wypas brownie icing. Marzipan sweet dragée icing candy wafer tart macaroon pie. Halvah liquorice pie carrot cake pie. </p>

            <p>Liquorice powder liquorice dragée macaroon. Dessert oat cake pastry cheesecake wypas brownie icing. Marzipan sweet dragée icing candy wafer tart macaroon pie. Halvah liquorice pie carrot cake pie. </p>        

            <footer>
            &copy; Me 2012 
            </footer>

        </div>

        </body>
</html>

And the CSS for the same page:

    body {
background-color: #3D3D3D;
    }

    p, a, footer {
font-family: 'Open Sans', Sans Serif;
    }

    h1 * {
height: 125px;
display: block;
margin: 0 auto; 
}

    p {
color:#E2E2E2;  
font-size: 13px;
margin-left: auto;
margin-right: auto;
padding-left: 10px;
padding-right: 10px;
}

    footer {
font-size: 9px;
padding-bottom: 8px;
text-align: center; 
color:#E2E2E2;  
}

    nav {
text-align:center;  
}

    nav li {
display: inline;
    }

    nav a {
display: inline-block;  
text-decoration: none;
color: #E2E2E2;
font-size: 17px;
font-variant: small-caps;
font-weight: bold;
padding:0;
margin-left: 3em;
margin-right: 3em;
}   

    a:visited {
color:#E2E2E2;  
}

    #wrapper {
max-width: 1200px;
width: 90%;
background-color: #1A1A1A;  
margin-left: auto;
margin-right: auto; 
border-style: solid;
border-width: 2px;
border-color: black;
    }

    #me {
margin: 25px;
border-style: solid;
border-width: 5px;
border-color: #656565;
height:300px;   
float:right;
}

Thanks in advance for the help!

  • 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-15T17:48:52+00:00Added an answer on June 15, 2026 at 5:48 pm

    Remove: hr of ul.

    And put:

    nav ul {
        border-width: 2px 0px 2px 0px ;
        border-style: solid ;
        border-color: #FFFFFF;
        padding: 5px 0px 5px 0px;
    }
    

    Regards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm still very new to codeigniter. The issue i'm having is that the file
This will sound very noob, but I'm new to HTML/javascript/php, and so far I've
I know this is an extremely basic question but I'm very new to (non-HTML)
Very new to web programming still and I don't really have a specific question
Very new to PHP5 and have some problems still. I figured out how to
I'm still very new at programming, and our local SSIS genius isn't here today
I'm still very new to Android, but I am trying to keep up by
I am still very new to the MVC framework, but I managed to create
I am very new to ExtJS and still going through the Docs in Sencha
This is a follow-up to my previous question . I still find it very

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.