Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2009, 08:05 AM
muratmunich muratmunich is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Cellspacing Cellpadding

How can i code a Cellspacing - padding into a Div Tag ?

PHP Code:
<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 [DATE]1262082319[/DATE] at [TIME]1262082319[/TIME] ---------------

Solved.

PHP Code:
<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..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.