using divs as a table....
2 posters
Page 1 of 1
using divs as a table....
Hey guys im relatively new to HTML and CSS but i cant see what wrongs with this piece of code
im trying to make a table for some forum awards im putting together...
heres the code:
heres the what the page looks like...
http://www.endeavourgaming.com/page_html.forum?mode=preview
i just cant figure out how to get all three columns to line up properly...
help?
im trying to make a table for some forum awards im putting together...
heres the code:
- Code:
<head>
<style media="screen" type="text/css">
#container {
display: table;
}
#row {
display: table-row;
}
#left, #right, #middle {
display: table-cell;
}
</style>
</head>
<body>
<div id="container">
<div id="row">
<div id="left">
<h4>Left Col</h4>
<p>...</p>
</div>
<div id="middle">
<h4>Middle Col</h4>
<p>...</p>
</div>
<div id="right">
<h4>Right Col</h4>
<p>...</p>
</div>
</div>
</div>
<body>
heres the what the page looks like...
http://www.endeavourgaming.com/page_html.forum?mode=preview
i just cant figure out how to get all three columns to line up properly...
help?
jcooper- Forumember
- Posts : 26
Reputation : 0
Language : English
Re: using divs as a table....
Why don't you just use a table? I don't know the CSS for it from the top of my head but I know it's there.
Mr_Waffle- New Member
- Posts : 24
Reputation : 0
Language : Dutch | HTML | CSS | JavaScript | jQuery | Java | MIPS ASM | Learning C#
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum