Why is <pre> not working??

T

techfiddle

In a said:
and ampersands to '&amp;'. (Do not include the single quotes.)


Chris, thank you for responding to this. I'm really not following you.

I changed the chevrons to &lt and the ampersand to &amp;

that didn't fix it.
 
B

Beauregard T. Shagnasty

techfiddle said:
Chris, thank you for responding to this. I'm really not following
you.

I changed the chevrons to &lt and the ampersand to &amp;
that didn't fix it.

Not these: [quote:] &lt;pre&amp;

All the ones *in between* <pre> and </pre>

For conformity, you should also change the > to &gt;
so you have matching pairs. Not required, but a good idea.
 
A

Andrew

Chris, thank you for responding to this. I'm really not following you.

I changed the chevrons to &lt and the ampersand to &amp;

that didn't fix it.

Hi,

Looks like you have fixed it. Just a small point but do you really
need the <br> tags in your <pre> </pre> element?

All the best!

Andrew.
 
T

techfiddle

Hi Andrew:

I appreciate everyone's help so much! Yeah, regarding the <br> tags,
the text was flowing over into the right side too much, but no, I need
to remove them. And that "dot" between TOC and JOIN is really not
right yet.
 
T

techfiddle

Thank you so much!

Does anyone know if there is a better way of doing the bullet besides:



that's just showing as a bullet, and my guess is it will show as weird
junk on other people's pages..??

Thanks!

