SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using CSS for a right justified breakout box

    I want use a CSS tag to highlight a key quote in a news story but have it be right justified and get the rest of the text to wrap around it.

    At present I can only seem to get the quotes "in line" - i.e. I can't figure out how to get text to wrap around a DIV element.
    http://www.trainingzone.co.uk/item/86856

    I can obviously get the effect I'm looking for with a TABLE but is such a thing possible with CSS? Anyone got any ideas.
    Thanks.
    ANDREW

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try <div style="float:right">Your text</div>


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
  •