Help - Search - Members - Calendar
Full Version: class container vs. id content
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
girlie
Hmmm too funny - my archive pages actually look better if I leave "container" in there!

wink.gif

Oh but wait - some of the default stylesheets DO use the id "container" - see Gettysburg and Rusty....so the usage must be intentional.
girlie
Hmmm, I wonder if not defining a container class in some of the stylesheets was intentional, i.e., "we don't want this stylesheet to apply styles to this class, but we do want *this* one to apply them."

In other words, could the absence of any container styles be part of the overall design of that particular stylesheet?

Is it possible to specify an "empty" class in a stylesheet and still have it validate properly?

Now my curiosity is up.
shiva7663
A bunch of the templates show

CODE
<div class="container">


instead of

CODE
<div id="content">


which is what the standard site style requires for the Movable Type Default Templates
shiva7663
It's an inconsistency that should be resolved, then.
btrott
It's intentional, yes--container is an extra class that some of the default styles need, but some don't.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.