Re: alpha.php.net - menu tweak
| From: | Richard Quadling | Date: | Fri, 29 Jul 2011 10:35:44 +0000 |
| Subject: | Re: alpha.php.net - menu tweak | ||
| References: | 1 2 3 4 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-11797@lists.php.net to get a copy of this message | ||
On 29 July 2011 02:22, Stewart Lord <stewey@ambitious.ca> wrote:
> On 2011-07-28, at 1:11 PM, Wojciech Kupiec <kupiec.w@gmail.com> wrote:
>
>> On 07/28/2011 08:28 AM, Stewart Lord wrote:
>>> On 2011-07-26, at 1:13 PM, Wojciech Kupiec wrote:
>>>
>>>> Stewart,
>>>>
>>>> Could you please consider below css tweak.
>>>> The aim is to reduce menu items height to better fit if there is too many
>>>> drop-down-menu items (like in Documentation).
>>>>
>>>>
>>>
>>> Thanks Wojak,
>>>
>>> I have committed the padding change on links, but I felt it was important to keep the
>>> margin-top on the li's. Otherwise we lost the separation between different sections in the
>>> menu.
>>
>> Thanks for committing, but dont you think that the bottom list (*Installation and
>> Configuration, *PHP at the Core: A Hacker's Guide ...) in documentation menu has too much of
>> separation?
>>
>> Wojak
>>>
>>>
>
>
> Yes, actually that looks broken. I'll take a look at fixing it if someone else
> doesn't beat me to it.
I posted this to the DOCs list a while ago. Better to have it here.
Hi.
The 960px fixed width layout causes the Installation and Configuration
entry on the mega menu to be below Getting Started, Language
Reference, Security, Features and Function Reference.
So much so, it may well be beneath the fold for any user on a display
with a shorter than my 1080. Installation and Configuration really
needs to be up front and personal.
The layout used to have it on the right hand side. Still not ideal,
but at least it was onscreen.
Changing the #mega-drop-down div.children-1 {width: 960px;} to 1010px
(using 1px increments to see when things would pop-up) allows the mega
menu to show all on screen in a 1010x652. So, a 1024x768 display looks
fine.
At 960px, the mega menu is 963px tall and on a 1024x768 display, you
can only see the Installation and Configuration option if you go 100%
full screen with no systray and no browser chrome.
I know the received wisdom is fixed 960px layout, but the CSS gurus
here must be able to do some magic to make things a little more fluid.
Regards,
Richard Quadling.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea