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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:23:53+00:00 2026-05-27T00:23:53+00:00

Currently i’s look at this question ( How to create a diagonal line within

  • 0

Currently i’s look at this question (How to create a diagonal line within a table cell?) and get a very good answer (http://jsfiddle.net/zw3Ve/23/) from Galled(https://stackoverflow.com/users/529689/galled).

But i got a problem is about:

how to modify the coordinate of the line. because the line i want display is from top-right to bottom-left. Hope someone can teach me.

Thanks a lot.

  • 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-27T00:23:54+00:00Added an answer on May 27, 2026 at 12:23 am

    The last jsfiddle given in the other answer uses css transform to rotate the lines. You specify the angle you’d like to rotate to.
    In the example, the angle value is negative:

    sDomTemp += '-webkit-transform: rotate(-'+nAnglSex+'deg);';
    sDomTemp += '-moz-transform: rotate(-'+nAnglSex+'deg);';
    sDomTemp += '-ms-transform: rotate(-'+nAnglSex+'deg);';
    sDomTemp += '-o-transform: rotate(-'+nAnglSex+'deg);';
    sDomTemp += 'transform: rotate(-'+nAnglSex+'deg);';
    

    Make the angle positive and it will rotate the other way (chnage rotate(-'+ by rotate('+):

    sDomTemp += 'transform: rotate('+nAnglSex+'deg);';
    // repeat for the other browser-specific properties
    

    For the IE-specific css property filter: progid:DXImageTransform.Microsoft.Matrix() it uses trigonometry and i don’t have IE to test so it’s out of my scope, sorry. Anyway, here the documentation.

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

Sidebar

Related Questions

Currently my query is very heavy, the table (table A) I need to update
Currently, my ListViews look like this: How can I achieve that Windows 7 native
Currently, on hover, the menu will cause the table cell to expand when the
Currently, I don't really have a good method of debugging JavaScript in Internet Explorer and
Currently, if I want to output a SQL script for a table in my
Currently I am debugging the signing of an Android app. And this would be
Currently I have a date in my clients data table and it is stored
Currently, I have a log file of messages in one table in a MySQL
Currently I have a web service, which loads up any plugins located within its
Currently I am doing it like this: CGRect frameRect = myUIImageView.frame; CGPoint rectPoint =

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.