Link to home
Start Free TrialLog in
Avatar of mdoland
mdoland

asked on

HTML5 with divs and sectors etc

I now have this:

      
<frameset rows="90, 150, *" frameborder="0" border="0" framespacing="0">
  			<frame name="topFrame" src="TopFrame.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
	<frameset cols="50, 250,*" frameborder="0" border="0" framespacing="0">
  			<frame name="space1" src="Space_1.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
  			<frame name="space3" src="Space_1.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
			<frame name="indicators" src="Tools_1.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
	</frameset>
	<frameset cols="50, 250,*" frameborder="0" border="0" framespacing="0">
		<frame name="space2" src="Space_1.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
		<frame name="menu" src="Menu_1.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
		<frame name="content" src="Content_1.html" marginheight="0" marginwidth="0" scrolling="no" noresize>
	</frameset>
	</frameset>

Open in new window


How ever, I want to have things positioned in about the same way, but with div and sectors etc, more html5:ish I guess. Could you help me get up the starting structure looking about like the html above?
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

It would help if we can see an image of what your page looks like or post a link to your page.

In short your mark up would look something like below if you want to use div's.  You would add some css for the left and right.
http://jsbin.com/ipatejA/1/edit?html,css,output
<div id="wrapper">
     <div id="header">
             This is my page title
     </div>
    <div id="main">
           <div id="left">I am divided in two by css mark up. This is my left.  You can use the css float:left and then ad margin-right to put some space between both sides</div>
          <div id="right">I am divided in two by css mark up. This is my right</div>
   </div>
  <div id="footer">I am the bottom</div>
</div>

Open in new window

#wrapper{width:600px;background-color:black;color:white;padding:50px;}

#main{background-color:orange;width:600px;height:200px;}
#left{float:left;margin-right:10px;width:250px;}
#right{float:left;margin-right:10px;width:250px;}
footer{width:600px;}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial