Forum : CSS div and id
Brief description  about Online courses   join in Online courses
View Mohammed Gouse Gadad 's Profile

CSS div and id

<html>
<head><title>Simple</title>
<style-type="text/css">
#container{
width: 80%;
margin: auto;
padding: 20px;
border: 1px solid #666;
background: #ffffff;
}
</style>
</head>
<body>
<div id="container">
</div>
</body>
</html>
Hello Sir!!!! I am start reading CSS 2 days before.When i run above code it will appear in the browser,what i do?... Please help me.
Asked by Mohammed Gouse Gadad | Feb 24, 2011 |  Reply now
Replies (2)
View mohammed gouse gadad 's Profile
Thanks...
Feb 26, 2011
View santosh hegde 's Profile
Hi,
just try to write your style <style type="text/css"> insted of this <style-type="text/css"> and run your code in the browser.
Feb 25, 2011