Jump to content

Recommended Posts

let say i have <a href="#">Forum</a>

and i wish to have it like

 

Forum ---> php

                mysql

                css

                html

 

it's like another box appeared once text "forum" hover, how do i create this in CSS?? thx

 

 

if i use this code, this won't work in IE 6.0

 

a span {display: none;}

a:hover span {

  position: absolute;

  display: block;

  background: #fdd;

  border: 1px solid red;

  }

 

<a href="#">Link<span>SUBTEXT!</span></a>

okay i have this and works for both IE and FF

 

but can i have some little pause so that when a cursor is not pointed on a text, the sub menu still appeared at least 2 seconds before disappear...is it possible

 

Below is my CSS code

 

a.tip span{

position : absolute;

display:none;

left : 49px;

top:0px;

padding : 2px 3px;

background : #dae9ed;

border : 2px solid red;

color : #086989;

font : 12px Verdana, Arial, Helvetica, sans-serif;

z-index:25;

}

a.tip:hover {

direction:ltr;

position : relative;

}

a.ltip:hover span{display:block;

}

 

HTML CODE

<a id="a" class="tip" href="#">test<span><ul><li>test A</li><li>test B</li></ul></span></a>

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.