Forum Moderators: coopster

Message Too Old, No Replies

Changing sizes

destination to match include height

         

Stuperfied

10:54 pm on Mar 29, 2006 (gmt 0)

10+ Year Member



Hi, I have included the content on my site from another file and want the divide to automatically adjust its self to the size of the included content. In internet explorer this is not an issue, however in Firefox, Opera and I suspect Mozilla, the content overflows and the divides of the page do not automatically adjust.

Does anyone know of a way to solve this problem, or will I have to switch to ... dare I say it ...tables?

Stuperfied

12:54 pm on Mar 30, 2006 (gmt 0)

10+ Year Member



Ok, I got sick of waiting for a reply so this is my solution.

I stuck it all on the one page and gave each container divide the style -

display: block;

Works fine now but will be prety hard to allow users to edit the content of the page. I guess i'll have to use magic quotes or something to figure that part out. Dont want to database the content because static pages are better IMHO.

Stuperfied

1:11 pm on Mar 30, 2006 (gmt 0)

10+ Year Member



Seems I fixed it that well that it now works with the included content. The solution I was looking for turned out to be the block style.

Thanks anyway peoples. Feels so much better when you come up with the solution yourself.

jatar_k

3:29 pm on Mar 30, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



nice one Stuperfied,

probably would have gotten an answer in the CSS Forum [webmasterworld.com] more quickly, we're just lowly coders around here ;)

Stuperfied

10:49 pm on Mar 30, 2006 (gmt 0)

10+ Year Member



Yeah, css can be a mite complicated at times with all the cross browser issues it has. Im just glad I have a support network such as this, without it, I would be coding completely solo and im sure you all know how lame that is.

So thanks again anyway.