Wednesday, 20 September 2017

WEB PAGE LAYOUT USING HTML & CSS (css-code)




Css Code:

@charset "utf-8";
/* CSS Document */
body
{ margin:0 auto;
  padding:0px;
  background-color:#9CF;
}
#wrapper
{
margin:0 auto;
width:80%;
height:1000px;
background-color:#906;

}
header
{
width:100%;
height:200px;
background-color:#0F0;

}
nav
{
width:100%;
height:50px;
background-color:#FC9;

}
nav ul
{ margin:0;
list-style-type:none;
}
nav ul li
{
float:left;
margin-top:10px;


}
nav ul li a
{ text-decoration:none;
font-size:26px;
padding:10px;
color:#FFF;
}
a:hover
{
color:#00C;
background-color:#FFF;

}
#content
{
width:100%;
height:600px;
background-color:#099;
}
#foot
{
width:100%;
height:200px;
background-color:#333;

}

No comments:

Post a Comment

Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC

Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...