Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Dumbo question

Reply
Thread Tools

Dumbo question

 
 
BernieH
Guest
Posts: n/a
 
      08-12-2004
Can someone please tell me why the following snippet isn't formatting the
text correctly? I know it must be something really simple, but I seem to
have a blind spot for it.

<html>
<head>
<style type="text/css">
<!--
p {font-style: italic;
font-weight: bold;
font-size: 14pt;
font-family: arial, sans-serif;}
-->
</style>
</head>

<body
<P>
hi
</p>
</body>
</html>

TIA

BernieH



 
Reply With Quote
 
 
 
 
Dan Abrey
Guest
Posts: n/a
 
      08-12-2004

"BernieH" <> wrote in message
news:3RDSc.25$...
> <body


You've missed the ending > off the body tag


 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      08-12-2004
"BernieH" <> wrote:

> Can someone please tell me why the following snippet isn't formatting
> the text correctly?


It has a syntax error, which you could have found using a validator.

Besides, formatting some text to a fixed font size (in points) is
virtually never correct in HTML authoring. Check the
comp.infosystems.www.authoring.stylesheets FAQ - it explains this.

Now please tell me what your question about Dumbo, the elephant baby,
was. I'm disappointed - the Subject line suggested that there might be
something about that lovely character, instead of boring old HTML.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET architected by dumbo muppets John Rivers ASP .Net 13 08-26-2005 09:17 PM
How badly is Dumbo truncated on DVD? H Markus Lang, hakuna matata DVD Video 6 08-09-2004 03:15 AM
Question on Transcender Question :-) eddiec MCSE 6 05-20-2004 06:59 AM
Question re: features of the 831 router (also a 924 question) Wayne Cisco 0 03-02-2004 07:57 PM
Syntax Question - Novice Question sean ASP .Net 1 10-20-2003 12:18 PM



Advertisments