Hey, i've tried to convert a free CSS template to fit into a CMS.
it looks like that: http://www.airlinesofisrael.com/phpvms.full/index.php/
i belive its a CSS problem can someone help?
My CSS file is below:

* { padding: 0; margin: 0; outline: 0; }

body, html { height: 100%; }

body {
    background: #e1e5e8;
    font-family: "Georgia", Tahoma, Sans-Serif;
    font-size: 12px;
    line-height: 18px;
    color: #888;
}
input, textarea, select { font-family: "Georgia", Tahoma, Sans-Serif; font-size:12px; }
.field { padding: 4px 5px; border: solid 1px #e7e7e7; color: #969696; height: 15px; }
.field-focused { color: #333; }
input.button { padding: 4px 5px; cursor: pointer; }

a { color: #45c7ee; text-decoration: underline; cursor: pointer; }
a:hover { text-decoration: none; }
a img { border: 0; }

h2 { font-size: 19px; line-height: 1; font-weight: normal; color: #464646; font-family: "Trebuchet MS", Tahoma, Sans-Serif; margin-bottom: 5px; }

p { padding-bottom: 18px; }

.left, .alignleft { float: left; display: inline; }
.right, .alignright { float: right; display: inline; }

.cl { font-size: 0; line-height: 0; clear: both; display: block; height: 0; }

.notext { font-size: 0; line-height: 0; text-indent: -4000px; background-repeat: no-repeat; }

.al { text-align: left; }
.ar { text-align: right; }
.ac { text-align: center; }

#page { width: 874px; margin: 0 auto; }
#page { padding: 0 28px; min-height: 100%; height: auto !important; height: 100%; background: url(images/bg.gif) repeat-y center 0; }

#top { padding: 20px 0 16px; }

#logo { float: left; display: inline; width: 233px; font-size: 0; line-height: 0; }
#logo a { display: block; height: 67px; text-indent: -4000px; background: url(images/logo.gif); }

#search { float: right; display: inline; padding-top: 18px; width: 227px; }
#search .field-holder { float: left; display: inline; width: 196px; background: url(images/search-field.gif) no-repeat 0 0; padding: 1px; }
#search .field { width: 186px; border: 0; background: none; }
#search .button { float: right; display: inline; width: 25px; height: 25px; font-size: 0; line-height: 0; text-indent: -4000px; }
#search .button { background: url(images/search-button.gif) no-repeat 0 0; border: 0; }

#navigation { height: 38px; background: url(images/navigation.gif) no-repeat; padding: 8px 10px 6px; margin-top: 16px; }
#navigation ul { font-size: 13px; line-height: 38px; text-transform: capitalize; }
#navigation ul li { float: left; display: inline; list-style-type: none; padding-right: 2px; }
#navigation ul li a { float: left; display: inline; color: #fff; text-decoration: none; padding-left: 17px; }
#navigation ul li a span { float: left; display: inline; padding-right: 17px; background-position: right 0 !important; }
#navigation ul li a:hover,
#navigation ul li a.active,
#navigation ul li a:hover span,
#navigation ul li a.active span { color: #717171; background: url(images/nav-active.gif) no-repeat 0 0; }

#header { padding-bottom: 10px; }

#slider { height: 327px; background: url(images/slider.gif) no-repeat 0 0; position: relative; }
#slider .slider-nav a { display: block; width: 18px; height: 49px; font-size: 0; line-height: 0; text-indent: -4000px; position: absolute; top: 120px; }
#slider .slider-nav a.prev { left: 0; background: url(images/button-prev.gif); }
#slider .slider-nav a.next { right: 0; background: url(images/button-next.gif); }

#slider-holder { height: 327px; }
#slider-holder .jcarousel-clip { height: 327px; width: 874px; position: relative; overflow: hidden; }
#slider-holder .slide-image { float: right; display: inline; }
#slider-holder .slide-info { float: left; display: inline; width: 424px; padding-top: 23px; }
#slider-holder .slide-info p { padding-bottom: 8px; }
#slider-holder ul { width: 874px; height: 327px; position: relative; overflow: hidden; }
#slider-holder ul li { list-style-type: none; float: left; display: inline; height: 267px; width: 712px; padding: 56px 108px 4px 54px; position: relative; overflow: hidden; }

#main { border-bottom: solid 1px #e3e7e9; margin-bottom: 6px; margin: auto;}

h2.txt-we-love-mondays { height: 94px; background-image: url(images/txt-we-love-mondays.gif); }
h3.txt-monday-again { background-image: url(images/txt-monday-again.gif); }
h3.txt-wedothis { background-image: url(images/txt-wedothis.gif); }
h3.txt-247 { background-image: url(images/txt-247.gif); }

.button-more { display: block; width: 66px; height: 22px; font-size: 0; line-height: 0; text-indent: -4000px; background: url(images/button-more.gif) no-repeat 0 0; }
.more { padding-left: 10px; background: url(images/arr.gif) no-repeat 0 center; }

.cols { padding: 15px 0 10px; }
.cols .col { float: left; display: inline; }
.cols .col-last { margin-right: 0 !important; }
.cols .col h3.notext { height: 45px; margin-bottom: 5px; }

.three-cols .col { width: 264px; margin-right: 41px; }
.two-cols .col { width: 420px; margin-right: 34px; }

#footer { height: 41px; background: url(images/footer.gif) no-repeat 0 0; line-height: 41px; padding: 10px 10px 10px 22px; color: #fff; }
#footer p { padding-bottom: 0; }
#footer a { color: #fff; text-decoration: none; }
#footer a:hover { color: #237087; }
#footer span { margin: 0 6px; }

And this is my layout file:

  <?php
/**
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 *   
 * 
 */
?><!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" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<title><?php echo $page_title; ?></title>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo SITE_URL?>/lib/skins/lolim/style.css" />


<?php 
/* This is required, so phpVMS can output the necessary libraries it needs */
echo $page_htmlhead; 
?>

<?php /*Any custom Javascript should be placed below this line, after the above call */ ?>
    <script src="<?php echo SITE_URL?>/lib/skins/lolim/js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="<?php echo SITE_URL?>/lib/skins/lolim/js/jquery.jcarousel.pack.js" type="text/javascript"></script>
    <script src="<?php echo SITE_URL?>/lib/skins/lolim/js/jquery-func.js" type="text/javascript"></script>


</head>
<body>
<?php
/* This should be the first thing you place after a <body> tag
    This is also required by phpVMS */
echo $page_htmlreq;
?>
<div id="page" class="shell">
    <!-- Logo + Search + Navigation -->
    <div id="top">
        <div class="cl">&nbsp;</div>
        <h1 id="logo"><a href="<?php echo SITE_URL?>/lib/skins/lolim/images/logo.gif">MONDAYS</a></h1>
        <div class="field-holder">
        <?php 
        /* 
        Quick example of how to see if they're logged in or not
        Only show this login form if they're logged in */
        if(Auth::LoggedIn() == false)
        { ?>
            <form name="loginform" action="<?php echo url('/login'); ?>" method="post">
                Sign-in with your pilot id or email, or <a href="<?php echo url('/registration'); ?>">register</a><br />
            <input type="text" name="email" value="" onClick="this.value=''" />
            <input type="password" name="password" value="" />
            <input type="hidden" name="remember" value="on" />
            <input type="hidden" name="redir" value="index.php/profile" />
            <input type="hidden" name="action" value="login" />
            <input type="submit" name="submit" value="Log In" />
            </form>
            <?php
        }   
        /* End the Auth::LoggedIn() if */
        else /* else - they're logged in, so show some info about the pilot, and a few links */
        {

        /*  Auth::$userinfo has the information about the user currently logged in
            We will use this next line - this gets their full pilot id, formatted properly */
        $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid);
        ?>

        <img align="left" height="50px" width="50px" style="margin-right: 10px;"
            src="<?php echo PilotData::getPilotAvatar($pilotid);?>" />

        <strong>Pilot ID: </strong> <?php echo $pilotid ; ?>
        <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br />
        <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?>
        <br />
        <a href="<?php echo url('/pireps/new');?>">File a New PIREP</a> | 
        <a href="<?php echo url('/schedules/bids');?>">View My Bids</a> | 
        <a href="<?php echo url('/profile/');?>">View Pilot Center</a>
        <?php
        } /* End the else */
        ?>
        </div>
    </div>

<div class="cl">&nbsp;</div>
        <div id="navigation">
            <ul>
                <li><a href="#" class="active"><span>home</span></a></li>
                <li><a href="#"><span>About us</span></a></li>
                <li><a href="#"><span>Pilot Center</span></a></li>
                <li><a href="#"><span>Resources</span></a></li>
                <li><a href="#"><span>Forum</span></a></li>
                <li><a href="#"><span>Bar</span></a></li>
                <li><a href="#"><span>Rodoy</span></a></li>
            </ul>
        </div>   
    </div>
    <!-- END Logo + Search + Navigation -->
    <div id="main">
    <center>

              <?php

echo $page_content; 


?>
</center>
</div>



    </div>
    </div>
    <div id="footer">
    <p>copyright &copy; 2007 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br />
    <!-- Please retain this!! It's part of the phpVMS license. You must display a
            "powered by phpVMS" somewhere on your page. Thanks! -->
    <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a></p>

        </div>   
</div>
</body>
</html>

Thanks!

Try this code for your dropdown menu:

#nav ul {
    background: none repeat scroll 0 0 #F0F0F0;
    left: -9999px;
    list-style: none outside none;
    padding: 0 5px;
    position: absolute;
}



#templatemo_menu {
    clear: both;
    height: 39px;
    margin: 0 auto;
    padding: 11px 0 0;
    width: 1024px;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.