html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
Program 2
Program 2
<BODY bgcolor=”colorname”>
For example: <BODY bgcolor=”green”> or <BODY bgcolor=”blue”>
HTML provides various styles and attributes to make changes to the documents as
per the user’s needs. Following is an HTML code that shows the use
of bgcolor attribute:
<html >
<head>
<title>Document</title>
</head>
<body bgcolor="lightgreen" >
<h1>Hello reader my name is sachin Welcome to GeekforGeeks</h1>
</body>
</html>