General discussion

  • Creator
    Topic
  • #4259473

    HTML Navigation Menu Alignment Issue

    by IqraTechnology ·

    I’m working on a navigation menu for my HTML page, but it’s not behaving as expected. The links aren’t aligning properly, and the styling seems a bit wonky. I’ve included the code below. Can anyone help me figure out what’s causing this navigation headache?

    This my Code

    <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”UTF-8″>
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
    <title>Navigation Woes</title>
    <link rel=”stylesheet” href=”styles.css”>
    </head>
    <body>

    <nav>

    </nav>

    </body>
    </html>

    The aim is to have a simple navigation menu, but it’s not looking quite right. The links aren’t aligning properly, and the styling feels off.

You are posting a reply to: HTML Navigation Menu Alignment Issue

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Comments

  • Author
    Replies
    • #4259529
      Avatar photo

      Reply To: HTML Navigation Menu Alignment Issue

      by kees_b ·

      In reply to HTML Navigation Menu Alignment Issue

      Impossible to answer without looking the contents of styles.css being avalailable.

      But it seems clear you need to apply some styling or change the current styling for the li-tags. It looks fine in your post (which, of course, doesn’t use your styling, just default or its own.

      • This reply was modified 3 weeks, 6 days ago by Avatar photokees_b.
Viewing 0 reply threads