Table Layout Issues - Anyone?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Dave_G
Posts: 20
Joined: Wed 19. Jan 2005, 17:57
Location: Washington, DC

Table Layout Issues - Anyone?

Post 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
TAOG
Posts: 206
Joined: Fri 17. Sep 2004, 20:14
Location: Berlin/Germany
Contact:

Post 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 ;)
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Re: Table Layout Issues - Anyone?

Post 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>
Dave_G
Posts: 20
Joined: Wed 19. Jan 2005, 17:57
Location: Washington, DC

Post 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
Post Reply