
July 24th, 2005, 12:52 AM
| | | Element "P" IS open!
Hi group,
Does anyone know why I get a W3 validator error (click the validation
link at the bottom of the page) for http://www.polisource.com/consumer-protection.shtml saying "Line 227,
column 3: end tag for element "P" which is not open." It looks open to
me, right before the table tag. Maybe that's why the validator is still
in beta, but I thought I'd ask. | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
"Barry" <barry@polisource.com> writes:[color=blue]
> Does anyone know why I get a W3 validator error (click the validation
> link at the bottom of the page) for
> http://www.polisource.com/consumer-protection.shtml saying "Line 227,
> column 3: end tag for element "P" which is not open." It looks open to
> me, right before the table tag. Maybe that's why the validator is still
> in beta, but I thought I'd ask.[/color]
In HTML the end tag for <p> is optional, and implied by the start of
any block level element. So...
<p>...<table>...</table>...</p> is read in HTML as
<p>...</p><table>...</table>...</p> which has the unwanted closing tag
that the validator reports.
Additionally, even in a language like XHTML that doesn't have any
optional end tags, <table> cannot be contained within <p>.
--
Chris | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
"Barry" <barry@polisource.com> wrote:
[color=blue]
>Does anyone know why I get a W3 validator error (click the validation
>link at the bottom of the page) for
> http://www.polisource.com/consumer-protection.shtml saying "Line 227,
>column 3: end tag for element "P" which is not open."[/color]
Yep, you've got the end tag for a paragraph but no opening tag. The
error report is correct. Delete that stray end tag.
[color=blue]
> It looks open to me, right before the table tag.[/color]
No, that's a different paragraph. As paragraph elements can not
contain table elements the paragraph is implicitly closed as soon as
the table starts. Hence the end tag after the table isn't paired up
with any opening tag.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/> | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
Barry schrieb:
[color=blue]
> Hi group,
>
> Does anyone know why I get a W3 validator error (click the validation
> link at the bottom of the page) for
> http://www.polisource.com/consumer-protection.shtml saying "Line 227,
> column 3: end tag for element "P" which is not open." It looks open to
> me, right before the table tag. Maybe that's why the validator is still
> in beta, but I thought I'd ask.
>[/color]
I took away the <p> ... </p> around the <table> ... </table>
Now it's valid.
regards
Werner
--
--------------------------------------------------
Werner Partner, 45699 Herten http://www.sonoptikon.de | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
In our last episode,
<1111155750.491713.79680@z14g2000cwz.googlegroups. com>,
the lovely and talented Barry
broadcast on comp.infosystems. www.authoring.html:
[color=blue]
> Hi group,[/color]
[color=blue]
> Does anyone know why I get a W3 validator error (click the validation
> link at the bottom of the page) for
> http://www.polisource.com/consumer-protection.shtml saying "Line 227,
> column 3: end tag for element "P" which is not open." It looks open to
> me, right before the table tag. Maybe that's why the validator is still
> in beta, but I thought I'd ask.[/color]
P cannot contain a table. When you opened the table you
implicitly closed the open P. That makes the close-P after the
close-table unnecessary.
I wouldn't be having anything to say about betas if I were you.
--
Lars Eighner eighner@io.com http://www.larseighner.com/
"There are some people that if they don't know, you just can't tell 'em."
-- Louis Armstrong | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
Thanks Chris, and everyone else. I fixed it. I remember reading the
first quote below, but not the second. http://www.w3.org/TR/html401/struct/global.html#h-7.5.3
"Content model
Generally, block-level elements may contain inline elements and other
block-level elements." http://www.w3.org/TR/html401/struct/text.html#h-9.3.1
"The P element represents a paragraph. It cannot contain block-level
elements (including P itself)."
With all the repetition, it looks like there's competition for most
replies here. | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
On Fri, 18 Mar 2005 06:22:30 -0800, Barry wrote:
[color=blue]
> Hi group,
>
> Does anyone know why I get a W3 validator error (click the validation link
> at the bottom of the page) for
> http://www.polisource.com/consumer-protection.shtml saying "Line 227,
> column 3: end tag for element "P" which is not open." It looks open to me,
> right before the table tag. Maybe that's why the validator is still in
> beta, but I thought I'd ask.[/color]
Perhaps the standard only allows inline elements inside of p?
HTH,
La'ie Techie | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
Um... this is getting ridiculous. I don't think I'll be posting here
again. | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
On 19/03/2005 01:57, Barry wrote:
[color=blue]
> Um... this is getting ridiculous. I don't think I'll be posting here
> again.[/color]
If you're commenting on repetition, you have to realise that it can be
due to the nature of Usenet. Posts don't automatically propagate to
all servers, similarly they don't arrive instantaneously. I've seen
posts suddenly appear several days after they were supposedly posted.
This is why regulars keep telling posters to quote what they're
responding to, so that missing posts don't prevent a reader from
following the conversation.
As for posting competition, there really isn't any point. This group
doesn't collect statistics, and Steve would probably win anyway. :)
(At least against the other posters in this thread).
Of course, it could be that other posters aren't reading the rest of
the thread before answering. That does happen[1], but it's hardly
something to get worked up about. It should take far less time for you
to dismiss a duplicate answer than it did for the poster to write it.
At least appreciate their effort.
Mike
[1] You can tell because the OP might offer new information
elsewhere and the post doesn't take it into account.
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail. | 
July 24th, 2005, 12:52 AM
| | | Re: Element "P" IS open!
"Barry" <barry@polisource.com> wrote:
[color=blue]
>Um... this is getting ridiculous. I don't think I'll be posting here
>again.[/color]
What's rdidiculous? Please quote part of the message you're replying
to so people have some context to understand your reply. Based on your
other post I guess that you think its ridiculous that more than one
person has posted the answer to your problem. Why?
Different messages propogate at different rates. Whilst the first
dozen or so replies may have reached your news server your original
message may only just have reached someone else's server.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/> | 
July 24th, 2005, 12:53 AM
| | | Re: Element "P" IS open!
I guess it could be a propagation issue, but I've posted to fairly busy
newsgroups before and never saw this level of repetition. I also have
experience on a message board in which people could vote on posts and
your rank and privileges depend on your votes, which brings out
annoying habits in some people.
Statistics for this group are at http://groups-beta.google.com/group/...ing.html/about
(I'm accessing this through Google Groups, which is more reliable than
Verizon, but I might use Verizon in the future).
I do appreciate the effort of those who aren't purposely being
repetitive. | 
July 24th, 2005, 12:53 AM
| | | Re: Element "P" IS open!
JRS: In article <u31o31lg66icil30jao737q6r0rn4p0fbg@4ax.com>, dated
Sat, 19 Mar 2005 10:55:44, seen in news:comp.infosystems. www.authoring.h
tml, Steve Pugh <steve@pugh.net> posted :[color=blue]
>
>What's rdidiculous? Please quote part of the message you're replying
>to so people have some context to understand your reply.[/color]
(1) A sign of a broken spelling-checker?
(2) He's posting via Google. If you want to be helpful, ISTM that you
need to explain not only what to do but also how to do it :
Keith Thompson wrote in comp.lang.c, message ID
<lnwtuhfy7d.fsf@nuthaus.mib.org> :-
If you want to post a followup via groups.google.com, don't use
the "Reply" link at the bottom of the article. Click on "show options"
at the top of the article, then click on the "Reply" at the bottom of
the article headers.
--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm> : about usage of News.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News. | 
July 24th, 2005, 12:53 AM
| | | Re: Element "P" IS open!
Barry wrote:[color=blue]
> I guess it could be a propagation issue, but I've posted to fairly busy
> newsgroups before and never saw this level of repetition. I also have
> experience on a message board in which people could vote on posts and
> your rank and privileges depend on your votes, which brings out
> annoying habits in some people.
>
> Statistics for this group are at
> http://groups-beta.google.com/group/...ing.html/about
> (I'm accessing this through Google Groups, which is more reliable than
> Verizon, but I might use Verizon in the future).
>
> I do appreciate the effort of those who aren't purposely being
> repetitive.
>[/color]
Some participants here like to take an issue and beat it to death with a
stick. I think they use the propagation mechanics as an excuse to show
everyone that they knew the answers as well. The very same posters will
snip quotes out of context and call you names. Also they will attack you
if you help someone because they are convinced they have a better
answer, but will not in turn give that answer away before they have
tried to humiliate the person seeking answers for being ignorant.
Sometimes I think these trolls actually live inside the servers and are
put on this earth to annoy and to procrastinate communication in service
of satan ... oops I am getting out of line here ... ahem ...
Anyway, watch who will flame me for this post.
However there are a few who are really helpful and I appreciate that a
lot :)
You said you have posted to other groups. Can you recommend some that
share the topics with these? | 
July 24th, 2005, 12:53 AM
| | | Re: Element "P" IS open!
Thanks, I was wondering how to create those colored quotes, but I switched
to Outlook Express so it won't matter until I switch from Verizon to Optimum
Online, when I expect to not know how to do things for a while.
[color=blue]
> Keith Thompson wrote in comp.lang.c, message ID
> <lnwtuhfy7d.fsf@nuthaus.mib.org> :-
> If you want to post a followup via groups.google.com, don't use
> the "Reply" link at the bottom of the article. Click on "show options"
> at the top of the article, then click on the "Reply" at the bottom of
> the article headers.[/color] | 
July 24th, 2005, 12:53 AM
| | | Re: Element "P" IS open!
"Barry" <mail@DELETE_THIS_PARTpolisource.com> wrote in message
news:Cu3%d.9948$I16.7540@trndny03...[color=blue]
> Thanks, I was wondering how to create those colored quotes, but I switched
> to Outlook Express so it won't matter until I switch from Verizon to[/color]
Optimum[color=blue]
> Online, when I expect to not know how to do things for a while.[/color]
OT but if you have questions about OE try the following NG:
Good Luck,
me
microsoft.public.windows.inetexplorer.ie6_outlooke xpress | 
July 24th, 2005, 12:53 AM
| | | Re: Element "P" IS open!
"Barry" <barry@polisource.com> wrote in message
news:1111197447.346730.17040@l41g2000cwc.googlegro ups.com...[color=blue]
> Um... this is getting ridiculous. I don't think I'll be posting here
> again.[/color]
Don't give up just yet, some of us enjoy answering questions and helping
others ;-)
Good Luck,
me |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|