How are you supposed to layout a page in VS2010 without using tables?

Posted by CrustyApple on Stack Overflow See other posts from Stack Overflow or by CrustyApple
Published on 2010-12-31T05:25:23Z Indexed on 2010/12/31 9:53 UTC
Read the original article Hit count: 236

Filed under:
|
|
|
|

I have been using .NET since beta and HTML since the days of HotDog pro & notepad, using table layout of course. I am FINALLY ready to use only div, li, CSS for the layout, but my question is, what is the proper way to layout pages in VS2010?

When i use table layout its simple and i can visually see what im creating and where the elements are, such as the sample below - how should I do this using div's, etc in VS2010?

<table width="300" border="0" cellpadding="5">
  <tr>
    <td><img src="http://assets.devx.com/MS_Azure/azuremcau.jpg" alt="blah" width="70" height="70" /></td>
    <td><h2>This is some text to the right of the picture...</h2></td>
  </tr>
  <tr>
    <td colspan="2">Here some text underneath</td>
  </tr>
</table>

© Stack Overflow or respective owner

Related posts about html

Related posts about css