polyhedra — 2012-02-26T11:22:10-05:00 — #1
Hi everyone, so i got a pretty good one here, luckily I was having trouble creating two text columns with CSS but it worked out with a table, take a look.
If I wanted to create this from pure css, how would i do it? what one is better in the endgame for this, table or css??
black_max — 2012-02-26T16:45:38-05:00 — #2
Table layouts are ten years obsolete. If you Google for two-column CSS layouts, you'll find a blue million of them, templates, tutorials, the works. Pick one that suits you and deconstruct it to see how it works. Here's a good place to start.
amberbam — 2012-02-28T15:20:03-05:00 — #3
Definitely don't use tables.
You's have to start with something like this in html
<h1> Text Indenting </h1>
And of course Add your content.
To make the content reach the edges of the browser window, set the margin and padding of the body and html elements to zero.
Two make the two columns display side by side, float them, and specify widths.
tehyoyo — 2012-02-28T15:37:05-05:00 — #4
I saw this new CSS3 feature in the book HTML5 and CSS3 for the real world...should work for you.
technobear — 2012-02-29T11:50:46-05:00 — #5
Unfortunately, CSS3 is still a work in progress, and support for its features is patchy in newer browsers and non-existent in older browsers. Those browsers that do support multi-column layouts mostly require vendor pre-fixes to make it work.
tehyoyo — 2012-02-29T15:34:32-05:00 — #6
Well, of course, as are all-most css3 properties. I was just suggesting an alternate strategy.
polyhedra — 2012-03-05T10:40:29-05:00 — #7
Neat neat neat, CCS3 looks very cool, and thanks everyone I see how i can utilize the float property for columns.
tehyoyo — 2012-03-05T15:23:10-05:00 — #8
If you think that's cool, you should take a look at [this article and [url=http://www.hongkiat.com/blog/coding-graphics-with-css3/]this crazy thing](http://www.hongkiat.com/blog/css3-animation-transition-demos/).
CSS3 is amazing
ryanreese — 2012-03-05T15:29:39-05:00 — #9
You want cool CSS3? Look at this page I made (not my website, just coded hte page on it) for a content.
The Code is <3.