11
limap5
Re: Theme Problem: Block height exceeded
  • 2007/12/13 13:31

  • limap5

  • Just popping in

  • Posts: 27

  • Since: 2005/12/6


Hello

Can anyone out there which expert at coding helps me?

Regards,
limap5

12
BlueStocking
Re: Theme Problem: Block height exceeded

Bump
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

13
Will_H
Re: Theme Problem: Block height exceeded
  • 2007/12/14 13:08

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Alright, again... when it all comes down the problem is that the code is not formatted properly. You have so many improperly nested elements....

However, if you wanna give mboyden's fix a shot it would be like so.

<!-- Start center-center blocks loop -->
<{foreach 
item=block from=$xoops_ccblocks}>
<
table border="0" cellpadding="1" cellspacing="1" bgcolor="#EE9E5B" width="100%" height="150">
    <
tr>
        <
td bgcolor="#FFFF94" valign="top">

<
table border="0" cellpadding="0" cellspacing="1" width="100%" height="150" bgcolor="#202020">
    <
tr>
        <
td valign="top" bgcolor="#333333">        

<
table border="0" cellpadding="0" cellspacing="1" width="100%" height="20" bgcolor="#202020">
    <
tr>
        <
td background="<{$xoops_imageurl}>bg-tab-menu.gif" class="blockTitle">&nbsp;<{$block.title}></td>
    </
tr>
</
table>        

<
table border="0" cellpadding="0" cellspacing="0" width="100%" height="2" bgcolor="#202020">
    <
tr>
        <
td background="<{$xoops_imageurl}>hr.gif"></td>
    </
tr>
</
table>

<
table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
    <
tr>
        <
td valign="top" class="blockContent"><{$block.content}></td>
<
div style="clear:both;"></div>
    </
tr>
</
table>
        </
td>
    </
tr>
</
table>
        </
td>
    </
tr>
</
table>
<
br>
<{/foreach}>
<-- 
End Center Blocks -->


I spaced the code out so that you can really see how fubar it is.

14
mboyden
Re: Theme Problem: Block height exceeded
  • 2007/12/14 15:19

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


Yeah, I'm not sure this DIV CLEAR BOTH solution will work in tables, but I also don't see why not. Also, I'd suggest that you get rid of all those nested tables and move to DIV tags as much as possible. Try to avoid using tables as your layout methodology -- that's what DIV tags are for.

The solution I provided came from the web. The empty DIV container should be placed just before you close the outer most container containing the content you want enclosed. So, in your case, place it just before you close the TD of the main table that encloses the other content.

In general, the table container should close it, but if you start floating things around inside it, then it "detaches" it from that height aspect for some reason. Not sure that is to the standard since everyone seems to expect it to expand vertically, but it's the behavior I've seen.

Clear as mud?
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

15
limap5
Re: Theme Problem: Block height exceeded
  • 2007/12/15 17:49

  • limap5

  • Just popping in

  • Posts: 27

  • Since: 2005/12/6


Hi!

Thanks to everyone. I have placed the mentioned tag, but DIDN'T succeed anyway. Lacking theme coding's skills make me worst on editing the file. :)

I'll study about them later (surely by searching the Internet and guided by someone). I wondered why IE rendered the page well? I think IE had ignored the problems there and tried to render them well. In this situation, IE take the point.

But I'm surely could not understand the layout's methodology. I understand well HTML and CSS but know nothing on theme coding/methodology/layout. A bit disappointment for that. Huh.

Regards,
limap5

16
Will_H
Re: Theme Problem: Block height exceeded
  • 2007/12/16 3:00

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


You must be speaking IE's language....

LMFAO!

w3schools.org

17
limap5
Re: Theme Problem: Block height exceeded
  • 2007/12/16 9:14

  • limap5

  • Just popping in

  • Posts: 27

  • Since: 2005/12/6


Then, sorry for my bad solemn English.

Hehe.

Login

Who's Online

136 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 136


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