XHTMLforum

XHTMLforum (http://xhtmlforum.de/index.php)
-   CSS (http://xhtmlforum.de/forumdisplay.php?f=73)
-   -   Fehlendes Tag? Fehler im stylesheet (http://xhtmlforum.de/showthread.php?t=50233)

agroman 05.02.2008 16:28

Fehlendes Tag? Fehler im stylesheet
 
Hi,

ich arbeite derzeit an einer HP,
vielleicht sitze ich schon zu lange hier dran, ich finde einfach den fehler nicht.
Ich hab vergeblich gesucht, vielleicht findet jemand das fehlende ''''YYY>>>YY

irgendwie überlappen sich die <div container>.
normalerweise sollte der <div footer> nicht mit in den gesamten rahmen einbezogen werden.

wie auch immer.:|

hier der code
PHP-Code:

body
{
    
font-family:"Courier New"Couriermono;
    
font-size:12px;
    
background-color:#CCCCCC;
    
margin:0;
 

}
#wrapper{
    
border1px solid #000000;
    
margin:auto;
    
padding:0;
    
background-color:#ffffff;
    
width:760px;
}

h1.title {text-align:left;color:#333333;margin:1px;}
h1.top {color:#647784;font-weight:bold;margin: 0px 0px 0px 0px;}
h5.top {font-size14px;color:#7d7e84;margin: 0px 0px 10px 15px;}
code {font-size:14px;color:#0000ff;}
.space_hr{
margin25px 0px 25px 0px;

}
pre
{
 
font-size:14px;
 
color:#0000ff;
 
padding:5px;
}
a:linka:visiteda:activea:hover
{
  
text-decoration:none;
  
font-weight:normal;
  
color:#333333;
  
font-size:12px;
}
a:activea:hover
{
  
color:#009999;
}

.
banner{
    
background-image:url(gfx/head_759.jpg);
    
background-attachment:fixed;
    
background-repeat:no-repeat;
    
height:101px;
    
background-positioncenter;
}
div.title {
    
padding:2px;
    
background-color#eeeeee;
    
text-align:center;
}
#left {
background-color:#eaeaea;
width:180px;
float:right;
margin:0px 0px 0px 10px;
padding:5px;
-
moz-border-radius:0px;
-
khtml-border-radius:0px;
height:auto;
}
a.menu {
 
display:block;
 
padding:3px;
 
 
background-color:#efeff7;
 
text-align:left;
 
color:#333333;
 
text-decoration:none;
 }
.
menu a font-family:Georgia"Times New Roman"Timesserif; }
.
menutitle{
    
font-weight:normal;
    
font-size:14px;color:#000000;
    
margin:8px 1px 0px 1px;
    
font-weight:bold;
    
letter-spacing:0.2em;
    
}
.
menucontainer {
    
background-color:#eaeaea;
    
width:150px;
    
margin:auto;
    
    
}
.
menucontainer2 {
        
background-color:#eaeaea;

    
width:106px;
    
margin:0px 0px 20px 10px;
    
height:400px;
    
}
a.menu:linka.menu:visited{color:#333333;background-color:#efeff7;text-decoration:none;text-indent: 8px;}
a.menu:activea.menu:hover{color:#737994;text-indent: 8px;}

#content {
    
background-color:#ffffff;
    
width:560px;
    
padding0px;
    
margin0px auto 0px auto;
    
floatleft;
}
#footer {
    
width760px;
    
margin0px auto 0 auto;



}

.
clear {
clearbothtext-indent3px;
}
.
post {
border-bottom:1px dashed #BDBEC1;

}
.
posttitle {
    
padding:0;

}
.
post-info {
    
text-decoration:none;
    
font-styleitalic;
    
color#999999;
    
font-size12px;
    
line-height3px;
    
text-alignjustify;
    
text-indent10pt;
    
padding:0;

}
.
adminform {
    
font-family:"Courier New"Couriermono;
    
padding:3px;
    
border:1px dashed #909090;
    
width492px;
    
marginauto;
    
text-alignjustify;
    
padding:3px;
    
color:909090;

}

.
formfieldError {
border:1px solid #FF0000;
background-color:#eeeeee;
margin:3px 3px 0px 3px;

}
.
formfield {
border:1px solid #BDBEC1;
background-color:#eeeeee;
margin:3px 3px 0px 3px;

}
.
thetime{
color:#999999;
text-align:center;
margin:2px;
}
.
adminbox{
    
width:auto;
    
margin:15px 0px 0px 0px;
    
background-color#EBEBEB;
    
padding3px;
    
border1px solid #909090;
}
.
boxinfo{
    
color:#333333;
    
marginauto auto 15px auto;
    
padding1px;
    
font-size:14px;
    
background-color:eeeeee;
}
p.boxinfo{
    
padding:3px;
    
margin:10px;
    
text-align:justify;
    
background-color:#FFFFFF;
}
h3.boxinfo{
font-size:20px;color:#909090;
margin:0px;
padding:0px;
border-bottom:1px  outset #909090;
text-decoration:none;
}
h5.boxinfo{
font-size:14px;color:#909090;
margin:0px;
padding:0px;
border-bottom:1px  outset #909090;
text-decoration:none;
}


.
pageLimit{
padding10px;



PHP-Code:

<!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>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
link href="main.css" rel="stylesheet" type="text/css"/>
</
head>
<
body>

<
div id="wrapper">

  <
div class="title">
    <
h1 class="title">nicemeth.ath.cx<img src="gfx/head_759.jpg" alt="blank" name="meth" width="754" height="101" id="meth" /></h1>

  </
div>
  
  <
div id="content">
        <
br />
    <
br />
    <
br />
    <
br />
    <
br />
    <
br />
    <
br />

    <
br />
    <
br />
    <
br />
    <
br />
    <
br />
    <
br />
    <
br />
    <
br />
  </
div>

  
    <
div id="left">
            <
div class="thetime">
                <
script>writeclock()</script>
                time() 
            </div>
        <div class="menucontainer">
            <div class="menutitle">
                #MAIN
            </div>

            <a class="menu" href="index.php?section=main&amp;page=blog">home</a> <a class="menu" href="index.php?section=main&amp;page=kontakt">kontakt</a> <a href="admin/index.php" target="_blank" class="menu">admin </a> <a href="http://nicemeth.ath.cx/pub" target="_blank" class="menu">pub</a>
            <div class="menutitle">
                #CODING
            </div>
            <a class="menu" href="index.php?section=coding&amp;page=index">PHPsnippets</a> 
        </div>

        
        <div class="menucontainer2"></div>
    </div>
    

    


<div id="footer">
  <p align="right"><a href="http://jigsaw.w3.org/css-validator/validator?uri=http://nicemeth.ath.cx/index.php"><img style="border:0;width:88px;height:31px"
       src="http://jigsaw.w3.org/css-validator/images/vcss" 
       alt="Valid CSS!" /> </a> </p>
</div>
</div>
</body>
</html> 


Crizzo 05.02.2008 17:58

Im CSS Code:
Zitat:

62 #left Die Eigenschaft -moz-border-radius existiert nicht : 0
63 #left Die Eigenschaft -khtml-border-radius existiert nicht : 0
147 .adminform Ungültige Nummer : color 909090 ist kein color-Wert : 909090
180 .boxinfo Ungültige Nummer : background-color eeeeee ist kein color-Wert : eeeeee
im HTML Code:
Zitat:

Line 39, Column 23: required attribute "type" not specified.

<script>writeclock()</script>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Validieren hilft: The W3C Markup Validation Service


Alle Zeitangaben in WEZ +2. Es ist jetzt 20:19 Uhr.

Powered by vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2022, vBulletin Solutions, Inc.

© Dirk H. 2003 - 2022