Re: Req #67293 [Asn->Wfx]: PHP online documentation navigation must be on the left
| From: | Christoph Becker | Date: | Sun, 18 May 2014 14:30:56 +0000 |
| Subject: | Re: Req #67293 [Asn->Wfx]: PHP online documentation navigation must be on the left | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-18933@lists.php.net to get a copy of this message | ||
levim@php.net wrote:
> Furthermore, this is not a design choice and it never was; it fixes
> several issues on IE8, several mobile browsers, and when viewing
> PHP.net in split-screen on many screen sizes.
>
> I'm not saying it's there to stay on the right forever; it definitely
> is staying there until someone can come up with solutions for the
> aforementioned problems while keeping it on the left side.
AFAIK one of the main reasons to put the menu on the right hand side was
to move it below the main content on browsers with a narrow viewport.
Therefore it is reasonable to emit the content first and then the menu
in the generated HTML. As it is styled now, both content and menu float
left. Have you considered letting #layout-content float right? That
would effectively display the menu on the left for reasonably broad
viewports, without requiring to change the structure of the HTML.
At least a workaround for those who prefer to have the menu on the left
hand side is to use a user stylesheet for their browser. How this can
be done for Firefox is described on
<http://ffeathers.wordpress.com/2013/03/10/how-to-override-css-stylesheets-in-firefox/>.
I've set up my userContent.css like so:
@-moz-document domain(php.net) {
#layout-content {float: right !important}
}
--
Christoph M. Becker