Page 1 of 1

Table Layout Issues - Anyone?

Posted: Mon 12. Dec 2005, 15:29
by Dave_G
Hi All,

Still plugging away with PHPWCMS! My main problem when designing my templates is that I begin with Photoshop. I have most of my background images as a series of tables (or "slices" from photoshop) and I just get some wacky layout issues. Here's my latest case:

http://www.mophunk.com/index.php

The site is extremely longer than what is should be, about 600 pixels or so. I think the problem lies in my right block. The main content part of the block (where the cool pictures are!) should have a fixed height, but it seems to be stretched out quite a bit, or maybe it's the left (or main block) that is being stretched out so long? When I do a simple "view source" I don't see anything out of the ordinary, but maybe I'm missing something?

I do have a "tableheight 100%" thrown into the css for each block. Please let me know if I need to post more info (like actual template codes, basic layout, etc!). This problem seems to vex me on every site I work on with PHPWCMS!

Thanks for any help you can offer!
Dave

Posted: Mon 12. Dec 2005, 18:37
by TAOG
well i think u must first clear your height=100% think. remove it from all blocks.

then u have to use your pictures as background pictures in the <td> tag. the only thing to adding here is the width="xyz". it must be the same size like your image u use as background. than u have the global effect, your tables and images in the border will be replace by itself and no more larger then needed tables will drawn.


sry 4 my bad english. thats not my most used feature ;)

Re: Table Layout Issues - Anyone?

Posted: Mon 12. Dec 2005, 23:27
by DeXXus
Dave_G wrote:Thanks for any help you can offer!
Dave
Yeah, WHAT ~HE~ said :lol:
...and it looks like you might be missing a tag???

Code: Select all

            <DIV class=articleText>
            <DIV class=news>            <P><A href="http://www.mophunk.com/index.php?id=8,5,0,0,1,0"><SPAN 
            class=datelink>2005/12/03 - </SPAN>Party All the Time</A>
            <P><A href="http://www.mophunk.com/index.php?id=8,4,0,0,1,0"><SPAN 
            class=datelink>2005/12/03 - </SPAN>Doctor gets probation in shooting 
            incident</A></P></DIV></DIV>
<DIV class=articleText>
<DIV class=news> <P><A href="http://www.mophunk.com/index.php?id=8,5,0,0,1,0"><SPAN
class=datelink>2005/12/03 - </SPAN>Party All the Time</A></P><!--Missing tag to close paragraph-->

<P><A href="http://www.mophunk.com/index.php?id=8,4,0,0,1,0"><SPAN
class=datelink>2005/12/03 - </SPAN>Doctor gets probation in shooting
incident</A></P></DIV></DIV>

Posted: Tue 13. Dec 2005, 20:44
by Dave_G
Hmm, now that IS strange!

I'll try to fix both things and see how that works out! As always, I've noticed it works just fine in some browsers, but not in others. Thank goodness for internet standards!

-Dave