Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS SPAN

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37412
    Manojsethi
    Participant

    When i use span tag in html and apply the property of display:none in the CSS my buttons are moved down. Need Help

    #100732
    Manojsethi
    Participant




    DAV










    C

    #header {
    height: 210px;
    width: 1102px;
    background-image: url(../Untitled-3.png);
    background-repeat: no-repeat;
    margin-right: auto;
    margin-left: auto;
    cursor: auto;
    }
    .trophy {
    background-image: url(../trophy_t.gif);
    height: 85px;
    width: 70px;
    top: 10px;
    background-repeat: no-repeat;
    background-position:center;
    position: relative;
    float: right;
    margin-right: 95px;
    }


    .blink {
    background-image: url(../nalanda.gif);
    margin: auto;
    top: 150px;
    height: 50px;
    width: 570px;
    position: relative;
    background-repeat: no-repeat;
    background-position:center;
    left: 25px;
    }

    .menu li{
    padding:0;
    border:0;
    list-style-type:: none;
    float:left;
    margin-right:5px;
    height:50px;

    }


    .menu li a:link, .menu li a:visited { display:block; height:50px;}
    .home { background-image:url(../Homehover.gif); width:180px;}
    .home a { background-image:url(../Home.gif) }

    .departments { background-image:url(../Departmentshover.gif); width:180px;}
    .departments a {background-image:url(../Departments.gif) }

    .attendance { background-image:url(../Attendancehover.gif); width:180px; }
    .attendance a { background-image:url(../Attendance.gif); }

    .aboutus { background-image:url(../Aboutushover.gif); width:180px;}
    .aboutus a { background-image:url(../Aboutus.gif); }

    .contactus {background-image:url(../Contactushover.gif); width:180px ;}
    .contactus a { background-image:url(../Contactus.gif) }
    .menu li a:hover { background:none; }
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.