posted 14 years ago
ok I have a 'Content' div inside a td of a table. That content div's width and height are set to 100% of that td's width and height.
Inside the 'Content' div I have two additional div's; 'GuildInfo' and 'Comments'. 'GuildInfo' has static text that will be the same wrote
directly in the html. 'Comments' however is fed it's contents via php from different comment files from different users.
'Comments' overflow is set to 'auto', but when the text inside the 'Comments' div (even though it's set to auto) gets longer than the 'Content' div, it makes
it expand in both IE and FF.
How can I resolve this? instead of using %'s should I use absolute 'px' width and height for the two div's 'Comments' and 'GuildInfo'?
Oh yea, 'Comments' and 'GuildInfo' both have a width of 100% of the 'Content' div and a height of 47% of the 'Content' div.
Thanks,
Justin
You down with OOP? Yeah you know me!