preformat works one day, gone the next

L

Laurence Smith

Hi,

I maintain a webpage for a strat-o-matic baseball league.
I use the freeware program Kompozer (version 0.7.10) to construct the
page.

When there is an interesting game I like to post the boxscore for other
members to view. I copy the boxscore from the game program and paste
it into Kompozer using Preformat as the tag.
It then looks fine on the program's browser.
I FTP it up to the web and then view the program using Opera or IE.
Looks fine.

The next day I may make routine changes to the webpage but not touching
the part of the page with the boxscore. Then lo and behold, both on
the webpage and on the local program the preformat has broken down and
the text runs together.

Any ideas on why that happens and, more importantly, what's the cure?

--
Larry Smith

"My kind of loyalty was loyalty to one's country, not to its
institutions or its office-holders."
Mark Twain
 
J

Jonathan N. Little

Laurence said:
Hi,

I maintain a webpage for a strat-o-matic baseball league.
I use the freeware program Kompozer (version 0.7.10) to construct the
page.

When there is an interesting game I like to post the boxscore for other
members to view. I copy the boxscore from the game program and paste
it into Kompozer using Preformat as the tag.
It then looks fine on the program's browser.
I FTP it up to the web and then view the program using Opera or IE.
Looks fine.

The next day I may make routine changes to the webpage but not touching
the part of the page with the boxscore. Then lo and behold, both on
the webpage and on the local program the preformat has broken down and
the text runs together.

Any ideas on why that happens and, more importantly, what's the cure?

URL?

Maybe you are breaking the syntax when you paste the next section. *ALL*
WYSIWYG editors are far from perfect and are not a substitute for
knowing what you are doing, especially when re-editing existing work.
 
L

Laurence Smith

Jonathan said:
URL?

Maybe you are breaking the syntax when you paste the next section.
ALL WYSIWYG editors are far from perfect and are not a substitute for
knowing what you are doing, especially when re-editing existing work.

Here's the URL.

http://mysite.verizon.net/vzeryq2g/cbl.htm

When you scroll down to the section I call WHAT A GAME you'll see the
preformatted section that has broken down.

Thanks.

--
Larry Smith

"My kind of loyalty was loyalty to one's country, not to its
institutions or its office-holders."
Mark Twain
 
J

Jukka K. Korpela

Laurence Smith wrote:

[...]

Strange... where did this come from:
<meta name="Generator" content="Stone's WebWriter 3.5">
then? And the markup is very messy - you would need to work hard to make
Kompozer spit it out... such as

<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>

Moreover, the page is overly long, with mixed ingredients.

I don't think it makes sense to fix it. It's much easier to redesign the
site. Create a simple main page with links to different pages containing
different parts of the content.
When you scroll down to the section I call WHAT A GAME you'll see the
preformatted section that has broken down.

No, it's not obvious at all what is wrong. It seems that your preformatted
text has a very long line. How could _we_ know where it came from?

Yucca
 
L

Laurence Smith

Ed said:
And what is the format of the copied material?

How are you applying the <pre> tag to the pasted text?

How are you pasting the copied data? In the "Normal" window or the
"Source" window?


Hmm. I'd look in Kompozer's - Tools - Options screen. Pasting into
Kompozer can do different things to code depending on the options on
that screen. And it may happen to existing code that you don't even
edit, that is, as you describe.





BTW, as I look at the source of the URL your starting <pre> tag seems
to be missing.

Also, what should the display look like? I have no idea what I'm
looking at so what's wrong with it?


Line 1856 says:
pre style="font-size: 10pt; font-family: 'Courier New';"

I assume that's the <pre> tag.

What the display should look like is a typical boxscore of a baseball
game as you'd see in a newspaper with the AB R H RBI AVG all in neat
columns.



--
Larry Smith

"My kind of loyalty was loyalty to one's country, not to its
institutions or its office-holders."
Mark Twain
 
L

Laurence Smith

Ed said:
And what is the format of the copied material?

How are you applying the <pre> tag to the pasted text?

How are you pasting the copied data? In the "Normal" window or the
"Source" window?


Hmm. I'd look in Kompozer's - Tools - Options screen. Pasting into
Kompozer can do different things to code depending on the options on
that screen. And it may happen to existing code that you don't even
edit, that is, as you describe.


BTW, as I look at the source of the URL your starting <pre> tag seems
to be missing.

Also, what should the display look like? I have no idea what I'm
looking at so what's wrong with it?


What I did today (Tuesday, about 5:35pm eastern time) was to delete the
code and reinsert it from the PRT file that the Strat-O-Matic Computer
Game generates.
The <pre> tag is on line 1855 and the </pre> tag is at 1920.

Right now the page displays exactly as I want it to.

The problem is that when I next update the page the preformatted info
will not stay in a column but rather will run together.

But at least if you look at the source and the page you'll what it is
supposed to look like.

Thanks again for the help.




--
Larry Smith

"My kind of loyalty was loyalty to one's country, not to its
institutions or its office-holders."
Mark Twain
 
J

Jonathan N. Little

Laurence said:
Line 1856 says:
pre style="font-size: 10pt; font-family: 'Courier New';"

I assume that's the <pre> tag.

What the display should look like is a typical boxscore of a baseball
game as you'd see in a newspaper with the AB R H RBI AVG all in neat
columns.

Rows and column data, eh? Hmmm let me take a stab at it:

a *table* maybe?
 
B

Blinky the Shark

Peter said:
In alt.html on Thu, 04 Sep 2008 13:46:09 -0700, Blinky the Shark


Nice *try*, but will it be *converted*?

The kick for the extra point will decide that.
 
N

nice.guy.nige

While the city slept, Blinky the Shark feverishly typed:
The kick for the extra point will decide that.

I don't even know what game we're playing anymore... :-S

Cheers,
Nige
 
B

Blinky the Shark

nice.guy.nige said:
While the city slept, Blinky the Shark feverishly typed:


I don't even know what game we're playing anymore... :-S

Just hit the birdie when it comes your way.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top