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
Is php 7.0 stable?
How to make horizonatl menu and vertical menu responsive
Is php harder than javascript?
Does php need to be installed?
What type of headers have to be added in the mail function to attach a file?
What is the functionality of md5 function in php?
What is the difference between php and cakephp?
What is session php?
Do you know is it possible to extend the execution time of a php script?
What are different types of runtime errors in php?
Is polymorphism inherited?
What is cookie in php with example?
Which functions are used to count the total number of array elements in php?
What are php filters?
What is a php certification?