Previous Message
Next Message

Keeping a PHP script inside the borders of it's containing DIV

Sent by James Denholm-Price on 25 August 2004 10:10


Hi Chris,

On Tue, 24 Aug 2004 10:22:01 -0400, Chris McCuller wrote:
> working on reworking the athletics website for my university, and I want
> to automate news posting with a PHP script.  I've got everything working
> at 1024x768 on IE & Mozilla.  However, going down to 800x600 causes the
> news script to go outside it's DIV and overlay the right-hand column.
> The layout is a 3-column fluid layout based off Ryan Brill's article on
> ALA.  The link to the page is
> http://xandoshow.valdosta.edu/athletics/athletics.php

It looks like you need a minimum width for the content <div id="main">
to stop it shrinking below the size of its content.

For compliant browsers CSS min-width will do and IIRC for Internet
Explorer specifying a width (via the Holly Hack?) might also work &
still keep it fluid.

Try searching the css-d archive for min-width (Google with query
"site:incutio.com min-width")

Also it might help to validate your HTML <grin>

James
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: