How to align two boxes in a line?

How do i get two headings on same line with one align left and other align right?

  • like this H1 blankkkkkkkkkkkkkk spaceeeeeeeeeeeeeeeeeeeee H2

  • Answer:

    Create a table with one row and two cells, put H1 in the left hand cell justified to the left and H2 in the right hand cell justified to the right. and then remove the border of table too

heather at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

<table> <tr> <td align="left"><h1>Heading One</h1></td> <td align="right"><h2>Heading Two</h2></td> </tr> </table> There is no way to do that without tables or divs.

Create a table with one row and two cells, put H1 in the left hand cell justified to the left and H2 in the right hand cell justified to the right.

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.