SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: css help please

  1. #1
    SitePoint Guru coiL's Avatar
    Join Date
    Sep 2001
    Location
    QLD, Australia
    Posts
    666
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy css help please

    hi,
    am I missing something or can you only have text align properties in a <div class=""> tag? When I try to do it with span the text align doesn't work. The thing is I don't want the line break that the div forces
    coiL
    "cradled in the learning curve"

  2. #2
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    try this:

    span.right {text-align:right;}

    and then <span class="right"></span>

    does that help?

    I am trying to figure out what you are trying to do coudl you posisbly post more code as I can't work out why you want text aligned midway through a paragraph - or am I totally in the wrong ball park

    Also this I think will only work with text, if you are trying to align tables or images then I think you would have to do it differently....

    does that help?

    Sarah
    Regular user


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
  •