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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:27:02+00:00 2026-05-17T01:27:02+00:00

The layout I’m trying to achieve is shown in this image: The HTML below

  • 0

The layout I’m trying to achieve is shown in this image:
alt text

The HTML below is one of many attempts which haven’t worked. The project this is for is targeting HTML5 in the latest browsers only, so there is no need for it to work in anything except the latest Chrome, Safari, Firefox and (with a following wind) IE9 beta.

<!DOCTYPE html>
<html>
<body>
    <div style="border: solid 1px red; width:600px; height: 600px">
        <span style="-webkit-transform:rotate(-

90deg);display:block;position:absolute;bottom:600px">My Vertical Text</span>
        <img src="http://www.gizmodo.com/assets/resources/2007/01/Bill-gates-mugshot.jpg"  

style="position:absolute;bottom:600px" />
    </div>
</body>
</html>
  • 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-17T01:27:02+00:00Added an answer on May 17, 2026 at 1:27 am

    I suppose you might want something like this: http://jsfiddle.net/aNscn/3/

    bottom: 600px is going to get you nowhere – that’s just going to put the elements 600px away from the bottom of the user’s screen. Instead, give the outer div a position: relative and let the two elements align to it’s bottom with a suitably low bottom value. Also check out the transform-origin property to get the positioning of the span correct after rotation.

    #outer {
        border: solid 1px red;
        width:600px;
        height: 600px;
        position: relative;
    }
    
    #text {
        -webkit-transform: rotate(-90deg);
        -webkit-transform-origin: left top;
        -moz-transform: rotate(-90deg);
        -moz-transform-origin: left top;
        -o-transform: rotate(-90deg);
        -o-transform-origin: left top;
        transform: rotate(-90deg);
        transform-origin: left top;
        position: absolute;
        bottom: 0;
        left: 5px;
    }
    
    #img {
        position:absolute;
        bottom: 15px;
        left: 30px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My layout contain one header in which i inculded in each Activity, in this
Linear layout below. This layout is aligned parent bottom in a Relative Layout. Problem
My layout as shown below looks very different depending on what screen size it
I've got this layout that i want to cut into html/css, but i'm struggling
Layout 0 shows how I can achieve this layout with a simplified view of
My layout looks like this: <LinearLayout> <RelativeLayout> Some Image and Text as Title </RelativeLayout>
layout.phtml: <?php echo $this->doctype() ?> <html> <head> <?php echo $this->headTitle().\n; ?> <?php echo $this->headLink()
In layout xml file, I set properties using @string like this: <com.hardpass.MyCustomComponent android:layout_width=fill_parent android:layout_height=wrap_content
My Layout structure is like this <LinearLayout> <scrollview> <RelativeLayout> <scrollview> ... ... </scrollview> </RelativeLayout>
This layout is a shelf with 3 books each row. I current come up

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.