I have an HTML table in my page that I'm trying to replace with divs and CSS. Basically, it's a 3x3 table with scalable content in the middle and fixed sized edges and corners with images in the background to give everything a nice drop-shadowed look.
I've read many articles and entries on mixing %'s with pixels, but none of them seem to have just what I'm looking for.
Here's what I have so far:
<html>
<body>
<p>Text up here...</p>
<div style="height: 200px; background-color: red; ">
<div style="width: 80%; height: 100%;">
<div style="clear: both; height: 100%;">
<div style="float: left; width: 30px; height: 100%; background-color: green;">L</div>
<div style="margin-left: 30px; margin-right: 30px; height: 100%; background-color: yellow;">This is my Content!
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</div>
<div style="float: right; width: 30px; height: 100%; background-color: blue;">R</div>
</div>
</div>
</div>
<p>Text down here...</p>
</body>
</html>
How can I get the blue div up next to the yellow one? I may be completely off base here. I would greatly appreciate any help.