Re: [css-d] Centering Variable Width Page Items

2012-05-10 Thread Todd Howe
-- - Todd Howe teh...@signaltonoise.ca - - gpg public key id E8BCABA7__tehowe on skype or twitter - > Date: Fri, 04 May 2012 20:53:33 -0700 > From: David Hucklesby > To: css-d@lists.css-discuss.org > Subject: Re: [css-d] Centering Variable Width Page It

Re: [css-d] Centering Variable Width Page Items

2012-05-05 Thread Barney Carroll
So effectively, you wish to make #fixed variable? ;) The trick to this is to set a max-width in combination with margin-left and -right set to auto. See barneycarroll.com for a working example: the content is never wider than the viewport, but remains centred on wider screens. Regards, Barney C

Re: [css-d] Centering Variable Width Page Items

2012-05-04 Thread David Hucklesby
On 5/4/12 4:50 PM, Todd Howe wrote: Hi, I'm new ;) Welcome. [...] The CSS wasn't commented though, and since then I've never been able to figure out how to get things centered properly on the front page for all screen sizes. They're too far to the left when x>~1280, too far to the right whe

[css-d] Centering Variable Width Page Items

2012-05-04 Thread Todd Howe
Hi, I'm new ;) I got directed here by one of the Wordpress forum mods, which was great because I'm signed up for a CSS course starting any day now, and I'm sure I'll get a lot out of the discussion. In the meantime, here's something that's been a continual thorn in my side. Maybe there's a simple