I've googled and binged, but all the lessons involve nesting unordered lists, which would be fine except I already created my menu, using photoshop and slicing + rollover images.
The code photoshop came up with gave me a table of images. I don't know how I would go about putting a <ul> in a table...I've tried and it just moves my images down...
Basically I want a menu to pop open to the right when I'm hovering over one of the button icons.
Any help would be greatly appreciated.
Thanks.
<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>Guitar Centre</title> <link href="mystyle.css" rel="stylesheet" type="text/css"> </head> <body> <div class="header"> A TRIBUTE TO THE GUITAR </div> <div class="wrapper"> <div class="menu"> <table id="Table_01" width="200" height="500" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <img src="images/menubar_01.gif" width="200" height="20" alt=""> </td> </tr> <tr> <td><a href="#"> <img src="images/menubar_main_on.jpg" width="200" height="30" alt=""/> </a> </td> </tr> <tr> <td> <img src="images/menubar_03.gif" width="200" height="13" alt=""></td> </tr> <tr> <td><a href="#"> <img src="images/menubar_history_off.jpg" width="200" height="33" alt="" onmouseover="this.src='images/menubar_history_on.jpg';" onmouseout="this.src='images/menubar_history_off.jpg';"/> </td> </tr> <tr> <td> <img src="images/menubar_05.gif" width="200" height="27" alt=""></td> </tr> <tr> <td> <img src="images/menubar_about_off.jpg" width="200" height="32" alt="" onmouseover="this.src='images/menubar_about_on.jpg';" onmouseout="this.src='images/menubar_about_off.jpg';"/> </td> </tr> <tr> <td><a href="#"> <img src="images/menubar_07.gif" width="200" height="22" alt=""> </td> </tr> <tr> <td> <img src="images/menubar_guitarlegends_off.jpg" width="200" height="57" alt="" onmouseover="this.src='images/menubar_guitarlegends_on.jpg';" onmouseout="this.src='images/menubar_guitarlegends_off.jpg';"/></td> </tr> <tr> <td> <img src="images/menubar_09.gif" width="200" height="30" alt=""></td> </tr> <tr> <td> <img src="images/menubar_onlineteachers_off.jpg" width="200" height="53" alt="" onmouseover="this.src='images/menubar_onlineteachers_on.jpg';" onmouseout="this.src='images/menubar_onlineteachers_off.jpg';"/></td> </tr> <tr> <td> <img src="images/menubar_11.gif" width="200" height="28" alt=""></td> </tr> <tr> <td> <img src="images/menubar_sitemap_off.jpg" width="200" height="29" alt="" onmouseover="this.src='images/menubar_sitemap_on.jpg';" onmouseout="this.src='images/menubar_sitemap_off.jpg';"/></td> </tr> <tr> <td> <img src="images/menubar_13.gif" width="200" height="126" alt=""></td> </tr> </table> </div> <div class="content"> Little by little, inch by inch, we build a garden. </div> </div> <div class="footer"> </div> </body> </html>
img{
margin: 0;
padding: 0;
}
body{
margin: 0;
padding: 0;
width: 99%;
background-image: url('images/background.jpg') ;
background-repeat: no-repeat;
position: absolute;
top: 10px;
color: #709093;
font-family: calibri, verdana, sans-serif;
}
.wrapper{
margin: auto;
width: 70%;
padding: 0;
}
.header{
position: relative;
color: white;
background-color: #black;
margin: 45px auto 45px auto;
width: inherit;
height: 125px;
padding: 0;
height: 100;
text-align:center;
font-weight: bold;
font-size: 80px;
}
.menu{
position:fixed;
top:227px;
left:120px;
width: 200px;
height: 500px;
background: black;
background-color:#1C1C21;
border: 1px solid white;
padding:0;
margin:0;
white-space:nowrap;
list-style-type:none;
}
.menu li{
}
.menu li a{
font-size: 30px;
padding:0;
text-decoration:none;
float:left;
border: 1px solid black;
width:200px;
color:white;
}
.content{
position: relative;
background-color:#353535;
border:1px solid black;
opacity:0.6;
filter:alpha(opacity=60);
padding: 0;
margin: 20px auto 15px auto;
width: inherit;
height: 1200px;
text-align: center;
font-size: 15px;
box-shadow: 10px 10px 1px #222222;
}
.artistName{
width: 80%;
margin: 15px auto 15px auto;
position:relative;
top: 5px;
height: 30px;
margin-left: 20px;
text-align: left;
font-size: 35px;
font-weight: bold;
}
#mainImg{
width: 65%;
margin: 35px auto 20px auto;
height: 400px;
background-color: black;
}
#mainPar{
width: 95%;
margin: 20px auto 25px auto;
height: 100px;
}
.footer{
position: relative;
background-color:#1C1C21;
border:1px solid black;
opacity:0.6;
filter:alpha(opacity=60);
margin: 20px auto 15px auto;
padding: 0;
width: 49%;
height: 30px;
}
Please excuse the errors in my code...this really is just a beginner assignment...

New Topic/Question
Reply


MultiQuote





|