Wuu Posted February 23, 2009 Report Share Posted February 23, 2009 a.button_select_menu { display:block; background-image:url('select.png'); background-position:center center; background-repeat:no-repeat; width:150px; height:21px; margin:0; padding:0; } a.button_select_menu:hover { display:block; background-image:url('select_hover.png'); background-position:center center; background-repeat:no-repeat; width:150px; height:21px; margin:0; padding:0; } Uz I6 strādā tikai hover! a.button_select_menu vispār nerāda! Kas varētu būt pa vainu? Rāda tikai tad kad ar peli uzvelc virsu! Lietojot DIV nebija problēmu ,bet redz divs ir dizaina elements un nav pareizi viņu lietot iekš <a> tāga ,labāk nebūtu to dzirdējis dzīvotu mierīgāk :) Quote Link to comment Share on other sites More sharing options...
NiTrino Posted February 23, 2009 Report Share Posted February 23, 2009 (edited) BTW, ne pa tēmu, bet iekš hover, nav obligāti dublēt to kas ir bez hover, respektīvi a.button_select_menu:hover { background-image:url('select_hover.png'); } Bet izskatās korekti, man gan tagad nav sestā uz kompja... Edited February 23, 2009 by NiTrino Quote Link to comment Share on other sites More sharing options...
NiTrino Posted February 23, 2009 Report Share Posted February 23, 2009 (edited) Tam <a> tagam ir attribūts href ? Bez href nestrādā. Edited February 23, 2009 by NiTrino Quote Link to comment Share on other sites More sharing options...
bubu Posted February 23, 2009 Report Share Posted February 23, 2009 Un varbūt vienkārši select.png failu esi aizmirsis uzlikt. Quote Link to comment Share on other sites More sharing options...
Wuu Posted February 23, 2009 Author Report Share Posted February 23, 2009 (edited) Liels paldies! Man šitā bija <a href='' onclick='ajax_loadContent("di.... Pietika kaut ko ierakstīt href'ā un aizgāja :) Edited February 23, 2009 by Wuu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.