Jo hi
habe heute ma aus lange weile und purem frust ne page gecodet...
Sieht eig auch ganz gut aus und funzt alles prima, nur der ff macht mir ärger genauso wie der validation service vom w3 >.<*
Hier mal ein asuzug:
php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Warning Missing "charset" attribute for "text/xml" document.
The HTTP Content-Type header (text/xml) sent by your web browser (Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5) did not contain a "charset" parameter, but the Content-Type was one of the XML text/* sub-types.
The relevant specification (RFC 3023) specifies a strong default of "us-ascii" for such documents so we will use this value regardless of any encoding you may have indicated elsewhere.
If you would like to use a different encoding, you should arrange to have your browser send this new encoding information.
1. Error
Sorry, I am unable to validate this document because on line 113 it contained one or more bytes that I cannot interpret as us-ascii (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
The error was: ascii "\xE2" does not map to Unicode
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Text</title>
<style type="text/css" media="screen">
/* <![CDATA[ */
/*Farben:
Lila:#BFBFED;
orange:
gelb:
grün:
dunkel grau:2a2a2a;
helle sgrau:#EEE;
*/
body{
background:#2a2a2a;
font-face:helvetica,verdana;font-size:80%;color:#eee;
} a:link{
text-decoration:none;
}
a:visited,a:focus{
color:#fa9682;
}
img, a img{
border:0;
}
#wrap{
width:1000px;
margin:0 auto;
}
#nav ul {
width:300px;
height:25px;
}
#nav ul li{
list-style-type:none;
padding:5px;
color:#2a2a2a;
background:#eedab4;
display:inline;
border:1px solid #ccc;
}
#nav ul li:hover{
background: #fa5765;
}
#lc{
width:695px;
float:left;
margin-right:5px;
}
h2{
color:#fad282;
font-size:200%;
}
h3{
color:#e5edb4;
font-size:120%;
font-weight:normal;
}
.afoot, .afoot a:link{
text-align:center;
color:#e5edb4;
}
.afoot a:hover{
border-bottom:1px dotted #fad282;
}
span#more{
margin-left:10px;
text-:15px;
color:#fad282;
}
span#more:hover{
border-bottom:1px solid;
}
#rc{
margin-left:5px;
width:291px;
float:right;
display:inline;
border-left:1px dotted;
}
#rc h2{
text-align:center;
font-size:170%;
}
/* ]]> */
</style>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<div id="wrap">
<h1>GraphiX</h1>
<div id="nav">
<ul>
<li>Home</li>
<li>Gallerie</li>
<li>About</li>
</ul>
<hr noshade="noshade" widt="800px" />
</div><!-- navi ende -->
<div id="lc">
<!-- erster artikel -->
<h2>The Lorem Ipsum - a modern saga</h2>
<h3>11.11.1111</h3>
<p class="article">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn’t listen. She packed her seven versalia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains…<span id="more">More >> </span></p>
<p class="afoot"><a href="#" title="Comments">0 Kommentare</a> | <a href="#" title="article">Link</a> | <a href="#" title="bookmark this">Bookmark</a> | <a href="#" title="Download this">Download</a></p>
<!-- erster artikel ende -->
<div id="eureID"><p>Penis</p></div>
<a href="javascript:show()" title="Zeige mir die Wahrheit!">Show</a><br />
<!-- Der Link um den Bereich einzublenden! -->
<a href="javascript:hide()" title="Verstecke die Wahrheit!">Hide</a><br />
<!-- Der Link um den Bereich auszublenden! -->
</div><!-- content links ende -->
<div id="rc">
<h2>Links</h2>
</div>
</div><!-- wrap ende -->
</body>
</html>
kann das an quanta liegen?? Weil der macht da sone kp sehts euch an :
Eig sollte es nich am Markup liegen ich habe nichts gefunden
bitte sagt mir dass es daran liegt ^^
wenn nihc wechsele ich den editor ^^
is ja nur weil er alles so schön bunt macht xD
The Dreadworks Project And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me
jo
doofer editor
aber daran liegt es nihc -.-*
notepad is cool nutze ich unter win neben phase 5
aber ich hab ja akt. gerade linux am start kp obs dass dafür gibt ^^
danke
Nimm mal da das Semikolon heraus und mach Anführungsstriche hin. Das dort der Fehler liegt, steht ja auch hier: Missing "charset" attribute for "text/xml" document.
.
The Dreadworks Project And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me
k habs gechecked un neu egschrieben mit screem html...
weiterhin habe ich mich durch die w3 empfehlungen für xhtml1 geforstet und die meta rauskopiert (meine war richtig
)
er will immer noch nich -.-
hier die erklärung des fehlers :
.1 Text/xml with UTF-8 Charset
Content-type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8"?>
This is the recommended charset value for use with text/xml. Since
the charset parameter is provided, MIME and XML processors MUST treat
the enclosed entity as UTF-8 encoded.
If sent using a 7-bit transport (e.g., SMTP[RFC0821]), the XML MIME
entity MUST use a content-transfer-encoding of either quoted-
printable or base64. For an 8-bit clean transport (e.g., 8BITMIME
ESMTP or NNTP), or a binary clean transport (e.g., HTTP), no
content-transfer-encoding is necessary.
verstehe wer will...
hier mein aktuelles dokument...
achja n darstellungs feherl bei ff -.-
der background is weiss!
wtf??
iwie is das scheisse :X
nja wer lust hat und helfen will kann sich ja das dokument ma anschauen
/e:
is völlig valides xhtml1 -.-
(wenn ichs unter .html abspeicher unter .xml willer das immer noch nich
jo und der grafikfehker vom ff is auch noch da -.-)
OK:
Update
fehler lagen in der querlinie unter der navi (hr)
wo angeblich das attribut noshade="noshade" sowie das width="800px" nich gehen soll hab ichs per csss gemacht.
der javascript bereich war verhunzt is aber alles richtig jetzt.
wenn ich die datei als index.html abspeicher ises valide und funzt auch im FF
nur mit der .xml endung will ers nich validieren und ff wills nich richtig darstellen?
woran kanns liegen?
sollte endlcih ma gehen..
Warum genau, möchtest du es als .xml abspeichern? Ich verstehe den Sinn dahinter nicht. Wenn es als .html funktioniert ist doch alles in Ordnung. XML ist hauptsächlich für Datenaustausch (zB. ajax) gedacht und nicht um den kompletten Markup einer Seite zu schreiben.
Mit anderen Worten: Internetseiten werden (fast) immer durch html oder xhtml repräsentiert (auch dort wo zB. .php als Endung steht ist trotzdem die Ausgabe in html). XML dafür zu verwenden ist unsinnig.
Zu deiner Frage mit dem weißen Hintergrund komme ich, wenn du es vernünftig irgendwo als html speicherst.
.
The Dreadworks Project And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me
jaja habsch schon längst xD
wollte es eig nur mit einer rohen baumsatruktur machen und den rest dann per db reinladen aber wayne
mit .html funzt alles
hab den falschen validator genommen ^^
nur das mim bg is bei der .xml nohc nihc glöst das würde mich nochma interessieren xD
lg
Original von CrAc
wollte es eig nur mit einer rohen baumsatruktur machen und den rest dann per db reinladen aber wayne
mit .html funzt alles
Entweder ich verstehe dich falsch, oder du hast das Prinzip eines Templates noch nicht verstanden.
quote:
Original von CrAc
nur das mim bg is bei der .xml nohc nihc glöst
s.o.
.
The Dreadworks Project And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me
ich ahbe es jetzt als .html abgespeichert, is valide und funzt auch alles,
nur ich wollte eig das ganze per purer baumstruktur coden und den gesamten inhalt per Datenbak reinladen...
sozusagen blog mit cms hat sich aber erledigt.
Das mit template habe ich schon kapiert xD
(sofern du die trennung von inhalt und layout meinst ^^)
nur das jetzt aus reiner neugier, wieso stellt ff den bg bei der xml datei falsch dar?
If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.
After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.
In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.
Sign up now and enjoy the advantages as a registered member.
(This website will be ad-free after a complete free sign up.)