[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

HTML5 with divs and sectors etc

Posted on 2013-10-30
3
Medium Priority
?
251 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
2 Comments
 
LVL 54

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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
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 the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

873 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