11
m0nty
Re: content padding
  • 2006/3/10 2:00

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i understand what you're saying..

the trouble with padding is that IE subtracts the padding pixels from the actual width, and firefox does it correctly by adding to it.. so whilst it will work with firefox, IE will not be the same result.

could try margin-right: 1px; in td#leftcolumn and margin-left: 1px; in the td#rightcolumn

failing that you could be really messy and add an extra column.

<{if $xoops_showlblock == 1}> 
      <
td id="leftcolumn">
        <!-- 
Start left blocks loop -->
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="craig/theme_blockleft.html"}><br />
        <{/foreach}>
        <!-- 
End left blocks loop -->
      </
td>
      <
td width="2">&nbsp;</td>
          <{/if}>


same with right column but add it b4 the 1st <td > but make sure it's inside the 'if' statement.

12
spankee
Re: content padding
  • 2006/3/10 2:42

  • spankee

  • Just popping in

  • Posts: 89

  • Since: 2005/11/13


Adding margin-right to td#columnleft does nothing in either ff or ie. I will try to add another cell as suggested.

The way the html is laid out in the default theme seems really screwy to me so maybe I can get the effect I want from another theme. Are there any css templates out there that allow for the option of 1,2 or 3 columns?

13
spankee
Re: content padding
  • 2006/3/10 3:32

  • spankee

  • Just popping in

  • Posts: 89

  • Since: 2005/11/13


Adding cells worked...sloppy but works.
Thank you

Login

Who's Online

134 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 134


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits