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??
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.
You’s have to start with something like this in html
<body>
<div id=“header”>
<h1> Text Indenting </h1>
</div>
<div id=“leftSide”></div>
<div id=“rightSide”></div>
</body>
And of course Add your content.
CSS:
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.
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.