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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:06:54+00:00 2026-05-25T01:06:54+00:00

How could I realize a button which is turned 90° to the right or

  • 0

How could I realize a button which is turned 90° to the right or to the left by default? I dont want to let him turn onClick, but he should be already turned when the page is loading?

Additionally how could I position this button in a vertical center rightsided to a grid?

Like this:
http://www.abload.de/img/unbenanntfk3b.png

Thanks,
zY

  • 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-05-25T01:06:55+00:00Added an answer on May 25, 2026 at 1:06 am

    DEMO FIDDLE

    enter image description here

    <div class="grid">
        <div class="block block_a">
            <div class="content"></div>
        </div>
        <div class="block block_a"></div>
        <div class="button"> button </div>   
    </div>
    

    var btn = $('.button');
    btn.css('transform','rotate(90deg)'); 
    

    a fix for IE would be replacing the div with an image or just set a separate css playing around with the button styles.


    As the OP asked ‘…Argh! please… make it work in IE!?…’ 😉 here is an example on how to do that:

    DEMO FOR IE 8,7,(and believe it or not) 6!

    Just add to the previous code – and modify for your needs the ‘px’ to best position the DIV

    if($.browser.msie && $.browser.version<="8.0"){
        btn.css({
            filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)',
            top:'100px',
            left: '184px'   
        });   
    }
    

    ONE ONLY THING… (sad but true)

    The IE DX filter only permits 4 stages of rotation (1,2,3,4) , so you won’t be able to rotate an element by a fancy degreed position like 37° or doing like : BasicImage(rotation=2.3).

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

Sidebar

Related Questions

I want to disable the default contextMenu when a user right-clicks on an input
Iam trying to realize a menu which is opened via a button. So far,
Could somebody please name a few. I could given time, but this is for
I realize you can script Microsoft Office apps, but I'm looking for something more
I realize there are other questions on SO regarding animations and progressbars, but they
I want to realize some mobile layout with two divs or buttons that fill
I realise there might be similar questions but I couldn't find one that was
Could someone recommend any good resources for creating Graphics User Interfaces, preferably in C/C++?
Could someone tell me what the units the SetTimeout(int) method in the ICriteria interface
Could somebody please do a rundown of how to programmatically encrypt a config-file in

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.