Results 1 to 7 of 7

Thread: (CSS) Turning text 90 degrees. **Resolved**

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (CSS) Turning text 90 degrees. **Resolved**

    I want to turn some text 90 degrees (like the right side of http://www.webfx.eae.net/ ). I think I have seen how to do it somewhere but cannot find it.
    Thanks
    Michael
    Last edited by msimmons; Oct 4th, 2002 at 02:35 PM.
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    This is a IE only thing, and I've never used it so I found the source and I think this is how to do it:

    Code:
    <p style="writing-mode:	tb-rl; filter:flipH() flipV()">
      This is some text
    </p>

  3. #3

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    you are correct on both counts. Sorry, I found the answer (he had his .css file tucked away but I got to it) but got cought up in something else so forgot to post that i did.
    Thanks
    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    That's OK. I can't really see the point of him trying to hide that CSS file anyway, it wasn't exactly hard to get it

  5. #5

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    and it's not like css is something to be hidden. I hide my javascript (so it will take my competitors a year or so to catch up) but even that is possible to sniff out.
    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  6. #6

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    OK problem.
    It isn't working for me. I'm using IE5.5 heres my code.
    Code:
    .90degrees		{filter:flipH() flipV();}
    Code:
    <span id="propertyinvoiceGuestName" name="propertyinvoiceGuestName" class="90degrees">Guest Name</span>
    <span id="propertyinvoiceArrivalDate" name="propertyinvoiceArrivalDate" class="90degrees">Arrival Date</span>
    <span id="propertyinvoiceDepartureDate" name="propertyinvoiceDepartureDate" class="90degrees">Departure Date</span>
    <span id="propertyinvoiceReservationNumber" name="propertyinvoiceReservationNumber" class="90degrees">Reservation Number</span>
    <span id="propertyinvoiceRevenue" name="propertyinvoiceRevenue" class="90degrees">Revenue (in hotel currency)</span>
    <span id="propertyinvoiceBookingfee" name="propertyinvoiceBookingfee" class="90degrees">Booking fee</span>
    <span id="propertyinvoiceExchangeRate" name="propertyinvoiceExchangeRate" class="90degrees">Exchange Rate</span>
    <span id="propertyinvoiceSystemFee" name="propertyinvoiceSystemFee" class="90degrees">System Fee</span>
    <span id="propertyinvoiceUSDAmount" name="propertyinvoiceUSDAmount" class="90degrees">USD Amount</span>
    <span id="propertyinvoiceMinReservationFee" name="propertyinvoiceMinReservationFee" class="90degrees">Min Reservation Fee</span>
    <span id="propertyinvoiceAdjustedAmount" name="propertyinvoiceAdjustedAmount" class="90degrees">Adjusted Amount (total)</span>
    thanks
    ms
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  7. #7

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    OK. check it

    this is what rotates it:
    writing-mode:tb-rl;

    but that turns it 90degrees clockwise so the last letter is pointing down... so then we use:
    filter:flipH() flipV();

    to point it upwards

    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width