Solved

HTML5 with divs and sectors etc

Posted on 2013-10-30
3
229 Views
Last Modified: 2013-11-04
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?
0
Comment
Question by:mdoland
3 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39611933
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

0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 39612069
The fact that you are using framesets and sourcing in cintent will mean re-structuring to generate everything as a single page.  That is generally best accomplished with page generation from the server side.

So, are the pages static markup, or do you have server side scripting/include capabilities to make things easier?

We will almost certainly need a link to get this done.

Cd&
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now