mærkeligt. havde tilføjet det ved en ny kommentar, men kan dag godt se, der ikke er noget.
her index.php
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
?>
<!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"><head>
<?php mosShowHead()?>
<?php if ( $my->id ) { initEditor(); } ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?>
<link rel="alternate" title="<?php echo $mosConfig_sitename; ?>" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $mosConfig_sitename?>" href="<?php echo $mosConfig_live_site;?>/index.php?option=com_rss&feed=RSS2.0&no_html=1" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div class="container">
<div class="top">
<a href="<?php echo $GLOBALS['mosConfig_live_site']; ?>"><div id="sitename"><p><?php echo $GLOBALS['mosConfig_sitename']?></p></div></a>
</div>
<div class="header">
</div>
<div class="main">
<div class="item">
<div class="content">
<div class="body">
<?php if (mosCountModules('user1')) : ?>
<?php mosLoadModules ( 'user1',-2 ); ?>
<?php endif; ?>
<?php mosMainBody(); ?>
<?php if (mosCountModules('user2')) : ?>
<?php mosLoadModules ( 'user2',-2 ); ?>
<?php endif; ?>
<?php if (mosCountModules('bottom')) : ?>
<?php mosLoadModules ( 'bottom',-2 ); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="navigation">
<?php mosLoadModules ( 'right',-2 ); ?>
<? $sg = 'banner'; include "templates.php"; ?>
</div>
<div class="clearer"><span></span></div>
<div id="footer">
<? $sg = ''; include "templates.php"; ?>
</div>
</div>
</body>
</html>
_____________________________________________________________________
Her css:
* {
margin: 0;
padding: 0;
}
html {
height: 100%;
}
a {
color: #682;
}
a:hover {
color: #9A6;
}
body {
background: #e2e2e2;
color: #333;
font-weight: normal;
font-size: 11px;
font-family: "Lucida Sans Unicode", sans-serif;
}
input {
color: #555;
font-family: "Lucida Sans Unicode", sans-serif;
font-weight: normal;
font-size: 12px;
}
p,cite,code,ul {
font-size: 100%;
padding-bottom: 1.2em;
}
ul {
margin-left: 1.2em;
}
li {
list-style-image: url(../images/li.gif);
}
h1 {
font-size: 1.4em;
}
blockquote {
background: #FFF;
border-bottom: 1px solid #EEE;
border-top: 1px solid #EEE;
color: #333;
display: block;
font-size: 0.9em;
margin-bottom: 1.2em;
padding: 6px 12px;
}
blockquote p {
padding: 3px 0;
}
h1,h2,h3 {
color: #654;
}
/* misc */
.clearer {
clear: both;
}
/* structure */
.container {
background: #FFF;
margin: 0 auto;
width: 680px;
}
/* top */
#sitename {
width: 680px;
height: 60px;
}
#sitename p {
text-align: left;
font-family: "Lucida Sans Unicode", Times, serif;
font-size: 26px;
font-weight: bold;
letter-spacing: 1px;
white-space: nowrap;
color: #FFF;
margin: 0;
padding: 15px 0 0 20px;
}
.top {
background: #000;
font-family: Verdana, sans-serif;
font-size: 30px;
height: 60px;
width: 680px;
}
.top a {
text-decoration: none;
}
/* header */
.header {
background: url(../images/topImage.jpg) no-repeat;
height: 340px;
width: 680px;
}
/* item */
.item {
clear: both;
}
.item .date div {
padding-top: 4px;
}
.item .date span {
font: normal 1.6em serif;
}
.item .content {
float: left;
width: 420px;
}
.contentheading,
.componentheading {
font-size:1.3em;
color: #567300;
padding-bottom:5px;
}
.componentheading {
font-size:1.4em;
}
.contentpaneopen {
padding: 5px 0 0 0;
margin: 5px 0 0 0;
}
.small, .createdate, .modifydate {
color:#777;
font-size:90%;
}
.item .body {
padding: 0 0 0 18px;
}
.body .moduletable {
margin: 20px 0 20px 0;
}
.poll td{
text-align: left;
}
.back_button {
margin: 0 0 220px 0;
}
/* main */
.main {
float: left;
margin-left: 20px;
}
/* navigation */
.navigation {
float: left;
margin: 20px 0 0 10px;
width: 200px;
}
.navigation .moduletable {
margin-bottom: 15px;
}
.navigation .moduletable form {
text-align: left;
}
.navigation .moduletable-menu {
padding: 0;
margin-bottom: 0;
}
.navigation .moduletable h3,
.navigation .moduletable-menu h3 {
background: #81AC00;
color: #FFF;
font-size: 16px;
line-height: 40px;
padding-left: 12px;
margin-bottom: 8px;
width: 200px;
}
.navigation .moduletable-menu h3 {
margin: 0;
}
.navigation ul {
margin: 0;
padding: 0;
}
.navigation li {
border-bottom: 1px solid #D5E8AD;
list-style: none;
list-style-image: none;
}
.navigation .mainlevel li {
list-style: none;
list-style-image: none;
}
.navigation li a {
color: #553;
display: block;
padding: 8px 4px 8px 12px;
text-decoration: none;
}
.navigation li a:hover {
background: #F0FFC6;
color: #553;
}
.button {
margin: 5px 0 0 0;
background: #81AC00;
color: #FFF;
}
/* footer */
#footer {
text-align: center;
background: #81AC00;
color: #FFF;
font-size: 12px;
width: 680px;
line-height: 40px;
}
a.sgfooter:link, a.sgfooter:visited {
color: #FFF;
font-size: 12px;
font-weight: normal;
font-family: "Lucida Sans Unicode", sans-serif;
text-decoration: none;
}
a.sgfooter:hover {
text-decoration: none;
}
#sgf {
margin:0;
color: #FFF;
font-size: 10px;
font-family: "Georgia", Arial, serif;
}
.sgf {
text-align: right;
text-decoration: none;
}
.sgf1 {
text-align: left;
}
a.sglink:link, a.sglink:visited {
color: #666;
font-family: Tahoma, "Courier New", Courier, monospace;
text-decoration: none;
}
a.sglink:hover {
text-decoration: none;
}
/* floats */
.left {
float: left;
}
.right {
float: right;
}