Jump to content
php.lv forumi

IE6 problēma ar <a> tagda izvadu display:block; formā


Recommended Posts

Posted

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 :)

Posted (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 by NiTrino
Posted (edited)

Liels paldies!

Man šitā bija

<a href='' onclick='ajax_loadContent("di....

Pietika kaut ko ierakstīt href'ā un aizgāja :)

Edited by Wuu

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...