Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Feb 2005
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to get images to stack right/text flow left...

    Hi everyone -

    Can you help me with this quick question?

    How do I get the images here to stack one on top of each other instead of the lower one coming round to the left of the upper one. I want the text to flow along the LHS of both images....

    http://www.diminishingfish.com/james3/housing.html
    http://www.diminishingfish.com/james3/layout1.css

    Here's the CSS that I have at the moment...don't know if it's how I should be doing it or not.....

    .floatright {
    float: right;
    width: 250;
    }

    div.floatright img {
    border: 1px solid #CCCCCC;
    padding: 5px;
    margin: 0px 0px 0px 10px;
    text-decoration: none;
    }

    div.floatright p {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 0.9em;
    line-height: 120%;
    width: 200px;
    text-align: center;
    }

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    .floatright {
    float: right;
    width: 250px;
    }
    You just need to add the unit of measure. Unless the value is 0, always specify whether it's px, em, etc.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #3
    New Coder
    Join Date
    Feb 2005
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey thanks. Dumb mistake. Too much screen time, not enough coffee.

    A.

  • #4
    New Coder
    Join Date
    Feb 2005
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi again.
    Something is still not clicking in brain for me with this.

    With this:

    .floatright {
    float: right;
    width: 200px;
    }

  • #5
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not sure I get you. What's the question?
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.


  •  

    Posting Permissions

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