![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |

|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
*{margin:0;padding:0;}
#nav {
width: 260px;
padding: 20px;
border: 3px solid #211E08;
margin:20px auto;
text-align:center;
}
#hide
{
width:50px;
text-align:center;
margin:auto;
}
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
li {
margin: 1px;
padding: 0px;
width: 100px;
text-align: right;
}
#nav a {
width: 100px;
display: block;
background: #222;
color: #efefff;
font: 11px Tahoma, Arial;
border-left: 12px solid #9999cc;
text-decoration: none;
margin: 1px auto;
padding: 0px;
border-right:5px solid #cfcfcf;
line-height:30px;
}
#nav a:hover {
text-decoration:underline;
}
</style>
</head>
<body>
<div id="wrap">
<div id="nav">
<a href="#">Home</a>
<a href="#" onclick="document.getElementById('hide').style.display=(document.getElementById('hide').style.display!='none')?'none':'block';return false;">Click Me</a>
<div id="hide" style="display:none;">
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
</div>
<a href="#">Blog</a>
<a href="#">Contact</a>
<a href="#">Links</a>
</div>
</div>
</body>
</html>

I want to remove the black boarder line so that i cn insert the drop down code between table tags <td>..................</td>
border: 3px solid #211E08;
I want to make the shifting or the drop down displacement to be a little. That is the drop down items will have a little shift from the the main menu when it drops.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
*{margin:0;padding:0;}
#nav {
width: 260px;
padding: 20px;
border: 3px solid #211E08;
margin:20px auto;
text-align:center;
}
#hide
{
width:50px;
text-align:center;
margin:auto;
}
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
li {
margin: 1px;
padding: 0px;
width: 100px;
text-align: right;
}
#nav a {
width: 100px;
display: block;
background: #222;
color: #efefff;
font: 11px Tahoma, Arial;
border-left: 12px solid #9999cc;
text-decoration: none;
margin: 1px auto;
padding: 0px;
border-right:5px solid #cfcfcf;
line-height:30px;
}
#nav a:hover {
text-decoration:underline;
}
</style>
</head>
<body>
<div id="wrap">
<div id="nav">
<a href="#">Home</a>
<a href="#" onclick="document.getElementById('hide').style.display=(document.getElementById('hide').style.display!='none')?'none':'block';return false;">Click Me</a>
<div id="hide" style="display:none;">
<a href="#">Lorem Ipsum</a>
<a href="#" onclick="document.getElementById('hide2').style.display=(document.getElementById('hide2').style.display!='none')?'none':'block';return false;">Click Me</a>
<div id="hide2" style="display:none; background: #fc0;width:118px;margin:10px;">
<a href="#">Hellow</a>
<a href="#">How are you</a>
<a href="#">Rangana</a>
<a href="#">Raymond Angana</a>
</div>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
</div>
<a href="#">Blog</a>
<a href="#">Contact</a>
<a href="#">Links</a>
</div>
</div>
</body>
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
*{margin:0;padding:0;}
#nav {
width: 260px;
padding: 20px;
border: 3px solid #211E08;
margin:20px auto;
text-align:center;
}
#hide
{
width:50px;
text-align:center;
margin:auto;
}
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
li {
margin: 1px;
padding: 0px;
width: 100px;
text-align: right;
}
#nav a {
width: 100px;
display: block;
background: #222;
color: #efefff;
font: 11px Tahoma, Arial;
border-left: 12px solid #9999cc;
text-decoration: none;
margin: 1px auto;
padding: 0px;
border-right:5px solid #cfcfcf;
line-height:30px;
}
#nav a:hover {
text-decoration:underline;
}
/***********************************
this is the part to make the second column unique */
#hide2 a{
background:#36f;
width:80px;
display:block;
border:0px;
}
/**********************************/
</style>
</head>
<body>
<div id="wrap">
<div id="nav">
<a href="#">Home</a>
<a href="#" onclick="document.getElementById('hide').style.display=(document.getElementById('hide').style.display!='none')?'none':'block';return false;">Click Me</a>
<div id="hide" style="display:none;">
<a href="#">Lorem Ipsum</a>
<a href="#" onclick="document.getElementById('hide2').style.display=(document.getElementById('hide2').style.display!='none')?'none':'block';return false;">Click Me</a>
<div id="hide2" style="display:none;width:118px;margin:10px;">
<a href="#" class="unique">Hellow</a>
<a href="#" class="unique">How are you</a>
<a href="#" class="unique">Rangana</a>
<a href="#" class="unique">Links</a>
</div>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
<a href="#">Lorem Ipsum</a>
</div>
<a href="#">Blog</a>
<a href="#">Contact</a>
<a href="#">Links</a>
</div>
</div>
</body>
</html>

Users browsing this forum: No registered users and 6 guests