


Denne her kan jeg ikke dreje ??
Hvis jeg benytter denne kode
Code: Select all
<html><?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?> <!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 if ( $my->id ) initEditor(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /><?php mosShowHead(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/templates/test/css/template_css.css" />
</head>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=800 align=center border=0>
<TBODY>
<TR>
<TD width="800" height= "200" align=center valign=top>
<img border="0" src="templates/test/images/logo.jpg" align=center width="800" height="200">
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=800 align=center border=0>
<TBODY>
<TR>
<TD>
<img border="0" src="templates/test/images/bar_top.png" align=center width="800" height="12">
</TD></TR></TBODY></TABLE>
<TABLE class="Main_Site" cellSpacing=0 cellPadding=0 width=800 align=center border=0>
<TBODY>
<TR>
<TD width="800" >
<TABLE cellSpacing=0 cellPadding=5 width=800 border=0>
<TBODY>
<TR>
<TD class="left_mod" width="160" align=left valign=top background="templates/test/images/bar_left.png" style="padding-left: 5px;"><p>
<?php mosLoadModules ( "left" ); ?></p>
<p><?php mosLoadModules ( "user1" ); ?></p>
<p align="bottom left">
<a target="_blank" href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.test.dk/">
<img border="0" src="templates/test/images/vcss.jpg" width="88" height="31" alt="Valid CSS!">
</TD>
<?php
if ( mosCountModules( 'right' ) >= 1) // If right module activ, we give place for it, else ...
{
?>
<TD class="main_body" width="520" align="left" valign="top" style="padding-right: 5px" ><?php mosMainBody(); ?></TD>
<TD class="right_mod" width="120" align="left" valign="top" style="bordercolor=#ADADAD" style="border-left-style: dotted; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px">
<p align="center"><?php mosLoadModules ( "right" ); ?></p>
<p align="center"><?php mosLoadModules ( "user2" ); ?></TD>
</TR>
<?php
}
else // If right modul is inactive, we give more space for the main page
{
?>
<TD class="main_body" width="635" align="left" valign="top" style="padding-right: 5px"><?php mosMainBody(); ?></TD>
<TD width="5" align="left" valign="top"> <!-- Adding a 5px "border" to the right -->
<?php
}
?>
</TBODY></TABLE></TD>
</TR>
<!-- Start Bottom -->
<TR>
<TD width="800" height="30" background="templates/test/images/bottom.jpg" style="Padding-left: 5px"><p class="Design" align=Right valign=center>
<a target="_blank" href="http://www.test.dk">Design test <!-- My design, please leave it be :) -->
</TD></TR></TBODY></TABLE>
<!-- End Bottom -->
</BODY></HTML>
Code: Select all
*-> Start Body: (Using background image combined with background color, Repeats only Horizontal) */
Body {
Padding-top: 0Pt;
Padding-right: 0Pt;
Padding-bottom: 0Pt;
Padding-left: 0Pt;
Background-color: #4Ba8ff;
Background-image: Url(../images/body_bg.jpg);
Background-repeat: Repeat-x;
Background-attachment: Scroll;
}
/* end Body <-*/
Td, Tr {
Font-size: 12Px;
Color: #000000;
Font-family: Arial, Helvetica, Sans-serif;
}
Div{
Font-size: 12Px;
Color: #000000;
Font-family: Arial, Helvetica, Sans-serif;
overflow: hidden;
}
P{
Font-size: 12Px;
Color: #000000;
Font-family: Arial, Helvetica, Sans-serif;
/* -> Only use this if contenc don't fit
overflow: hidden;
It will hide the contens that dont fith. works in ie7 & FF->*/
}
.Ontab {
Font-weight: Normal;
Color: #000000;
Background-color: #Ffffff;
Text-align: Center;
}
.Offtab {
Font-weight: Normal;
Color: #000000;
Background-color: #Ffffff;
Text-align: Center;
}
.Tabpadding {}
.Tabheading {
Text-align: Left;
}
.Pagetext {
Display: None;
Visibility: Hidden;
Position: Relative;
Top: 0Px;
}
H4 {
Font-weight: Bold;
Font-size: 15Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
}
H5 {
Font-weight: Bold;
Font-size: 13Px;
Color: #000000;
Font-family: Arial, Helvetica, Sans-serif;
}
H6 {
Font-weight: Bold;
Font-size: 12Px;
Color: #000000;
Font-family: Arial, Helvetica, Sans-serif;
}
Hr {
Border-right: 2Px;
Border-top: 2Px Inset;
Background: #3B4d67;
Border-left: 2Px Inset;
Border-bottom: 2Px Inset;
Height: 1Px;
}
Hr.separator {
Border-right: 0Px;
Border-top: 0Px;
Background: #3B4d67;
Border-left: 0Px;
Width: 75Px;
Border-bottom: 0Px;
Height: 1Px;
}
A:link {
Font-size: 11Px;
Color: #3B4d67;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A:visited {
Font-size: 11Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A:hover {
Color: #2570A5;
Text-decoration: None;
}
A.mainlevel:link, A.mainlevel:visited {
Display: Block;
Font-size: 12Px;
Font-weight: Bold;
Color: #000;
Font-family: Arial, Helvetica, Sans-serif;
/*Text-transform: Uppercase;*/
Text-align: Left;
Height: 21Px;
Line-height: 21Px;
Text-indent: 14Px;
Width: 156Px;
background-image: url(../images/button.png);
background-position: left center;
background-repeat: no-repeat;
}
A.mainlevel:hover {
Display: Block;
Font-size: 12Px;
Color: #666;
Font-family: Arial, Helvetica, Sans-serif;
/*Text-transform: Uppercase;*/
Text-align: Left;
Height: 21Px;
Line-height: 21Px;
Text-indent: 14Px;
Width: 156Px;
background-image: url(../images/button_over.png);
background-position: left center;
background-repeat: no-repeat;
}
A.mainlevel#active_menu {
Display: Block;
Font-size: 12Px;
Color: #666699;
Font-family: Arial, Helvetica, Sans-serif;
Text-transform: Uppercase;
Text-align: Left;
Height: 21Px;
Line-height: 21Px;
Text-indent: 14Px;
Width: 156Px;
background-image: url(../images/button_active.png);
background-position: left center;
background-repeat: no-repeat;
}
A.mainlevel#active_menu:hover {
Color: #999999;
}
A.mainmenu:link {
Font-weight: Normal;
Color: #3B4d67;
}
A.mainmenu:visited {
Font-weight: Normal;
Color: #3B4d67;
}
A.mainmenu:hover {
Color: #2570A5;
Text-decoration: Underline;
}
A.sublevel:hover {
Color: #2570A5;
Text-decoration: Underline;
}
A.sublevel:link {
Font-weight: Normal;
Color: #2570A5;
}
A.sublevel:visited {
Font-weight: Normal;
Color: #2570A5;
}
A.contentpagetitle:link {
Font-weight: Bold;
Font-size: 13Px;
Color: #3B4d67;
Text-align: Left;
Text-decoration: Underline;
}
A.contentpagetitle:visited {
Font-weight: Bold;
Font-size: 13Px;
Color: #3B4d67;
Text-align: Left;
Text-decoration: Underline;
}
A.contentpagetitle:hover {
Font-weight: Bold;
Font-size: 13Px;
Color: #2570A5;
Text-align: Left;
Text-decoration: Underline;
}
.Contentpane {
/*Background: #F5f4f4; */}
.Contentpaneopen {
/*Border-right: #A3c2ec 0Px Solid;
Border-top: #A3c2ec 0Px Solid;
Border-left: #A3c2ec 0Px Solid;
Border-bottom: #A3c2ec 0Px Solid;*/
}
.Contentheading {
Background-position: Left Top;
Font-weight: Bold;
Font-size: 16Px;
Color: #3300Cc;
Text-indent: 0Px;
Line-height: 15Px;
Background-repeat: No-repeat;
Font-family: Arial, Helvetica, Sans-serif;
Height: 15Px;
Text-align: Left;
}
.Contentpagetitle {
Font-weight: Bold;
Font-size: 13Px;
Color: #3300Cc;
Text-align: Left;
}
Table.contenttoc {
Color: #3300CC;
Background-color: #FFF;
}
Table.contenttoc Td {
Font-weight: Normal;
Font-size: 8Pt;
Font-family: Arial, Helvetica, Sans-serif;
Text-align: Left;
}
.Contentdescription {
Font-size: 14Px;
Color: #000000;
Font-family: Arial, Helvetica, Sans-serif;
Text-align: Left;
}
A.blogsection:link {
Font-weight: Normal;
Font-size: 10Px;
Color: #405115;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.blogsection:visited {
Font-weight: Normal;
Font-size: 10Px;
Color: #405115;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.blogsection:hover {
Font-weight: Normal;
Font-size: 10Px;
Color: #759328;
Text-decoration: Underline;
}
A.weblinks:link {
Font-weight: Normal;
Color: #405115;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.weblinks:visited {
Font-weight: Normal;
Color: #405115;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.weblinks:hover {
Color: #759328;
Text-decoration: Underline;
}
A.readon:link {
List-style: Inside;
Display: List-item;
Font-weight: Normal;
Font-size: 10Px;
Color: #3B4d67;
Font-family: Arial, Helvetica, Sans-serif;
White-space: Normal;
Text-decoration: None;
}
A.readon:visited {
List-style: Inside;
Display: List-item;
Font-weight: Normal;
Font-size: 10Px;
Color: #3B4d67;
Font-family: Arial, Helvetica, Sans-serif;
White-space: Normal;
Text-decoration: None;
}
A.readon:hover {
List-style: Inside;
Display: List-item;
Font-weight: Normal;
Font-size: 10Px;
Color: #2570A5;
Font-family: Arial, Helvetica, Sans-serif;
White-space: Normal;
Text-decoration: Underline;
}
Table.moduletable {
Margin: 0Px;
Width: 95%;
}
Table.moduletable Th {
Font-weight: Bold;
Font-size: 10Px;
Background: No-repeat Left 50%;
Width: 100%;
Color: #3300Cc;
Text-indent: 15Px;
Line-height: 9Px;
Font-family: Arial, Helvetica, Sans-serif;
Height: 15Px;
Text-align: Left;
}
Table.moduletable Td {
Font-weight: Normal;
Font-size: 10Px;
Font-family: Arial, Helvetica, Sans-serif;
Height: 10Px;
}
.Componentheading {
Background-position: Left Top;
Font-weight: Bold;
Font-size: 16Px;
/*Color: #3300Cc;*/
Text-indent: 30Px;
Line-height: 25Px;
Background-repeat: No-repeat;
Font-family: Arial, Helvetica, Sans-serif;
Height: 30Px;
Text-align: Left;
}
.Button {
Border-right: #Dae4f8 1Px Solid;
Border-top: #Dae4f8 1Px Solid;
Font-weight: Normal;
Font-size: 10Px;
Background: White;
Border-left: #Dae4f8 1Px Solid;
Color: #3300Cc;
Border-bottom: #Dae4f8 1Px Solid;
Font-family: Arial, Verdana, Geneva, Helvetica, Sans-serif;
Height: 15Px;
Text-align: Center;
}
.Inputbox {
Border-right: 1Px Solid;
Border-top: 1Px Solid;
Font-weight: Normal;
Font-size: 10Px;
Background: #Dae4f8;
Border-left: 1Px Solid;
Color: #000000;
Border-bottom: 1Px Solid;
Font-family: Arial, Helvetica, Sans-serif;
}
.Category {
Font-weight: Bold;
Font-size: 14Pt;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.category:link {
Height: 20Px;
Padding-top: 20Px;
Font-size: 14Pt;
Font-weight: Bold;
Color: #2570A5;
Text-decoration: None;
}
A.category:visited {
Font-size: 14Pt;
Font-weight: Bold;
Color: #2570A5;
}
A.category:hover {
Color: #3B4d67;
}
.Poll {
Font-size: 10Px;
Color: #3300Cc;
Line-height: 14Px;
Font-family: Arial, Helvetica, Sans-serif;
}
.Sectiontableentry1 {}
.Sectiontableentry2 {}
.Sectiontableheader {
Font-weight: Bold;
Color: #3300Cc;
Background-color: #Ffffff;
background-image: Url(../images/bar_other.png);
}
.Small {
Font-weight: Normal;
Font-size: 10Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
.Smalldark {
Font-weight: Normal;
Font-size: 10Px;
Color: #3300Cc;
Font-family: Verdana, Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
.Newsfeedheading {
Font-weight: Bold;
Font-size: 12Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
Text-align: Left;
}
.Newsfeeddate {
Font-weight: Normal;
Font-size: 10Px;
Color: #3300Cc;
Font-family: Verdana, Arial, Helvetica, Sans-serif;
}
.Createdate {
Font-weight: Normal;
Font-size: 9Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
.Modifydate {
Font-weight: Normal;
Font-size: 9Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
Ul {
Margin: 3Px;
}
Li {
List-style-position: Inside;
}
.Fase4rdf {
Font-weight: Normal;
Font-size: 11Px;
Color: #3300Cc;
Font-family: Arial, Helvetica, Sans-serif;
}
A.fase4rdf:link {
Font-weight: Normal;
Font-size: 11Px;
Color: #405115;
}
A.fase4rdf:hover {
Font-weight: Bold;
Color: #759328;
}
Table.searchintro {
Margin: 0Px;
Border-right: #759328 1Px Solid;
Border-top: #759328 1Px Solid;
Border-left: #759328 1Px Solid;
Border-bottom: #759328 1Px Solid;
Background-color: #Ffffff;
}
Table.contact {}
Table.contact Td.icons {
Background-color: #Ccdbef;
}
Table.contact Td.details {
Font-size: 10Px;
Background-color: #Ccdbef;
}
.Pagenav {
Font-weight: Normal;
Font-size: 9Px;
Font-family: Arial, Helvetica, Sans-serif;
}
A.pagenav {
Font-weight: Bold;
Color: #3300Cc;
}
A.pagenav:visited {
Font-weight: Bold;
Color: #759328;
}
A.pagenav:hover {
Color: #D6e5aa;
}
.Pagenavbar {}
.Content_rating {
Font-weight: Normal;
Font-size: 8Pt;
}
.Content_vote {
Font-weight: Normal;
Font-size: 8Pt;
}
A.bar:link {
Font-weight: Normal;
Font-size: 9Px;
Color: #2570A5;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.bar:visited {
Font-weight: Normal;
Font-size: 9Px;
Color: #2570A5;
Font-family: Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
A.bar:hover {
Color: #3B4d67;
Text-decoration: None;
}
.Searchbox {
Margin: 0Px;
Border-right: 1Px Solid;
Border-top: 1Px Solid;
Font-weight: Normal;
Font-size: 10Px;
Background: #Dae4f8;
Border-left: 1Px Solid;
Color: #3300Cc;
Line-height: 15Px;
Border-bottom: 1Px Solid;
Font-family: Arial, Helvetica, Sans-serif;
Height: 15Px;
}
.Title {
Font-weight: Bold;
Font-size: Larger;
Line-height: Normal;
Font-style: Normal;
Letter-spacing: 4Px;
Font-variant: Normal;
}
.Moscode {}
.Message {
Font-weight: Bold;
Font-size: 10Pt;
Color: #Ff6600;
Font-family: Verdana, Arial, Helvetica, Sans-serif;
Text-align: Center;
}
.Pathway {
Font-size: 9Px;
Font-weight: Bold;
Color: #993333;
Font-family: Arial, Helvetica, Sans-serif;
}
A.pathway:link {
Font-weight: Normal;
Font-size: 9Px;
Color: #000;
Text-decoration: Underline;
}
A.pathway:visited {
Font-weight: Normal;
Font-size: 9Px;
Color: #000;
Text-decoration: None;
}
A.pathway:hover {
Font-weight: Normal;
Font-size: 9Px;
Color: #000;
Text-decoration: Underline;
}
/* -> Start Main site: (Use this only to controle background style only (it will overwrite all other settings) this style includes .Left_mod, .Right_mod) */
.Main_Site {
background-color: #DDD;
table-layout: fixed;
/* Background-image: Url(../images/spacer.jpg);*/
}
/* End Main Site <-*/
/* -> Strat JceBox: (Background color of the wysiwyg editor */
.Jcebox{
Background: #F5f4f4;/* Light Gray (nere to white) */
}
/* End Jcebox <-*/
/* -> Start Main body: (Contens page) Only use for background styling, it will overwrite all other styles */
.Main_body
{
}
/* End Main body <-*/
/* -> Start Left Module: (Menu navigation and User) (USE ONLY FOR BACKGROUND STYLING)*/
.Left_mod {
background-color: #CCC;
}
/* End Left Module <-*/
/* -> Start Right Module (USE ONLY FOR BACKGROUND STYLING) */
.Right_mod{
background-color: #DDD;
}
/* End Right Module <-*/
/* Start Design (Controles the "Design by") */
.Design {
Font-weight: Thin;
Font-size: 10Px;
Color: #CCC;
Font-family: Verdana, Arial, Helvetica, Sans-serif;
Text-align: Left;
}
.Design A:visited {
Font-size: 10Px;
Color: #CCC;
Font-family: Veranda, Arial, Helvetica, Sans-serif;
Text-decoration: None;
}
.Design A:hover {
Font-weight: thin;
Font-size: 10Px;
Color: #FFF;
Text-decoration: Underline;
}
/* End Design <-*/
.contentpaneopen-nicky {
background-image:url(../../../Images/nicky/guitar.png);
background-position:bottom;
background-repeat:no-repeat;
}
contentheading-nicky {
}
men hvis jeg benytter andet CSS så er der ingen problemer, jeg kan bare ikke se hvor i problemet med mit CSS ligger, og håber der for at der er nogle her der kan hjælpe.
/Rex
EDIT:
Korregeret Picture -> button_over.png
EDIT: Fejlen opstår i IE6, hvilket jo tydeligt skulle hvae været skrevet med det samme
