Jump to content

Little Goat

Members
  • Posts

    733
  • Joined

  • Last visited

Posts posted by Little Goat

  1. I'll tell you why:in css you have .submenuon:

    AND IN MY STYLE SHEET, I HAVE THIS....submenuon{position:absolute; display:block; padding:5px; font-size:11pt}div.submenuon ul{width:500px}div.submenuon li{padding:5px;list-style-type:none; width:450px}div.submenuon a:link{text-decoration:none; background-color:white; width:450px; padding:5px}div.submenuon a:visited{text-decoration:none; background-color:white; width:450px; padding:5px}div.submenuon a:hover{text-decoration:underline; background-color:orange; width:450px; padding:5px}div.submenuon a:active{text-decoration:none; background-color:blue; width:450px; padding:5px}
    while the div's class is submenu without the ON:
    <div class="submenu" style="position:absolute; left:100px; top:125px; height: 1px;"><ul><li><a href="#">Mission Statement</a></li><li><a href="#">Directions</a></li><li><a href="#">Contact Us</a></li><li><a href="#">History</a></li></ul></div>
    here is the code I came up with that works fine:
    <html><head><style type="text/css">body{background-color:#000000;}.submenuon{position:absolute; display:block; padding:5px; font-size:11pt}div.submenuon ul{width:500px}div.submenuon li{padding:5px;list-style-type:none; width:450px}div.submenuon a:link{text-decoration:none; background-color:white; width:450px; padding:5px}div.submenuon a:visited{text-decoration:none; background-color:white; width:450px; padding:5px}div.submenuon a:hover{text-decoration:underline; background-color:orange; width:450px; padding:5px}div.submenuon a:active{text-decoration:none; background-color:blue; width:450px; padding:5px}</style><body><div class="submenuon" style="position:absolute; left:100px; top:125px; height: 1px;"><ul><li><a href="#">Mission Statement</a></li><li><a href="#">Directions</a></li><li><a href="#">Contact Us</a></li><li><a href="#">History</a></li></ul></div></body></html>

    notice the div class has submenuon.LG

  2. well to differentiate code, do this:

    
    

    by clicking the code button when replying or just type it in around your code. next, if you put styles in the a:link properties, you don't need to put them in the other a properties also.and why do you have the div's width set to 1px?LG

  3. Name:Mister.netPrice:Free hosting with $35 for domain name registrationScripting:PHP, mysql, perlSpace:250 MBBandwidth: 5 GBAds: None at allWeb address: personal domain, unlimited SubdomainsAdditional comments: This is good for someone who just wants to get started and don't need a bunch of space.Email accounts: unlimitedLG

  4. ok, ive seen some <select> dropdown menus hav it so that if you try to select one option, it wont let you. (such as the jump menu on this site)anyone know how to do this?thnx, LG

×
×
  • Create New...