Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am dealing with a web requirement so that i got to implement master page with common header and footer and also with common LHS and common RHS, but i know about providing common header and footer but how to achieve common LHS and RHS.........?any.....
Posted

The following html code is the sample is may help to you.

XML
<!DOCTYPE html>
<html>
<body>

<div id="container" style="width:500px">

<div id="header" style="background-color:#FFA500;">
<h1 style="margin-bottom:0;">Header</h1></div>

<div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;">
<b>Left Side </b><br>
</div>

<div id="content" style="background-color:#E23EEEE;height:200px;width:300px;float:left;">
MAIN CONTENT</div>
<div id="right" style="background-Color:#30F04A;height:200px;width:100px;float:right;">
Right Side
</div>

<div id="footer" style="background-color:#FFA500;clear:both;text-align:center;">
Footer</div>

</div>

</body>
</html>


Thanks & Regards
Anand. G
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900