[TYPO3] Problem with menu layout CSS
Almir .
almir820 at hotmail.com
Wed Oct 11 14:20:58 CEST 2006
I just made it work! :)
//Almir
> From: sv at workhouse.dk> Date: Wed, 11 Oct 2006 09:18:45 -0300> To: typo3-english at lists.netfielders.de> Subject: Re: [TYPO3] Problem with menu layout CSS> > Hi Almir,> > As far as I can see, both menus are the same? Horisontal...> > Med venlig hilsen/Kind regards> Søren Vedel> www.workhouse.dk> > Almir . wrote:> > Hi all!> > > > I have a problem with my menu in typo3 3.8.1. It looks great in my template but when I put it in Typo3 the layout changes.> > > > The menu should look like this, this is my template: http://www.dabar.se/fileadmin/sask/template2.htm> > > > But in typo3 it looks like this: www.dabar.se> > > > The menu is vertical in typo3 but it should be horizontal just like in the template.> > > > This is my HTML code:> > > > <table width="760" border="0" align="center" id="menytabell"> <tr> <td><!--###MENU### start--> <ul id="meny"><li><a href="#">Aktuellt</a></li><li><a href="#">Om oss</a></li><li><a href="#">Kontakt</a></li><li><a href="#">Länkar</a></li><li><a href="#">Köp & Sälj</a></li><li><a href="#">Skridskoskola</a></li></ul> <!--###MENU### stop--></td> </tr></table>> > > > This is my CSS:> > TD#menytabell {display:inline; vertical-align:top; height:20px; }#meny{ vertical-align:center; margin-left: 0; padding-left: 0; font-size: 100%;}#meny li{display: inline; list-style-type: none;}#meny a{padding: 0.25em 1em; text-decoration: none; color:#000000; font-weight:bold;}> > #meny a:link{color: #000000; }#meny a:visited{color: #000000; }#meny a:hover{font-size:15px; }#meny a#current{background: #FFCC66; color: #000000;}> > > > This is my TypoScript:> > page = PAGEpage.typeNum = 0page.stylesheet = fileadmin/sask/main2.css page.10 = TEMPLATEpage.10 { template = FILE template.file = fileadmin/sask/template2.htm> > subparts.MENU = HMENU subparts.MENU.minItems = 6 subparts.MENU.maxItems = 7 subparts.MENU.1 = TMENU subparts.MENU.1.NO {allWrap = |*| <li> | </li> || <li> | </li> |*| }> > > > subparts.MENU_LEVEL1 = HMENU subparts.MENU_LEVEL1.entryLevel = 1 subparts.MENU_LEVEL1.1 = TMENU subparts.MENU_LEVEL1.1.NO { allWrap = <tr height="21"><td height="21"> | </td></tr> }> > }> > > > Any idéa what may be wrong? Thank you in advance.> > > > Best regards,> > Almir Orle> > > > > > > > _________________________________________________________________> > Skaffa nya Windows Live Messenger!> > http://get.live.com/messenger/overview> _______________________________________________> TYPO3-english mailing list> TYPO3-english at lists.netfielders.de> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_________________________________________________________________
Windows Live Spaces är här! Det är enkelt att skapa en egen personlig webbplats.
http://spaces.live.com/signup.aspx
More information about the TYPO3-english
mailing list