SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Aligning in CSS

  1. #1
    SitePoint Enthusiast rmacca's Avatar
    Join Date
    Dec 2000
    Location
    Hamilton, New Zealand
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Aligning in CSS

    Hi ppl,

    How do you align things in css?
    Text-align only works for aligning text, I want to be able to align images text <div> and <span> tags.
    Can any1 help me?

    Thanks, Robert

  2. #2
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think what you want to do is float something, right? Float is essentially CSS's way of <IMG ALIGN="right"..., but it works on all elements. :-)

    Read up on the sources in this previous thread that discussed the float property.

    ~~Ian


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
  •