Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
11.03.2007, 05:57 | #1 |
Продвинутый
Регистрация: 11.03.2007
Адрес: lviv
Сообщений: 71
|
Css вроде простая проблемка...
работаю через ТВ,
От у меня есть на странице <link href="fileadmin/templates/md/css/main.css" rel="stylesheet" type="text/css" /> Распечатка main.css ...... ..... .1-no { background-color: #00FF00; } .1-act { background-color: #FF0000; } ... ============================== шаблон CSs styled content + # Menu 1 cObject lib.menu_1 = HMENU # First level menu-object, textual lib.menu_1.1 = TMENU lib.menu_1.1 { # Normal state properties NO.allWrap = <div class="1-no"> | </div> NO.stdWrap.htmlSpecialChars = 1 # Enable active state and set properties: ACT = 1 ACT.stdWrap.htmlSpecialChars = 1 ACT.allWrap = <div class="1-act"> | </div> } # Second level menu-object, textual lib.menu_1.2 = TMENU lib.menu_1.2 { # Normal state properties NO.allWrap = <div class="2-no"> | </div> NO.stdWrap.htmlSpecialChars = 1 # Enable active state and set properties: ACT = 1 ACT.stdWrap.htmlSpecialChars = 1 ACT.allWrap = <div class="2-act"> | </div> } # Default PAGE object: page = PAGE page.typeNum = 0 page.10 = USER page.10.userFunc = tx_templavoila_pi1->main_page и всё ================== Вопрос =============== почему не работает вот это: <td width="120" valign="top" class="1-no"><div class="1-no"><a href="index.php?id=19" onfocus="blurLink(this);">About us</a></div><div class="1-no"><a href="index.php?id=18" onfocus="blurLink(this);">Visnyk</a></div><div class="1-act"><a href="index.php?id=17" onfocus="blurLink(this);">Komitety</a></div><div class="2-no"><a href="index.php?id=24" onfocus="blurLink(this);">economika</a></div><div class="2-no"><a href="index.php?id=23" onfocus="blurLink(this);">pravo</a></div><div class="2-no"><a href="index.php?id=22" onfocus="blurLink(this);">prostir</a></div><div class="2-no"><a href="index.php?id=21" onfocus="blurLink(this);">Sxid</a></div><div class="2-no"><a href="index.php?id=20" onfocus="blurLink(this);">Info</a></div><div class="1-no"><a href="index.php?id=16" onfocus="blurLink(this);">Forum</a></div><div class="1-no"><a href="index.php?id=15" onfocus="blurLink(this);">Kontacty</a></div></td> ================================================== === полный листинг ======================= <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- This website is powered by TYPO3 - inspiring people to share! TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL. TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners. Information and contribution at http://typo3.com/ and http://typo3.org/ --> <link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_e99aac0be0.css" /> <title>Komitety</title> <meta name="generator" content="TYPO3 4.0 CMS" /> <script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script> <link href="fileadmin/templates/md/css/main.css" rel="stylesheet" type="text/css" /> </head> <body> <table width="126%" height="100%" align="center" cellpadding="0" cellspacing="0"> <tr align="left" valign="top"> <td height="218" colspan="4" valign="top" bordercolor="" background="fileadmin/templates/md/image/grass.jpg" bgcolor="#FFFFFF"><div class="logo" id="logo1"><strong> </strong> <div class="logo_text" id="Layer1">Ìîëîäà Äèïëîìàò³ÿ </div> <strong> </strong></div></td> </tr> <tr align="left"> <td height="3" colspan="4" align="right" valign="middle" bgcolor="#4FB748"> </td> </tr> <tr align="left"> <td height="8" colspan="4" valign="top" bgcolor="#000000"></td> </tr> <tr align="left"> <td height="5" colspan="4" valign="top"> </td> </tr> <tr align="left"> <td width="120" valign="top" class="1-no"><div class="1-no"><a href="index.php?id=19" onfocus="blurLink(this);">About us</a></div><div class="1-no"><a href="index.php?id=18" onfocus="blurLink(this);">Visnyk</a></div><div class="1-act"><a href="index.php?id=17" onfocus="blurLink(this);">Komitety</a></div><div class="2-no"><a href="index.php?id=24" onfocus="blurLink(this);">economika</a></div><div class="2-no"><a href="index.php?id=23" onfocus="blurLink(this);">pravo</a></div><div class="2-no"><a href="index.php?id=22" onfocus="blurLink(this);">prostir</a></div><div class="2-no"><a href="index.php?id=21" onfocus="blurLink(this);">Sxid</a></div><div class="2-no"><a href="index.php?id=20" onfocus="blurLink(this);">Info</a></div><div class="1-no"><a href="index.php?id=16" onfocus="blurLink(this);">Forum</a></div><div class="1-no"><a href="index.php?id=15" onfocus="blurLink(this);">Kontacty</a></div></td> <td width="3" valign="top"></td> <td valign="top" class="1-no"> <p><!--TYPO3SEARCH_begin--><!--TYPO3SEARCH_end--></p> </td> <td width="200" valign="top" class="1-act">vbvbcvbc</td> <tr align="left"> <td height="10" colspan="4" valign="top" bgcolor="#FFFFFF"> </td> </tr> <tr align="left"> <td height="5" colspan="4" valign="top" bgcolor="#669933"></td> </tr> <tr align="left" bgcolor="#FFFFFF"> <td height="10" colspan="4" align="center" valign="top" bgcolor="#FFFFFF" class="copy_right">Copyright© Konstantinov Roman.S-team8 Group </td> </tr> </tr> </table> </body> </html> |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Разные файлы стилей css для разных страниц в TS | filippoff | Общие вопросы | 1 | 25.12.2006 14:39 |
был вроде Ext для увеличения скорости... | demav | Общие вопросы | 4 | 31.08.2006 01:02 |