css text problem

Discussion in 'CSS' started by Melody, Oct 7, 2011.

  1. #1
    Hello,
    I am trying to take the text next to the forms, but unfortunately no matter what I tried it is not working. The site is shout and if you see in index the form is aligned to the right, I want the text to float close to the forms. You will see a big gap in between and can't figure out how to fix it.
    Any help would be great.

    Thanks in advance
     
    Melody, Oct 7, 2011 IP
  2. intz

    intz Greenhorn

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Hey

    Did you get it right? For me, the gap between the text and forms are normal.
     
    intz, Oct 8, 2011 IP
  3. Sensei.Design

    Sensei.Design Prominent Member

    Messages:
    3,847
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    310
    Digital Goods:
    1
    #3
    Change the float: right; of the form to a float: left; and add an aditional margin-left: 20px; or something like that to make it look proper ;) this way it will also work on wide screens
     
    Sensei.Design, Oct 8, 2011 IP
  4. flithost

    flithost Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hi...............Did you get it right? For me, the gap between the text and forms are normal.
     
    flithost, Oct 17, 2011 IP
  5. Profitable Websites

    Profitable Websites Greenhorn

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    at the top of your css file add:
    
    FORM {margin: 0px;  }
    
    Code (markup):
    Then adjust the amount of margin above to suite you.
     
    Profitable Websites, Oct 17, 2011 IP