[thelist] variable width centered
ben morrison
morrison.ben at gmail.com
Wed Mar 12 17:12:49 CDT 2008
On Wed, Mar 12, 2008 at 8:20 PM, Jon Hughes <hughesj at firemtn.com> wrote:
> Howdy List,
>
> I'm running into many walls here, and I cannot seem to find a workable
> solution.
>
> Now, this works great for 90% of my pages. The problem is, 10% have a
> width larger than 850px (due to images or something else)
> I could just increase #mainWrapper and #column2 width, but the problem
> with that is then the column1 jumps around from page to page. If I leave
> the width as is, every page you go to (that has content under 850px) the
> column1 stays in the same spot.
>
> So my question is: How can I allow more content in the #column2 div,
> without moving #content1 from its current location?
Can you add an extra class when you know that the content will be
wider than 850px?
Otherwise you could add overflow:hidden to crop the extra width - this
could be on a child element.
--
Ben Morrison
http://www.benjaminmorrison.com
More information about the thelist
mailing list