Answer Posted / sekar
CSS stand for Cascading style sheet.
it used to applying style for both HTML and XML document.
there are three way applying style
1.internal style.
2.external style.
3.inline style.
here is the example for use css
<html>
<head>
<title>sample</title>
<style type="text/css">
.top-left
{
float:left;
width:400px;
height:100px;
background-color:#000;
}
.top-right
{
float:left;
width:378px;
height:100px;
background-color:#000;
}
.body
{
float:left;
width:778px;
height:400px;
}
.bottom
{
float:left;
width:778px;
height:30px;
background-color:#000;
}
</style>
</head>
<body>
<div class="top_left">
</div>
<div class="top_right">
</div>
<div class="body">
</div>
<div class="bottom">
</div>
</body>
</html>
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Does php require a web server?
How can we execute a php script using command line?
Explain what is meant by pear in php?
What is needed to be able to use image function?
Is it difficult to learn php?
How to get the number of characters in a string?
What is a php tag?
What is putenv?
What is the difference between pop3 IMAP and MAPI?
What are traits?
Is php 5.6 secure?
In php, how to redirect from one page to another page?
What is difference between isset and empty in php?
What type of language is php?
What kind of variable is age?