Monday, July 30, 2012

Web layout design



Web layout design

Designing of web lay out is done by a few methods.Basically we have to place the areas for headers, left side bar,right sidebar,mid content and footers.We could have ability of separating areas using HTML Frames,Tables and divisions.Here,I will be discussed with you most popular method,division using HTML and CSS.
We will move step by step to each division.

outer-wrapper:-The layer that contains all the content of web including headers and Footers.


 
The HTML code file contains division called outerwrapper into which i have link css file called wrap.css where styles are included to the division outerwrapper.

<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper"><h2>Outer Wrapper</h2>
</div>

</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}

innerwrapper:-The layer that could be contained all the content or could not be contained all of web.This example it could not contain right side bar.


 
<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="innerwrapper">
</div>

</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}

content:-This layer also covers the area of innerwrapper area in this example(you can expand according to your requirements).

<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="innerwrapper">
<div id="content">
</div>

</div>
</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}

 Head:-Place where headers of web contains.



<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="head">
</div>

<div id="innerwrapper">
<div id="content">
</div>
</div>
</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}
#head {
   height: 145px;
   width: 960px;
   background-color: #76cb7e;
 }

leftsidebar:-Place where left menu is placed



<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="head">
</div>
<div id="innerwrapper">
<div id="content">
 <div id="leftsidebar">
</div>

</div>
</div>
</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}
#head {
   height: 145px;
   width: 960px;
   background-color: #76cb7e;
 }
#leftsidebar {
   margin-right: 10px;
   width: 180px;
   height:550px;
   float: left;
background-color: #ed9b7b;
}
 contentmid:-where page content is included


<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="head">
</div>
<div id="innerwrapper">
<div id="content">
 <div id="leftsidebar">
</div>
<div id="contentmid">
</div>

</div>
</div>
</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}
#head {
   height: 145px;
   width: 960px;
   background-color: #76cb7e;
 }
#leftsidebar {
   margin-right: 10px;
   width: 180px;
   height:550px;
   float: left;
background-color: #ed9b7b;
}
#contentmid {
   float: right;
   margin-right: 10px;
   width: 550px;
  height:550px;
background-color: #f2e680;
border: 1px solid #31e;
}

 rightsidebar:-content of right side is included


<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="head">
</div>
<div id="innerwrapper">
<div id="content">
 <div id="leftsidebar">
</div>
<div id="contentmid">
</div>
 </div>
</div>
<div id="rightsidebar">
</div>

</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}
#head {
   height: 145px;
   width: 960px;
   background-color: #76cb7e;
 }
#leftsidebar {
   margin-right: 10px;
   width: 180px;
   height:550px;
   float: left;
background-color: #ed9b7b;
}
#contentmid {
   float: right;
   margin-right: 10px;
   width: 550px;
  height:550px;
background-color: #f2e680;
border: 1px solid #31e;
}
#rightsidebar {
   float: right;
   margin-right: 5px;
   width: 180px;
 height:550px;
background-color: #ed9b7b;
}

footer:-Where footer content is placed


<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="head">
</div>
<div id="innerwrapper">
<div id="content">
 <div id="leftsidebar">
</div>
<div id="contentmid">
</div>
 </div>
</div>
<div id="rightsidebar">
</div>
<div id="footer">
</div>

</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:725px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}
#head {
   height: 145px;
   width: 960px;
   background-color: #76cb7e;
 }
#leftsidebar {
   margin-right: 10px;
   width: 180px;
   height:550px;
   float: left;
background-color: #ed9b7b;
}
#contentmid {
   float: right;
   margin-right: 10px;
   width: 550px;
  height:550px;
background-color: #f2e680;
border: 1px solid #31e;
}
#rightsidebar {
   float: right;
   margin-right: 5px;
   width: 180px;
 height:550px;
background-color: #ed9b7b;
}
#footer {
   clear: both;
   width: 960px;
   color: #777;
   height: 25px;
   font-size: 0.8em;
   font-weight: bold;
   margin: 0px auto;
background-color: #130703;
}

navigation:-Where main menu items are placed


<html>
<head>
<title></title>
<link href="wrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outerwrapper">
<div id="head">
</div>
 <div id="navigation">
</div>

<div id="innerwrapper">
<div id="content">
 <div id="leftsidebar">
</div>
<div id="contentmid">
</div>
 </div>
</div>
<div id="rightsidebar">
</div>
<div id="footer">
</div>
</div>
</body>
</html>
@charset "utf-8";
* {
   margin: 0;
   padding: 0; }
body {
   color: #555555;
   font-family: 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
   font-size: 75%;
   }
#outerwrapper {
   width: 960px;
   background-color: #62a6e6;
   margin: 0 auto;
   line-height: 1.4em;
   color: #404040;
margin-top:50px;
border: 1px solid #31e;
height:780px;
}
#innerwrapper {
   float: left;
   margin-left:5px;
   width:760px;
  background-color: #f8eb58;
height:550px;
}
#content {
   float: left;
   width: 760px;
  height:550px;
background-color: #d8e8f6;
border: 1px solid #31e;
}
#head {
   height: 145px;
   width: 960px;
   background-color: #76cb7e;
 }
#leftsidebar {
   margin-right: 10px;
   width: 180px;
   height:550px;
   float: left;
background-color: #ed9b7b;
}
#contentmid {
   float: right;
   margin-right: 10px;
   width: 550px;
  height:550px;
background-color: #f2e680;
border: 1px solid #31e;
}
#rightsidebar {
   float: right;
   margin-right: 5px;
   width: 180px;
 height:550px;
background-color: #ed9b7b;
}
#footer {
   clear: both;
   width: 960px;
   color: #777;
   height: 25px;
   font-size: 0.8em;
   font-weight: bold;
   margin: 0px auto;
background-color: #130703;
}
#navigation {
   width: 960px;
   background-color: #f1caec;
   height: 31px;
   border-top: #023634 solid 1px;
   margin-bottom: 20px;}

34 comments:

  1. I am happy to find this post Very useful for me, as it contains lot of information

    Guest posting sites
    Education

    ReplyDelete
  2. The blog is well written and Thanks for your information. Java is one of the widely accepted language. The reason is it's features and it is platform independent.
    JAVA Training Coimbatore
    JAVA Coaching Centers in Coimbatore
    Best JAVA Training Institute in Coimbatore
    JAVA Certification Course in Coimbatore
    JAVA Training Institute in Coimbatore

    ReplyDelete
  3. Excellent.. Very Clear Explanation.. Much appreciated
    Regards,
    Machine learning Course

    ReplyDelete
  4. Best software Training Institutes in Chennai-Softlogic Institute ( SLA) .Softlogic training Center provides certification to bright IT aspirants through effective theoretical and practical coaching, online training, lab sessions and hands –on training in line with the requirements of the best Employers in the IT fraternity. Our superlative syllabus blends well with the real time exposure given to Students/ professionals; and this makes us the leading CCNA Training Institute in Chennai call now:8608700340
    Read more: https://www.postallads4free.com/training_education_services-ad645444.html



    I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.
    Data science Course Training in Chennai |Best Data Science Training Institute in Chennai
    RPA Course Training in Chennai |Best RPA Training Institute in Chennai
    AWS Course Training in Chennai |Best AWS Training Institute in Chennai
    Devops Course Training in Chennai |Best Devops Training Institute in Chennai
    Selenium Course Training in Chennai |Best Selenium Training Institute in Chennai
    Java Course Training in Chennai | Best Java Training Institute in Chennai


    ReplyDelete