Solved

HTML5 with divs and sectors etc

Posted on 2013-10-30
3
238 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

860 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