What is the html code to make horizontal boxes

Discussion in 'Directories' started by npraba, Oct 19, 2012.

  1. #1
    What is the html code to make horizontal boxes i need to make some boxes go from left to right but all i can find is on top of each other, you can see example here <a href="http://www.carinsurancequotesinformation.com&quot;>car insurance quotes</a> where the boxes are next to each other, and will this affect the page width on my site.
    Someone told me use DIV tags but how do i put this in HTML code?
     
    npraba, Oct 19, 2012 IP
  2. cumpsty

    cumpsty Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Apply float:left to the element. You can do this inline like so:
    <div style="float:left;"></div>
    You could also use CSS.
    You should probably go through a basic CSS tutorial to get a better idea of how to style
     
    cumpsty, Oct 20, 2012 IP
  3. JamesColin

    JamesColin Prominent Member

    Messages:
    7,874
    Likes Received:
    164
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #3
    Please nobody reply to this obvious spam try..
    The OP from Sri Lanka doesn't give a damn about your answer, the whole point was the crap link (which he failed)
     
    JamesColin, Oct 20, 2012 IP