|
Posted by trvst2 on 12/20/05 05:27
On 19 Dec 2005 17:51:50 -0800, mot12345@alexandria.ucsb.edu wrote:
>I'm new to XHTML and I'm tripping at some basic things in a tutorial at
>
>
>http://www-128.ibm.com/developerworks/wireless/library/wi-css/?ca=dgr-lnxw01WirelessPages
>(see Listing 4: Inline CSS)
>
>My basic question is:
>My browsers, Firefox or MS Internet Explorer, display this by just
>showing the XHTML text, rather than rendering the XHTML plus CSS. That
>is, the browser literally just shows text starting with "<!DOCTYPE HTML
>PUBLIC "-//W3C//DTD ...", rather than showing the Web page this text
>represents.
>
>What do I do to make the browsers render XHTML properly?
>
>Thanks,
>Wolfgang,
>Santa Barbara, CA
I had the same problem, and my mistake was in how I saved the file.
Make sure you save the file with the .html extension and you save it
as a text file.
trvst2
[Back to original message]
|