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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:17:34+00:00 2026-06-09T05:17:34+00:00

I have a site layout I’m working on that has a main content area

  • 0

I have a site layout I’m working on that has a main content area and then
at each of the four corners of the content area sits a corner graphic. The
overall effect is that of a desk blotter.

Here is the code for my top left hand corner:

.corner-top-left    { width:96px ;
height:96px ;
background:url("images/corner.png") no-repeat ;
position:absolute ;
top:-5px ;
left:-5px ;
z-index:3000 ;
}

Rather than make four individual corner images, what I would like to do
(if possible) is use the original image (corner.png) and rotate it using
CSS.

Is there a cross browser compatible way to do this?

Many thanks!

  • 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-09T05:17:35+00:00Added an answer on June 9, 2026 at 5:17 am

    http://jsfiddle.net/tJkgP/2/

    CSS to rotate by 45 degrees:

    .desk
    {
        width: 50%;
        height: 400px;
        margin: 5em auto;
        border: solid 1px #000;
        overflow: visible;
    }
    .desk img
    {
        behavior:url(-ms-transform.htc);
        /* Firefox */
        -moz-transform:rotate(45deg);
        /* Safari and Chrome */
        -webkit-transform:rotate(45deg);
        /* Opera */
        -o-transform:rotate(45deg);
        /* IE9 */
        -ms-transform:rotate(45deg);
        /* IE6,IE7 */
        filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476);
        /* IE8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; 
    
    }
    

    IE6-8 CSS came from here: CSS rotate property in IE

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

Sidebar

Related Questions

I have a two column site layout that has the content of the left
I have a site with multiple pages, and each page has a table that
I have a site that has a CSS layout and shouldn't have a scrollbar
I want to have a site, which contains of a vertical layout, that has
Lets say I have a site that has a Layout with navigation. This navigation
i have a yii site that contains main layout. in this main layout file
I have a site layout that uses floats to achieve the desired columns/rows. On
I have the following site layout. Main page is being loaded using url rewriting
I have a site that has different features and functionality based on the location
I have a site layout that relies on alot of positioning on top of

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.