Forum : Columns in CSS
Brief description  about Online courses   join in Online courses
View Noor  Mohammed 's Profile

Columns in CSS

Dear sir,

May I please know how to create a three column webpage using CSS.

I have tried to do this using divisions but whenever I add content in the midpart the rightpart part starts moving downwards. could you please tell me how to solve this problem.

Thanks and regards.
Asked by Noor Mohammed | Nov 7, 2010 |  Reply now
Replies (4)
View noor mohammed 's Profile
Thank you for the link sir, it was pretty helpful.

May I know what is charset=iso-8859-1 ?

Many thanks and regards.
Nov 15, 2010
View teacher siliconindia 's Profile
Hi

Go through this link, http://www.build-your-website.co.uk/HTML-to-XHTML.htm you will get more idea about that.

Regards
Nov 14, 2010
View noor mohammed 's Profile
Thank you so much.

May I know why we have to use,

<html xmlns="http://www.w3.org/1999/xhtml"> and <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Nov 12, 2010
View teacher siliconindia 's Profile
Hi

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#part1 {

width:200px; float:left; background-color:#006600;
}
#part2 {

width:200px; float:left; background-color: #000099;
}
#part3 {

width:200px; margin-left:400px; background-color: #FF0000;
}
-->
</style>
</head>

<body>


<div id="part1"> Part 1</div>
<div id="part2"> Part 2 </div>
<div id="part3">Part 3 </div>
</body>
</html>



Try this code.

Regards
Nov 9, 2010