Some messages wider than screen

Barry Katcher

Well-known Member
Joined
Feb 25, 2002
Messages
4,053
Most of the topics on the message board are the width of the screen, but some are much wider and I have to use the scroll bar to scroll right and left to see the whole message. Worse, when I print, even in landscape, the right side of the message is chopped off. Is this because the original poster inadvertantly did something? Or am I doing something wrong? Or a bug?
 
My guess is that they used the "pre" tags for code and don't know the "trick".

e.g.

<pre>
Public Sub Main()
MsgBox "This is a test"
End Sub
</pre>

tends to screw up the rest of the text in the post. i.e. sends it off the screen. The "trick" is to put the closing tag on the same line as the last line of code i.e.:

<pre>
Public Sub Main()
MsgBox "This is a test"
End Sub</pre>

this is my guess as to what you're seeing.

HTH (aka Mark)
 
Sorry, Mark, I have no idea what this "<pre>" stuff is, is it something the sender is inputting?

Incidentally, I did find an end-run around the problem; I copied the message to the clipboard and pasted it into Word. It comes out screen-width and prints o.k.
 
The "<pre>" stuff is the HTML tags people use to make their VBA code examples PREserve the original spacing to make it more readable. The posts in this thread are now going off othe screen as evidenced by the fact that you have inadvertently opened a "<pre>" tag without closing it. I have disabled HTML on my posts so that you can actually see the "<pre>" tags that I'm talking about.
 
Mark is right about why it is going off of the screen, but as for the printing...

Internet Explorer is notorious for that problem. I usually just copy/paste the text into Word or some other program then print it out that way.

_________________<font color="#3399FF" size="3">Kristy</font></PRE>
This message was edited by Von Pookie on 2002-12-08 20:56
 

Forum statistics

Threads
1,224,875
Messages
6,181,513
Members
453,050
Latest member
Obil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top