Hiii all....
I've been working on a project..
i have a problem when creating the menu of the website.
The menu i'v designed is a sliding menu..bt its not the center of attraction.
my problem is i wanna align the menu to the center of the page..
here i'm givin the code of the page.I'v used CSS and javascript to animate the menu.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
<!--
Base template (without user's data) checked by http://validator.w3.org : "This page is valid XHTML 1.0 Transitional"
-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title></title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div class="art-nav">
<ul class="art-menu">
<li>
<a href="#" class="active"><span class="l"></span><span class="r"></span><span class="t">Home</span></a>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">Academics</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">People</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">Students</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">Library</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">Admission</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">Alumni</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">Administration</span></a>
<ul>
<li><a href="#">Menu Subitem 1</a>
<ul>
<li><a href="#">Menu Subitem 1.1</a></li>
<li><a href="#">Menu Subitem 1.2</a></li>
<li><a href="#">Menu Subitem 1.3</a></li>
</ul>
</li>
<li><a href="#">Menu Subitem 2</a></li>
<li><a href="#">Menu Subitem 3</a></li>
</ul>
</li>
<li>
<a href="#"><span class="l"></span><span class="r"></span><span class="t">About</span></a>
</li>
</ul>
</div>
</body>
</html>
i'v tried it with div tag..bt its still nt workin..
Thanks..