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 9236453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:17:47+00:00 2026-06-18T07:17:47+00:00

I have a design where the main navigation is rotated 90 degrees and the

  • 0

I have a design where the main navigation is rotated 90 degrees and the sub-menu’s normal horizontally aligned.

 <div id="nav">
                    <ul>
                    <li><a href="#">Woonaccessoires</a></li>
                    <li><a href="#">Lampenkappen</a></li>   
                    <li><a href="#">Sieraden</a></li>
                    <li><a href="#">Geuren</a></li>
                    <li><a href="#">Tassen</a></li>
                    <li><a href="#">Aanbiedingen</a></li>
                    <li><a href="#">Bedrijven</a></li>
                    <li><a href="#">Contact</a></li>                
                </ul>
                </div>  

css part is:

    #nav {
    width: 60%;
    float: left;
    margin: 0 0 3em 0;
    padding: 0;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc; 
    border-top: 1px solid #ccc; 
}
#nav li {
    float: left;
    list-style-type:none; 
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3)
 }
 #nav li a {
    display: block;
    padding: 8px 2px;
    text-decoration: none;
    font-weight: bold;
    color: #069;
 }
 #nav li a:hover {
    color: #c00;
    background-color: #fff; }

What you see now is that not all spaces between the li tag is NOT equal.
How to fix this? I tried with margins and paddings.

Do I have to make seperate classes for each li tag ?

Hope someone can help.

regards,

Roland

  • 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-18T07:17:48+00:00Added an answer on June 18, 2026 at 7:17 am

    HTML (got rid of list because it was useless)

    <div id="nav">
    <a href="#">Woonaccessoires</a>
    <a href="#">Lampenkappen</a>
    <a href="#">Sieraden</a>
    <a href="#">Geuren</a>
    <a href="#">Tassen</a>
    <a href="#">Aanbiedingen</a>
    <a href="#">Bedrijven</a>
    <a href="#">Contact</a>
    </div>
    

    CSS:

    #nav {
        float:left;
        background-color: #f2f2f2;
        border-bottom: 1px solid #ccc;
        border-top: 1px solid #ccc;
        line-height:0;
        width:100%;
    }
    
    #nav a {
        /* Safari */
        -webkit-transform: rotate(-90deg);
        /* Firefox */
        -moz-transform: rotate(-90deg);
        /* IE */
        -ms-transform: rotate(-90deg);
        /* Opera */
        -o-transform: rotate(-90deg);
        /* Internet Explorer */
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3)
        float: left;
        width:5px;
        margin-top:120px;
        padding: 10px 10px;
        text-decoration: none;
        font-weight: bold;
        color: #069;
    }
    
    #nav a:hover {
        color: #c00;
        background-color: #fff;
    }
    

    If you would like to change how it looks try adjusting the width and margin values of #nav a

    Example: http://jsfiddle.net/howderek/WD9PL/embedded/result/

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

Sidebar

Related Questions

I have a design of activities like this I have one main activity and
I have a question regarding the design of two tables. Table 1: The main
I am new to programming, and have developed the main design features of my
I am trying to design a navigation menu that is centered that sits within
I have a UserControl which I want to have 3 possible states: -Main menu
I have a navigation bar, and underneath a black div on which the drop-down
I am trying to develop/design a main menu/site map for our website. The brief
On my show page from a scaffold I have the following design: <div id=show_location_main_area
I have to design a GUI using Qt. I would like to draw multiple
I have a design problem: I have two threads, a heartbeat/control thread and a

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.