[theme-reviewers] Regarding wide image overflow

Syahir Hakim khairulsyahir at gmail.com
Sun Mar 6 02:19:25 UTC 2011


Hurm...that was what I've been missing all this while, the height:auto 
part. Thanks!

-- 
Regards,
Syahir Hakim

Contact:
http://www.khairul-syahir.com
+6014 753 1883


On 6/3/2011 3:08 PM, Chip Bennett wrote:
> In general, *content* needs to be contained within the *content area*. 
> That means that, however you choose to accomplish it, over-sized 
> images need to remain within the content area - unless your Theme is 
> intentionally designed to incorporate images overflowing into the 
> sidebar area, i.e. as an integral part of the Theme design.
>
> Our usual recommendation is to combine max-width: <content-width> with 
> height:auto, which will allow the image to resize/scale itself in a 
> way that neither cuts off part of the image nor distorts the 
> height-width proportionality of the image.
>
> Chip
>
> On Sat, Mar 5, 2011 at 6:18 PM, Syahir Hakim <khairulsyahir at gmail.com 
> <mailto:khairulsyahir at gmail.com>> wrote:
>
>     Hi everyone,
>
>     I have one question about the wide image overflow requirement. Is
>     it only required that the sidebar is not pushed down because of
>     the wide image, or is it that we should never allow images to
>     overflow the content area (i.e. overflow: hidden;). Using
>     overflow:hidden has been causing lots of trouble with the layout
>     for my theme (e.g. half-hidden title text, unwrapped paragraph
>     around aligned images, etc), so I was hoping that maybe it is okay
>     for the image to overflow behind the sidebar area, but not push it
>     down (i.e. using set width or max-width on the content area).
>
>     -- 
>     Regards,
>     Syahir Hakim
>
>     Contact:
>     http://www.khairul-syahir.com
>     +6014 753 1883
>
>     _______________________________________________
>     theme-reviewers mailing list
>     theme-reviewers at lists.wordpress.org
>     <mailto:theme-reviewers at lists.wordpress.org>
>     http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers


More information about the theme-reviewers mailing list