[TYPO3-english] Positioning GMENU_LAYERS

Alessandro Tuveri at at uniud.it
Thu Jul 12 11:49:01 CEST 2012


Hi
hope my issue will be useful.
GMENU and TMENU are positioned creating some layers at the beginning  
of the page; to be more precise, after the BODY tag.
This is very annoiyng because if the width of your site is fixed (ie.  
960px) and centered on the browser window, there is several problems  
to keep the 2nd level menus below the top level menu.
I solved using:
* a class modified by myself with a workarond
or
* create the menus (GMENU / TMENU) only with the CSS styles, see  
freedropdowncessmenus

bye

Quoting Scotty C <superscotty19 at yahoo.com>:

> Loek,
>
> Sorry, I assumed that the links would imply a "View Source" -> CSS.  
> Anyway, here's what I've got:
>
> <div id="menu_items" style="position: absolute; 
> width: 595px;
> height: 100px;
> top:0px;
> left: 35%;
> text-align:left;
> z-index: 200;
> border: 1px solid yellow;">
> <table width="100%" height="100%" cellpadding="0" cellspacing="0">
> <tr>
> <td>
> <!-- ###MENU### START -->
> MENU GOES HERE  ITEM 2   ITEM 3   ITEM 4   ITEM 5 ITEM 3   ITEM 4   ITEM 5
> <!-- ###MENU### END -->
> </td>
> </tr>
> </table>
> </div> 
>
>
> Thanks for the help!
> -S.
>
>
>
> ________________________________
>  From: Loek Hilgersom <loek at netcoop.nl>
> To: typo3-english at lists.typo3.org
> Sent: Thursday, July 12, 2012 3:27:04 AM
> Subject: Re: [TYPO3-english] Positioning GMENU_LAYERS
>
> On 12-07-12 08:20, Scotty C wrote:
>> I've been staring at this code for hours and I'm ready to snap.  
>> What am I missing?
>
> Maybe you've been staring at the wrong code, try staring at the CSS!  ;-)
>
> Loek
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



ALESSANDRO TUVERI

--------------------------------------
AREA SERVIZI INFORMATICI E MULTIMEDIALI
Servizi WEeb d'Ateneo
Universit? degli Studi di Udine
tel. ufficio 0432-558904
--------------------------------------
Homo sine pecunia est imago mortis
--------------------------------------

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine




More information about the TYPO3-english mailing list