Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Why is <pre> not working??

Reply
Thread Tools

Why is <pre> not working??

 
 
Andy Dingley
Guest
Posts: n/a
 
      10-09-2006
techfiddle wrote:

> I'm designing a page to give people a block of source code:
> http://www.geocities.com/techfiddle/...bringcode.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/vio...bringcode.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?subj ect=Request%20to%20join%20Connie's%20Violin%20WebR ing%20-%20Affiliate%20Sites&amp;amp;body=In%20order%20to% 20be%20added%20to%20the%20Affiliated%20Pages%20you %20must%20add%20a%20block%20of%20code%20and%20a%20 graphic%20to%20your%20site.%20Instructions%20for%2 0doing%20this%20are%20located%20at:%20%20http://www.geocities.com/techfiddle/violinwebringcode.html.%20When%20you%20have%20adde d%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%20 to%20your%20webpage.%20%0A%0aYou%20will%20be%20add ed%20to%20the%20Affiliated%20Pages%20(TOC)%20as%20 soon%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:cmsunday@alumni.rice.edu?subject=Requ est%20to%20join%20Connie's%20Violin%20WebRing%20-%20Affiliate%20Sites&amp;body=In%20order%20to%20be %20added%20to%20the%20Affiliated%20Pages%20you%20m ust%20add%20a%20block%20of%20code%20and%20a%20grap hic%20to%20your%20site.%20Instructions%20for%20doi ng%20this%20are%20located%20at:%20%20http://www.geocities.com/techfiddle/violinwebringcode.html.%20When%20you%20have%20adde d%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%20 to%20your%20webpage.%20%0A%0aYou%20will%20be%20add ed%20to%20the%20Affiliated%20Pages%20(TOC)%20as%20 soon%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:cmsunday@alumni.rice.edu">write me</a> if
I can be of assistance.
<br>Thanks!
<br>Connie
</p>

 
Reply With Quote
 
 
 
 
techfiddle
Guest
Posts: n/a
 
      10-09-2006
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




Andy Dingley wrote:
> Jukka K. Korpela wrote:
>
> > 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.


 
Reply With Quote
 
 
 
 
techfiddle
Guest
Posts: n/a
 
      10-09-2006
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/...bringcode.html

Thank you so much!
Connie




Andy Dingley wrote:
> techfiddle wrote:
>
> > I'm designing a page to give people a block of source code:
> > http://www.geocities.com/techfiddle/...bringcode.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/vio...bringcode.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?subj ect=Request%20to%20join%20Connie's%20Violin%20WebR ing%20-%20Affiliate%20Sites&amp;amp;body=In%20order%20to% 20be%20added%20to%20the%20Affiliated%20Pages%20you %20must%20add%20a%20block%20of%20code%20and%20a%20 graphic%20to%20your%20site.%20Instructions%20for%2 0doing%20this%20are%20located%20at:%20%20http://www.geocities.com/techfiddle/violinwebringcode.html.%20When%20you%20have%20adde d%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%20 to%20your%20webpage.%20%0A%0aYou%20will%20be%20add ed%20to%20the%20Affiliated%20Pages%20(TOC)%20as%20 soon%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:cmsunday@alumni.rice.edu?subject=Requ est%20to%20join%20Connie's%20Violin%20WebRing%20-%20Affiliate%20Sites&amp;body=In%20order%20to%20be %20added%20to%20the%20Affiliated%20Pages%20you%20m ust%20add%20a%20block%20of%20code%20and%20a%20grap hic%20to%20your%20site.%20Instructions%20for%20doi ng%20this%20are%20located%20at:%20%20http://www.geocities.com/techfiddle/violinwebringcode.html.%20When%20you%20have%20adde d%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%20 to%20your%20webpage.%20%0A%0aYou%20will%20be%20add ed%20to%20the%20Affiliated%20Pages%20(TOC)%20as%20 soon%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:cmsunday@alumni.rice.edu">write me</a> if
> I can be of assistance.
> <br>Thanks!
> <br>Connie
> </p>


 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      10-09-2006
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.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
Harlan Messinger
Guest
Posts: n/a
 
      10-10-2006
Jukka K. Korpela wrote:
> 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.


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.
 
Reply With Quote
 
techfiddle
Guest
Posts: n/a
 
      10-10-2006
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 Messinger wrote:
> Jukka K. Korpela wrote:
> > 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.

>
> 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.


 
Reply With Quote
 
Harlan Messinger
Guest
Posts: n/a
 
      10-10-2006
techfiddle wrote:
> 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.
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-10-2006
In article
<(E-Mail Removed) .com>,
"techfiddle" <(E-Mail Removed)> wrote:

> 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 Messinger wrote:
> > Jukka K. Korpela wrote:
> > > 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.

> >
> > 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!



--
dorayme
 
Reply With Quote
 
techfiddle
Guest
Posts: n/a
 
      10-11-2006

Harlan Messinger wrote:
> Why are you talking to me this way? I was defending you.


Not talking about you; my complaint is against Jukka.

 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      10-11-2006
Scripsit Harlan Messinger:

> techfiddle wrote:

- -
> Why are you talking to me this way?


Fvzcyr pyhryrffarff. Qb lbh abj trg zl cbvag?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
 
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
Why :: ? Why not : ? Why not . ? <- less clutter ?!? Skybuck Flying C++ 16 08-25-2007 09:48 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
why why why does function not work Horace Nunley ASP .Net 1 09-27-2006 09:52 PM
Cisco 2611 and Cisco 1721 : Why , why , why ????? sam@nospam.org Cisco 10 05-01-2005 08:49 AM



Advertisments