PDA

View Full Version : Cellspacing Cellpadding


muratmunich
12-29-2009, 08:05 AM
How can i code a Cellspacing - padding into a Div Tag ?


<div class="collapse wgo_block">
<h2>
<span>
Title
</span>
</h2>

<div class="wgo_subblock">
<div class="floatcontainer">
Text
</div>
</div>


As you see the spacing to left and right is not correct.

--------------- Added 1262082319 at 1262082319 ---------------

Solved.


<div class="collapse wgo_block">
<h2>
<span>
Title
</span>
</h2>

<div class="wgo_subblock">
<div class="floatcontainer">
<div>Text</div>
</div>
</div>


Adding a second div does the trick..