(When did the <pre> thing change? It always worked before. I tried it
in two browsers and it woudln't work...)
 
B

Beauregard T. Shagnasty

techfiddle said:
(When did the <pre> thing change? It always worked before. I tried it
in two browsers and it woudln't work...)

Do you mean in regards to the < and the &lt; ?

Never. If you desire to show HTML source as content, you have always
needed to change them. Within a <pre> or not.
 
J

Jukka K. Korpela

Scripsit techfiddle:
Does anyone know if there is a better way of doing the bullet besides:



that's just showing as a bullet, and my guess is it will show as weird
junk on other people's pages..??

You still haven't understood the principle of encoding "&".

The whole "webring" stuff is weird junk.

As I've often said, people who need to ask about such an elementary thing as
"how do I show HTML code visibly on my page" aren't competent to give others
advice on HTML coding, by showing HTML code that others should put on their
pages. The code you are promoting isn't still even syntactically correct -
you are telling people to use the undefined entity reference &body, and you
_still_ have unescaped "<" characters.

But to answer the question you asked, instead of the questions you should
have asked before you got started: Some people would say that &bull; is more
mnemonic, and others remind that some old browsers don't understand it. You
can also "do the bullet" by inserting the bullet character as data,
naturally provided that the encoding of the document allows that.
(When did the <pre> thing change? It always worked before. I tried
it in two browsers and it woudln't work...)

This also tells that your knowledge of HTML is far too limited to make you
competent to tell others what they should put into their HTML code. There
was never any change in <pre> behavior in recognizing tags inside the
element; you are simply mistaken.
 
A

Andy Dingley

Jukka said:
This also tells that your knowledge of HTML is far too limited to make you
competent to tell others what they should put into their HTML code.

The OP isn't claiming to be an authority on HTML,
they're claiming to be an authority on the violin webring.

The fundamental guiding principles of the web are these:

2. Some technical stuff.
1. Easy access to publishing.

Now your point is a good one as regards #2. The idea of some of the
nearby posters updating their "web authoring guides" is indeed
horrible. But what do we do about #1 ? Are _you_ ever going to have
time to post joining instructions for the violin webring? Otherwise
are you really advocating that the violin webring should be abandoned
because there's no-one connected with it sufficiently skilled in HTML
minutiae to describe it perfectly? The rainbow ruler GIF and animated
under construction banners were some terrible old sites in technical
terms, but I'd rather see them around than have an empty gap because
there's no-one "sufficiently certified" and also with the interest in
violins to build their pages.

To the OP - your page isn't perfect, but even an imperfect page is
always better than nothing. Stay tuned and maybe someone will continue
to assist you getting it spot-on.
 
A

Andy Dingley

techfiddle said:
I'm designing a page to give people a block of source code:
http://www.geocities.com/techfiddle/violinwebringcode.html

Try this, with the following provisos

#1 - You're hosted with Geocities. Their hosting changes pages that
you upload, sufficient to make a mockery of any serious web design. If
you care about web design, you just can't host with Geocities.

#2 - I've hacked the middle of this page around to make it workable
and valid. I haven't fixed the whole page and I haven't made it perfect
- there's still 3.2 code in there, but it's not really harmful.

# 3 I'm posting the changed fragment via Usenet for discussion, but I
don't know how much damage it will suffer in transit so I've also
uplaoded it it to the web here
http://codesmiths.com/dingbat/lj/violin/violinwebringcode.html

I hope this is helpful to you - please post with any further questions.



<p>In order to join the ring you will need two elements: the graphic
image and the block of source code.</p>

<ul>

<li>
<h3>Image:</h3>
<p>Save the image to your web site.
<br>You may find that your browser allows you to right-click on the
image and use "Save As" or "Save Image As":
<center><img src="viulu1.gif" alt="Logo for the Violin Webring"
title="Logo for the Violin Webring" ></center>
</li>

<li>
<h3>Source Code:</h3>

<p>Copy and paste the following into your web page:

<pre style="padding: 1em; margin: 1em; border: thin solid black;
background-color: #eeeeee; color: #000; overflow: scroll;" >
&lt;!-- Begin ViolinWebRing code --&gt;


&lt;div style="margin: 1em auto; padding: 1em; border: thick ridge;
width: 14em;" &gt;

&lt;a href="http://www.geocities.com/techfiddle/TOC.html"
title="View the current members of the Violin Webring"
>&lt;img src="viulu1.gif" alt="Violin WebRing" style="border:
none;" &gt;
&lt;br&gt;ToC&lt;/a&gt;
&amp;bull;
&lt;a style="font-weight: bold; text-transform: uppercase;"

href="mailto:cmsunday&amp;#64;alumni.rice.edu?subject=Request%20to%20join%20Connie's%20Violin%20WebRing%20-%20Affiliate%20Sites&amp;amp;body=In%20order%20to%20be%20added%20to%20the%20Affiliated%20Pages%20you%20must%20add%20a%20block%20of%20code%20and%20a%20graphic%20to%20your%20site.%20Instructions%20for%20doing%20this%20are%20located%20at:%20%20http://www.geocities.com/techfiddle/violinwebringcode.html.%20When%20you%20have%20added%20the%20graphics%20to%20your%20page(s),%20please%20send%20me%20the%20following:%0A%0a%20(a)%20Name%20of%20your%20webpage;%20and%0A%0A%20(b)%20URL%20to%20your%20webpage.%20%0A%0aYou%20will%20be%20added%20to%20the%20Affiliated%20Pages%20(TOC)%20as%20soon%20as%20the%20source%20code%20is%20added%20to%20your%20page.%20%0A%0aThank%20you!"
title="Join the Violin Webring"
&gt;Join&lt;/a&gt;
&lt;/div&gt;

&lt;!-- End VioinWebring code --&gt;
</pre>
</li>

</ul>

<p>Together they will look like this:

<div align="center" >

<!-- Begin ViolinWebRing code -->
<div style="margin: 1em auto; padding: 1em; border: thick ridge; width:
14em;" >

<a href="http://www.geocities.com/techfiddle/TOC.html"
title="View the current members of the Violin Webring"
><img src="viulu1.gif" alt="Violin WebRing" style="border: none;" >
<br>ToC</a>
&bull;
<a

href="mailto:[email protected]?subject=Request%20to%20join%20Connie's%20Violin%20WebRing%20-%20Affiliate%20Sites&amp;body=In%20order%20to%20be%20added%20to%20the%20Affiliated%20Pages%20you%20must%20add%20a%20block%20of%20code%20and%20a%20graphic%20to%20your%20site.%20Instructions%20for%20doing%20this%20are%20located%20at:%20%20http://www.geocities.com/techfiddle/violinwebringcode.html.%20When%20you%20have%20added%20the%20graphics%20to%20your%20page(s),%20please%20send%20me%20the%20following:%0A%0a%20(a)%20Name%20of%20your%20webpage;%20and%0A%0A%20(b)%20URL%20to%20your%20webpage.%20%0A%0aYou%20will%20be%20added%20to%20the%20Affiliated%20Pages%20(TOC)%20as%20soon%20as%20the%20source%20code%20is%20added%20to%20your%20page.%20%0A%0aThank%20you!"
style="font-weight: bold; text-transform: uppercase;"
title="Join the Violin Webring"
>Join</a>
</div>
<!-- End VioinWebring code -->


</div></pre>

<p>Please <a href="mailto:[email protected]">write me</a> if
I can be of assistance.
<br>Thanks!
<br>Connie
</p>
 
T

techfiddle

Thanks, Andy! Whether the topic is violin pedagogy (which I do
actually know something about), or Aikido, or gardening, or html, there
are always nice people, like you, that recognize the humanity in the
efforts of others, and then not-so-nice people, who make negative,
abusive remarks. In the case of the later, all that shows is their
lack of maturity, since they have a need to denigrate other people,
presumably, one supposes, to feel better about themselves. This is
always so obvious it's not worth commenting on.

Thanks again,
Connie
 
T

techfiddle

Wow. THat is so increedibly beautiful. Thank you. Yeah, I'm in a
doctoral program in music, but very tempted to go over to the art
department and do their Design Communication program so I can update my
skills. There's just not time to do everything one wants, is there?

I've replaced my efforts with yours at:
http://www.geocities.com/techfiddle/violinwebringcode.html

Thank you so much!
Connie
 
J

Jukka K. Korpela

Scripsit Andy Dingley:
The OP isn't claiming to be an authority on HTML,

He/she/it was giving advice to others on using HTML.
they're claiming to be an authority on the violin webring.

Please excuse me while I laugh my ass off.
even an imperfect page is
always better than nothing.

You haven't been around the web much, have you? Or you just refuse to think
of the reality.
 
H

Harlan Messinger

Jukka said:
Scripsit Andy Dingley:


He/she/it was giving advice to others on using HTML.

He was trying to give them a single chunk of HTML to use for a single
purpose, he wasn't giving them a seminar on proper HTML construction.
That doesn't mean it shouldn't be pointed out to him that the code isn't
good, but that's beside the point.
 
T

techfiddle

HEY!! I'm not a "he" or an "it": I'm a SHE. [See:
http://www.geocities.com/conniesunday/ ]

If someone were interested in taking violin or viola lessons,(as
happens pretty much daily to me) how would you feel if I talked to you
as if you were a complete, blithering idiot, lucky that I even deign to
speak to you? Not very professional, not to mention unkind and
counterproductive and unprofessional. (Do you get paid for what you
do? -- I do. Substantially)

Everybody can't be an expert at everything. Can you play Brahms or
write chamber music or teach children to play an instrument? Do you
have a broad knowledge base in western art music, art, and literature?
Do you read several languages and do research in all of them? (I
suspect my Finnish friend will say yes, but his writing in English is a
bit stiff and stuffy.) You can't be a Renaissance person if you prize
your own discipline and denigrate all the others.

Connie (female person )
 
H

Harlan Messinger

techfiddle said:
HEY!! I'm not a "he" or an "it": I'm a SHE. [See:
http://www.geocities.com/conniesunday/ ]

And I'm a non-psychic. Sorry.
If someone were interested in taking violin or viola lessons,(as
happens pretty much daily to me) how would you feel if I talked to you
as if you were a complete, blithering idiot, lucky that I even deign to
speak to you? Not very professional, not to mention unkind and
counterproductive and unprofessional. (Do you get paid for what you
do? -- I do. Substantially)

Why are you talking to me this way? I was defending you.
 
D

dorayme

"techfiddle said:
HEY!! I'm not a "he" or an "it": I'm a SHE. [See:
http://www.geocities.com/conniesunday/ ]

If someone were interested in taking violin or viola lessons,(as
happens pretty much daily to me) how would you feel if I talked to you
as if you were a complete, blithering idiot, lucky that I even deign to
speak to you? Not very professional, not to mention unkind and
counterproductive and unprofessional. (Do you get paid for what you
do? -- I do. Substantially)

Everybody can't be an expert at everything. Can you play Brahms or
write chamber music or teach children to play an instrument? Do you
have a broad knowledge base in western art music, art, and literature?
Do you read several languages and do research in all of them? (I
suspect my Finnish friend will say yes, but his writing in English is a
bit stiff and stuffy.) You can't be a Renaissance person if you prize
your own discipline and denigrate all the others.

Connie (female person )


Harlan said:
He was trying to give them a single chunk of HTML to use for a single
purpose, he wasn't giving them a seminar on proper HTML construction.
That doesn't mean it shouldn't be pointed out to him that the code isn't
good, but that's beside the point.


Actually, poor old Harlem was not treating you bad. She meant
only to give old Korpela a ... ahem ... small correction. And
never said you were an it.

I am an it. The only one here. Everyone else is happily a he or a
she. "He" is often and (in an old fashioned conventional English
way) meant to be strictly neutral as to the sex. But it does not
include any implication of itness. True, you are a thing, just
like everything else. But Harlem, at least, made no further
implications.

Being something, I would like to object to your thingism, what
have you got against things, why put things down so? Why
discriminate against things. I like things.

I suspect you have become disoriented (or are giving a wrong
impression) by your method of posting, best not to top post. And
understandably furious.

(btw, how much is substantial re your earnings? want to make even
more, to invest in some idea I had last night (and the night
before, and the night before that...) Absolute winners with the
right capital behind them!

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top