SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Old Folks 127.0.0.1 pacres's Avatar
    Join Date
    Sep 2003
    Location
    ed.ab.ca.na.ea
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need some help with positioning text

    I have to make an element on a page that will have 3 different text elements and an image all contained inside a div. It should look similar to this layout

    _____________________
    | | Title of element |
    | | Description text |
    | | Description text |
    | Footer Text |
    -------------------------------------

    Hopefully that is helpful. block represents an image. If not I'll do a screenshot. I don't want to use tables for this either (It would be really easy)

    Advice anyone?

  2. #2
    SitePoint Addict xDev's Avatar
    Join Date
    Jul 2003
    Location
    Moncton, New Brunswick, Canada
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Something like this?

    Code:
    <div>
    <img src="http://www.sitepointforums.com/image.php?userid=33409&dateline=1064432534" 
    style="float: left;" />Title of element
    <p>Description text<br />Description text</p>
    <p style="clear: left;">footer text</p>
    </div>
    -xDev

  3. #3
    Old Folks 127.0.0.1 pacres's Avatar
    Join Date
    Sep 2003
    Location
    ed.ab.ca.na.ea
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    style="clear: left;

    that's what I was missing. Thanks xDev

  4. #4
    SitePoint Addict
    Join Date
    Sep 2003
    Location
    Europe
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your question reminded me of http://devedge.netscape.com/viewsour...fishcam-style/
    which may shed some light on this as well.

  5. #5
    Old Folks 127.0.0.1 pacres's Avatar
    Join Date
    Sep 2003
    Location
    ed.ab.ca.na.ea
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool that is alomst identical to what I needed.


Bookmarks

Posting Permissions

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