For my final project, I'm creating a website. I want to divide the page into two sections, i.e. on the left side I want a table and on the right side I want a couple of other stuff. After I type the HTML for the table on the left, I want to jump back up to the top and make the other section on the right. How can I do that?

(I'm sorry if this is vague, I'm not quite sure how to explain it)

1 Answer 1


use <div> elements to divide your page, add id/class attributes to them as necessary, use the float CSS property to float them, and use their width CSS property to specify their widths. see demo!

  • That's exactly what I wanted to do! Thank you :)
    – Student
    Dec 27, 2015 at 21:38
  • @Student you may accept the answer to mark the question as solved!
    – kzidane
    Dec 27, 2015 at 22:19
  • Oh sorry, I'm new to stack exchange, didn't remember to do that.
    – Student
    Dec 27, 2015 at 22:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .