hover problem

1 view
Skip to first unread message

Shoukhin

unread,
Aug 5, 2011, 12:47:25 PM8/5/11
to webpers workshop-2
Rohan vai apni sheidin hover je code ta kore dekhalen je, background
black hoe gele tar paragraph o link o shathe shathe color change kore
oi code ta ektu post koren otherwise keu parle help koren.

Ahsan Habib

unread,
Aug 5, 2011, 1:07:03 PM8/5/11
to webpers workshop-2
it was kinda 2 step code..
1.main div ,(which u want to hover) give it a background color (like
before hovering)...in css..
then give color to each paragraph seperately..(will looks like before
hovering )
3.then

Ahsan Habib

unread,
Aug 5, 2011, 1:09:48 PM8/5/11
to webpers workshop-2


then...
* hover the main box with desired color(look after hovering)
* hover each paragraph and link with desired color(look after
hovering)
that should work...

Noushadur Rahman

unread,
Aug 5, 2011, 1:16:34 PM8/5/11
to webpers-w...@googlegroups.com
this is the code and thank you for helping

body{
    width:960px;
    height:100%;
    margin:0 auto;
}

    #main_container{
        width:960px;
        height:100%;
        margin:0 auto;
    }
   
        #check{
            width:300px;
            height:300px;
            background:#33FFFF;
        }
       
            #check p{
                color:#99FF00;
            }
           
            #check a{
                color:#9999FF;
            }
           
            #check:hover{
                background:url(submit2.png);
            }
           
                #check:hover p{
                    color:#000000;
                }
               
                #check:hover a{
                    color:#FF0000;

Ahsan Habib

unread,
Aug 6, 2011, 2:43:44 AM8/6/11
to webpers workshop-2
@ Noushadur rahman shoukhin---if you already have the code then why
you are asking for the code..??...and by the way that is not the code
what rohan bhai gave in the last class..and i dnt need the
code...Anyways welcome for unnessesary help..

Rima Hoq

unread,
Aug 6, 2011, 6:04:46 AM8/6/11
to webpers-w...@googlegroups.com
how to remove the underline from a link? text decoration none deyar por o ashtese!

Noushadur Rahman

unread,
Aug 6, 2011, 8:03:51 AM8/6/11
to webpers-w...@googlegroups.com
sorry bhaia ami bujhte parini j apni mind korben.

Noushadur Rahman

unread,
Aug 6, 2011, 8:04:29 AM8/6/11
to webpers-w...@googlegroups.com
sorry bhaia ami bujhte parini j apni mind korben. @Ahsan vai

Ahsan Habib

unread,
Aug 6, 2011, 1:52:24 PM8/6/11
to webpers workshop-2
@rima--.css e #body er por #a diecho naki..??...ai tag ta '#' chara
kintu...??...tao na hoile .css e oi div er vitore (text-
decoration:none) die dekho...hobar kotha..
Reply all
Reply to author
Forward
0 new messages