[wp-trac] [WordPress Trac] #16337: TwentyTen Theme: Container/Content Implementation
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 22 00:57:14 UTC 2011
#16337: TwentyTen Theme: Container/Content Implementation
-------------------------+------------------------------
Reporter: sterlo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------------------
Comment (by sterlo):
'''Relevant'''
Author:
{{{
The CSS structure of the theme is a little different to what I am used to
though. For example, the container class uses a width of 100% instead of a
fixed width. It then determines the size of the main content area using a
negative fixed width (e.g. margin: 0 -240px 0 0;). I have seen this before
in stylesheets though previously most WordPress themes would use positive
values.
}}}
Commenter:
{{{
I like 2010 as well but one thing I don’t get is why the main container
includes a huge negative margin to accomdate the sidebar instead of just
nesting the sidebar within it.
This creates an issue where I’m trying to place a single pixel border
around the container but the right border is not really at the edge of the
content area so there is no border drawn.
}}}
Source: http://www.wpmods.com/my-first-impressions-of-the-twenty-ten-theme
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16337#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list