An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Previous Thread
Next Thread
Print Thread
Rendition of Code tags under Windows - problem?
#9242 04/06/10 03:13 AM
Joined: Aug 2009
Likes: 1
Moderator
OP Offline
Moderator

Joined: Aug 2009
Likes: 1
Checking out the forums with a Windows box (running XP in this case) as I frequently do when there's no Mac available I noticed earlier today that some* Code boxes appear empty (see FAQ > What UBB Code can I use? > Code Tags).

I wonder if this is 'normal' under Windows, or if this is a peculiarity of the Windows box I happened to be using when I noticed this*2). Can anybody try this and post the result here? Please include in your reply the Windows version you're running, plus that of any Service Pack installed. cool


*) The 2 examples DK provides are the ones that are empty. DK's quote of Virtual1's code appears OK, as does the code in V1's original post.

*2) Meanwhile, I found the same on another XP box, so this issue doesn't seem machine-specific.


Last edited by alternaut; 04/06/10 04:31 PM. Reason: added some detail

alternaut moderator
Re: Rendition of Code tags under Windows - problem
alternaut #9268 04/06/10 09:02 PM
Joined: Aug 2009
Moderator
Offline
Moderator

Joined: Aug 2009
Hi, alternaut

On a Dell running Microsoft Windows XP – Professional Version 2002 – Service Pack 3 and using Internet Explorer 7.0.5730.13, this is what I see:

FTM code display in Windows XP

I have not been able to discover why Virtual1's original code displays fine and the second and third do not.

Last edited by dianne; 04/07/10 12:57 AM. Reason: fixed link to image.

Back up everything you can't afford to lose: documents, mail, movies, music, photos, and other data and settings.
Re: Rendition of Code tags under Windows - problem
dianne #9274 04/07/10 02:49 AM
Joined: Aug 2009
Likes: 1
Moderator
OP Offline
Moderator

Joined: Aug 2009
Likes: 1
Thanks, Dianne, that's exactly what I see. Sure looks like a bug, doesn't it?


alternaut moderator
Re: Rendition of Code tags under Windows - problem
alternaut #9309 04/07/10 10:01 PM
Joined: Aug 2009
Likes: 16
Moderator
Online
Moderator

Joined: Aug 2009
Likes: 16
The error shows up in Internet Explorer 8 too but not in Google Chrome, or Firefox running on Windows XP. I am aghast that Microsoft would improperly render an HTML tag.


If we knew what it was we were doing, it wouldn't be called research, would it?

— Albert Einstein
Re: Rendition of Code tags under Windows - problem
dianne #9329 04/08/10 02:14 PM
Joined: Aug 2009
Offline

Joined: Aug 2009
Internet Explorer doesn't seem to handle the div that holds the PRE tag correctly and is causing the horizontal scrollbar to appear over top of the single line of text in the PRE tag.

You can add the following to your ubbthreads_finetunedmac theme css file:

Code:

.ubbcode-pre {
	padding-bottom: 1.3em;
}



or if you just want it to apply to IE, edit the template to add an IE only css file by adding the following to the head:

Code:

<!--[if IE]>
		<link rel="stylesheet" type="text/css" href="/path/to/ie_only.css" />
<![endif]-->



and include the above css code in that file instead.


iMac 2.7 GHz Core i5, 12 GB RAM, OS X 10.9, Int SATA 1 TB, Ext Fire 2 TB / 1 TB / 1 TB / 500 GB / 300 GB
Former MacFixIt Forums member since 11/17/99
www.rhubarbproductions.com
Re: Rendition of Code tags under Windows - problem
Kevin M. Dean #9335 04/08/10 07:50 PM
Joined: Aug 2009
Likes: 1
Moderator
OP Offline
Moderator

Joined: Aug 2009
Likes: 1
Thanks Kevin. I'm sure tacit will be interested in this. cool


alternaut moderator

Moderated by  alternaut, cyn, dkmarsh 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.4.33 Page Time: 0.026s Queries: 26 (0.020s) Memory: 0.5941 MB (Peak: 0.6658 MB) Data Comp: Zlib Server Time: 2024-04-19 22:42:08 UTC
Valid HTML 5 and Valid CSS