Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

XHTML1.1 + CSS: AINT WORKING

Name: Anonymous 2007-02-17 18:20

HEADER:

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="style.css" title="Default Stylesheet" type="text/css" media="screen"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">;
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" dir="ltr">
<head>
<title>HERE BE TITLE</title>
</head>

This shit doesn't render the css in Firefox, Opera, Konqueror, you name it.

I don't know what's going on! There's no errors in the files.

Halp me, web gods!

Name: Anonymous 2007-02-17 18:23

One word.  The default encoding.  Thread over.

Name: Anonymous 2007-02-17 18:52

Nothing is wrong with the encoding, man...

Name: Anonymous 2007-02-17 19:07 (sage)

>>1
Works for me, in Opera.

I removed the semicolons (4chan added those?) and added <body/></html>, made style.css with body{background:red}. As expected, it then renders as a blank red page.

Name: Anonymous 2007-02-17 19:10 (sage)

Oh, actually, the file/mimetype might be the problem. Try serving it with the .xml extension, and as text/xml.

Name: Anonymous 2007-02-17 19:26

>>5

well, this is not online... just trying to do this properly.

I have tested this as .html, .xhtml and .xml, with the same "header" and I don't get the style... dunno what's going on.

the css2.1 and the xhtml1.1 are valid, both are on utf-8, what gives?

Name: Anonymous 2007-02-17 19:45

I've put the 2 fucking files in a free file hosting thing:

http://momupload.com/files/19133/andreas08.zip.html

Name: Anonymous 2007-02-17 19:59

>>7
If I rename the css file to style.css and the html file to index.xml, it works just fine (both in Opera and Firefox).

Name: Anonymous 2007-02-17 20:05

go read a fucking tutorial on web dev you stupid cunt.

Name: Anonymous 2007-02-17 20:16

>>8

yeah... as .xml but it should also work as .xhtml, since that's what the standards say.

>>9 weaboo

Name: Anonymous 2007-02-17 20:19

OH SHIT! THAT'S WHY!

THE CHROME FILES ARE CORRUPTED! FUCK!

Name: serious projext 2007-02-19 13:38

How hard is it to find coding help online, without paying for the shit? If I have a great damn idea, can't code, but can do most of the rest of the stuff (getting graphics, sound, conceptuals, etc), is it even going to be possible to find a programmer that isn't some damn script kiddie that'll vanish 2 days after I find him?

also in after serious business on intertubes

Name: Anonymous 2007-02-19 16:42

>>10
.xhtml also works here (again, Opera & Firefox).

Name: Anonymous 2007-02-19 18:38

>>12
Ideas are a dime a dozen. It's the execution that counts.

Name: Anonymous 2007-02-19 18:44

>>12

dude, wot u smokin?

Name: Anonymous 2009-01-14 13:13

SICP

Name: Anonymous 2011-02-03 4:27

Name: Sgt.Kabuྂkiman녇 2012-05-28 22:39

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Name: Anonymous 2012-11-27 7:12

>>18 HA HA OH WOW

Name: Anonymous 2012-11-27 11:34

>>1
using XHTML in 2012
;_;

just use this and shut up:


<!DOCTYPE HTML>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>page | site</title>
  <link rel="stylesheet" href="" />
  <link rel="shortcut icon" type="image/png" href="">
  </head>
<body>

<script src=""></script>
</body>
</html>

Name: Anonymous 2012-11-27 11:51

>>20 YOU SON OF A BITCH

Don't change these.
Name: Email:
Entire Thread Thread List