How to align 2 DIVS ...

Discussion in 'CSS' started by redhits, May 14, 2008.

  1. #1
    If i am having

    <div>A</div>
    <div>B</div>


    then the ouput will look like ============> A
    B



    Well i don't want the items to be align one after the other, i want them to be align like A B

    how i can do that ?
     
    redhits, May 14, 2008 IP
  2. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Float A to the left.
     
    Dondon2d, May 14, 2008 IP
    redhits likes this.
  3. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #3
    k , thanks , repp given
     
    redhits, May 14, 2008 IP