<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Nicolas,<br><br></div>Thank you for your answer.<br><br>> You can wrap your demo content in a <div style="width:..."></div>,<br>> or incert a css rule to redefine #content{max-width}.<br><br></div>I tried this but I was only able to do it inside the header.html<br></div>(because the <head> and <div id=content> are both defined<br>inside the header.html). Changing header.html in my demo<br>is not a good idea, we want all demos to share it.<br><br>If I understand well, all I can put in my template will be inside<br>de DIV content and will have a width limited to the max-width.<br>I can force the width of a particular div or set it to 200% of the<br>previous container, but this is not what I want; I would like to<br>use the full width of the browser and not an arbitrary width.<br></div></div><br></div>We could put "max-width=none" in header.html for everyone.<br></div>It is a little strange to impose something to then remove it<br></div>in half of the pages (demo and archives). This seems like<br>a patch for a patch.<br><br></div>My knowledge of html is very limited, so I would be very<br>happy to know of an alternative solution.<br><br></div><div>Thanks,<br></div><div>rafael<br></div><br><br><div><div><div><div><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 28, 2014 at 2:54 AM, Nicolas Limare <span dir="ltr"><<a href="mailto:nicolas.limare@cmla.ens-cachan.fr" target="_blank">nicolas.limare@cmla.ens-cachan.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">> 2) I was wondering why my demo was not using the<br>
> full browser width. I then discovered that the reason<br>
> is that the CSS in <a href="http://www.ipol.im/local.css" target="_blank">http://www.ipol.im/local.css</a> includes:<br>
><br>
> #content{max-width:64em;}<br>
><br>
> imposing a fixed maximal width to the contents of the<br>
> web pages. Is there any reason to impose this limit to all pages?<br>
<br>
</span>* reason to limit on text pages:<br>
avoid excessive long lines<br>
* reason to limit on other pages:<br>
have a consistent design on every IPOL page<br>
<span class=""><br>
> If it is necessary for the ipol front page and articles' web pages,<br>
> it may be a good idea to separate in two groups: text pages<br>
> and demo pages. By the way, I noticed this option is overwritten<br>
> in the archive pages.<br>
<br>
</span>The limited width worked for most demos, so I thought it was better to<br>
have the max-width everywhere. Archive pages are nor organized<br>
vertically, so the width was extended for these pages. You can decide<br>
to override it in your demo too, if you think it makes sense for<br>
everyone, on small/large/wide screens. You can wrap your demo content<br>
in a <div style="width:..."></div>, or incert a css rule to redefine<br>
#content{max-width}.<br>
<br>
(I bounce the thread to discuss@ipol, for info)<br>
<span class=""><font color="#888888"><br>
--<br>
Nicolas LIMARE<br>
<a href="http://nicolas.limare.net/" target="_blank">http://nicolas.limare.net/</a> pgp:0xFA423F4F<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div>