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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:34:34+00:00 2026-06-12T15:34:34+00:00

Issue: Each li tag not coming one by one (fixed from top left). Instead

  • 0

Issue:

Each “li” tag not coming one by one (fixed from top left). Instead it flows from left to right…

My HTML is:

<div class="fixed-button">
    <ul>
        <li><a href="#" title="">Contact Us</a></li>
        <li><a href="#" title="">nh;kjfwae ilfmnsdkl;</a></li>
    </ul>
</div>

And CSS is:

div.fixed-button{
    position: absolute;
    display: block!important;
    width: 0;
    height: 0;
    z-index: 90000;
    margin: 0;
    outline: 0;
    top: 200px;
}
div.fixed-button a{
    background: url("images/fix-bug-repeat.png") repeat 0 0;
    margin-left: -33px;
    height: auto;
    padding: 10px 14px;
    font: bold 13px/16px arial, sans-serif;
    color: white;
    text-align: center;
    -moz-transform: scale(1) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -webkit-transform: scale(1) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -o-transform: scale(1) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -ms-transform: scale(1) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    transform: scale(1) rotate(90deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    white-space: nowrap;
    position: absolute;
    left: 0;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    border-bottom-width: 0;        
    margin-bottom: 20px;
    text-decoration: none;
}

I tried all the possible ways. But not working. Please fix this bug.

  • 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-12T15:34:35+00:00Added an answer on June 12, 2026 at 3:34 pm

    You are applying the transform on wrong element. Instead of applying it on each <a> tag apply it on the <ul> as a whole.

    Also to make the links appear side by side even for a horizontal case [read normal without transform] we use float: left; on the <li> tag.

    Here is the full code:

    <div class="fixed-button">
        <ul>
            <li><a href="#" title="">Contact Us</a></li>
            <li><a href="#" title="">Shubhanshu Mishra</a></li>
            <li><a href="#" title="">SmexyyWeby</a></li>
            <li><a href="#" title="">SmexyyWeby</a></li>
        </ul>
    </div>​
    

    I have just added the webkit transform you can add the transform for other elements in the same tag.

    Also your <a> tag was having property position:absolute; which should be removed to make the links appear properly.

    Here is the final CSS I have used:

    div.fixed-button{
     position: absolute;
     display: block!important;
     z-index: 90000;
     margin: 0;
     outline: 0;
     top: 200px;
    }
    
    .fixed-button ul{
        -webkit-transform: scale(1) rotate(90deg) translate(0px, 0px);
        margin-left: 50px;
        -webkit-transform-origin: 0% 0 0;
    }
    
    div.fixed-button a {
        background-color: black;
        height: auto;
        padding: 10px 14px;
        font: bold 13px/16px arial, sans-serif;
        color: white;
        text-align: center;
        white-space: nowrap;
        text-decoration: none;
    }
    
    li{
        float: left;
    }​
    

    The 120px in -webkit-transform: translate(0px, 120px) should be set according to your needs in your css as it is changes for different layout and translates the list horizontally.

    UPDATE: I have updated the code by using -webkit-transform-origin attribute which will allow you to set the origin about which to rotate your element and also setting a margin-left for proper placement. It works effectively for as many number of <li> elements as you want. You can check the new code at the link below.

    Do check the working code at: http://jsfiddle.net/shubhanshumishra/qhS6r/

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

Sidebar

Related Questions

Jquery Each Json Values Issue This question is similar to above, but not the
Here's my issue: I have a very simple html website teaser right now with
I am having an issue with Jquery Mobile and Jquery Jplayer conflicting with each
Im having an issue over loading the constructors in Scala. Each time I try
How can I insert a horizontal line above each subtotal in SSRS-2008? The issue
I have made a simple test application for the issue, two winforms each containing
I'm having quite the brainbuster of an issue right now. I am trying to
I would like to create a UIView has multiple UITextFields validates each one as
I'm developing a last.fm widget, and one of the requisites is, for each track
I have a div classed content. Inside the div , is a h1 tag.

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.