[theme-reviewers] Regarding wide image overflow

Emil Uzelac emil at themeid.com
Sun Mar 6 00:24:46 UTC 2011


If you are using i.e.

height: auto;
> max-width: 96%;
> width: auto;



you should be just fine, nothing will get pushed and the image will
resize accordingly. overflow: hidden; might not be the best answer to
this. I use all three in my CSS and looks good in all browsers. You can also
play with the percentage too. % work slightly better than pixels and even if
the layout changes this will adopt to new design, so you don't have to do it
all over again.

Cheers,
Emil

*Emil Uzelac* | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E:
emil at themeid.com | http://themeid.com
Make everything as simple as possible, but not simpler. - Albert Einstein



On Sat, Mar 5, 2011 at 6:18 PM, Syahir Hakim <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
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110305/ec2c6d3f/attachment.htm>


More information about the theme-reviewers mailing list