Layout issues!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
raven
Posts: 10
Joined: Tue 18. Jul 2006, 23:44

Layout issues!

Post by raven »

Hello people,

I have started building a test website in order to get used to phpwcms!

I have a question that has now become my problem!

the page is on http://mywcms.no-ip.org/wcmsnew/

my problem is that i want/like the news area to expand downwards when the text in the content area is bigger than the News table. Having the News table fixed really breaks the whole layout.

I could make multiple layouts with different sizes for the News Table in order to accomodate the various sizes of the content table :shock: but I believe there is a better solution than this.

(i'm not even sure that this is the right forum to post my question...but any help will be appreciated)

:?:
User avatar
eccentric.worx
Posts: 71
Joined: Mon 31. Oct 2005, 00:22
Location: berlin

Re: Layout issues!

Post by eccentric.worx »

why not using news- and content-area in one table but different colums?

??
User avatar
eccentric.worx
Posts: 71
Joined: Mon 31. Oct 2005, 00:22
Location: berlin

Re: Layout issues!

Post by eccentric.worx »

had a look into your sourcecode. looks very chaotic...
instead of using tables for margins u could use spacer-graphics or even better: css-margins to keep the sourcecode small. for heights u could also use % - even if its not standard-conform. set size of cell 1 to height:1 (the graphic inside will hold the correct size of the cell... the same job as transparent spacer-graphics usually do if you want control cell-sizes in tables...), 2nd cell set height to 100%.
another option: learning css - it´s very handy, because of better layout and handling flexibility...
good luck!
raven
Posts: 10
Joined: Tue 18. Jul 2006, 23:44

Post by raven »

thanx for taking a look eccentric.

I made the layout in photoshop and i got the html code with the tables by slicing the image with imageready. I'm not good on HTML, that's why I have the problems with my layout.

If the content part had a fixed length then, the news section would only need a slight adjustment to become equal with the height of the Content Table, and my "creation" would look consistent, but it's not! :-)

thank you for your comments.

(i tried building the whole page with divs but i failed completely!)
Post Reply