Login    Forum    Search    FAQ   Blog

Board index » Client-Side Development » HTML & CSS




 Page 1 of 1 [ 2 posts ] 



Author Message
 Post subject: Designing website using only div tags
 Post Posted: Wed Feb 25, 2009 2:32 am 
Offline

Joined: Wed Feb 25, 2009 1:53 am
Posts: 3
previously i used to design using tables but
How do I create a three column layout using CSS only?


Top 
 Post subject: Re: Designing website using only div tags
 Post Posted: Thu Feb 26, 2009 3:38 am 
Offline

Joined: Wed Feb 25, 2009 1:53 pm
Posts: 7
to increase the performance of web page today people are replace div tags with tables.

to design a three column layout with div tags
<style>
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
}

#wrapper{
width:800px;
margin:auto;
padding: 0;
background-color:#CCCCCC
}
#leftColumn{
float:left; width:150px;
}
#middleColumn{
float:left; width:500px;
}
#rightColumn{
float:right; width:150px;
}
</style>
<div id="wrapper">
<div id="leftColumn">Left Column</div>
<div id="middleColumn">Middle Column</div>
<div id="rightColumn">Right Column</div>
</div>


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 2 posts ] 




Board index » Client-Side Development » HTML & CSS


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron