Re: preview and serendipity_getFile
Posted: Sun Nov 03, 2013 12:42 pm
That's not a CSS fix, that's trial and error. 0.2% is an arbitrary number which could or could not work. The proper solution would be to apply box-sizing: border-box; if the box does actually have a border (which isn't the case in 2k11).Timbalu wrote:I tested that with a border, AFAIR. And with full 100%, the right border was outside element.
I strongly disagree. It is way more useful to have the actual dimensions of the entry in the preview, even if the sidebar is missing.Timbalu wrote:That is why I think, using a near 100% is better here, since this preview does not screenshot the blog frontpage with sidebar itself, than just a part - the content - of it.
First of all, it is confusing since it's a different behaviour. Second, it's confusing because the preview looks different than the actual entry. Third, you can't really tell how “layout in the entry” (e.g. positioning of images, line length) will work.
YL