Owener94
12-21-2011, 03:48 PM
Hey guys :)
So basically I have an admin centre on my site I am trying to integrate.
Let's say I have a single DIV (with a border around it) with content in. Works perfect. However, on the admin centre page it doesn't work how I want it to. The amount of content varies as it is PHP-generated and displays new users all the time.
So the dilemma I am having is that the DIV just stays at a fixed height (of about 30px) and won't retain :auto; to wrap around all the content generated via this PHP code.
Is there a simple CSS way around this or is it perhaps something for Javascript? Or is it just an error...?
I appreciate any help, I've been looking but all of them are just relevant to iframes so I'm getting a little lost. :confused:
Cheers for reading anyway, hope someone can help! :)
Regards
Owen Ayres
So basically I have an admin centre on my site I am trying to integrate.
Let's say I have a single DIV (with a border around it) with content in. Works perfect. However, on the admin centre page it doesn't work how I want it to. The amount of content varies as it is PHP-generated and displays new users all the time.
So the dilemma I am having is that the DIV just stays at a fixed height (of about 30px) and won't retain :auto; to wrap around all the content generated via this PHP code.
Is there a simple CSS way around this or is it perhaps something for Javascript? Or is it just an error...?
I appreciate any help, I've been looking but all of them are just relevant to iframes so I'm getting a little lost. :confused:
Cheers for reading anyway, hope someone can help! :)
Regards
Owen Ayres