DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   CSS Boxes (http://www.daniweb.com/forums/thread179468.html)

dmanw100 Mar 2nd, 2009 3:15 pm
CSS Boxes
 
Hello,
I am just starting to work with CSS and wondered if there was a good way to make boxes. I found this tutorial but there are also a number of other ways I have found through Google. What method is the most standard/best? Thanks!

jakx12 Mar 2nd, 2009 3:49 pm
Re: CSS Boxes
 
I tend just to set borders and use padding. That is probably the easiest way to achieve a box.
I also use relative for positioning. This is because alot of my sites are dynamic, thus meaning they may have more or less content inside the box at different times. Using relative allows my layout to all ways be inline and flow.

I suggest going to www.tizag.com for css tutorials as they are very thorough about what is covered.

Many Thanks,

jakx12


All times are GMT -4. The time now is 8:29 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC