geekhack

Site Announcements and Feedback => Announcements/Feedback/Suggestions => Topic started by: Soarer on Sat, 10 November 2012, 17:42:26

Title: Why is the default size for [pre] tagged text so small?!
Post by: Soarer on Sat, 10 November 2012, 17:42:26
[pre]default[/pre]:
default

[pre][size=x-small]x-small[/size][/pre]:
x-small

[pre][size=small]small[/size][/pre]:
small

[pre][size=medium]medium[/size][/pre]:
medium

Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: mkawa on Sat, 10 November 2012, 20:47:51
this unfortunately depends on theme. it looks fine here (thoriated)
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: Soarer on Sun, 11 November 2012, 05:09:06
Are you sure? I just changed to thoriated and reloaded this page, and default is still the same size as x-small  :-\

I guess it could vary with theme though, and it is only one logical (CSS2) size different to normal text (which is 'small'). Still seems a big actual size diffference though, and not really usable without adding a size tag :(
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: mkawa on Sun, 11 November 2012, 09:25:25
so on my browser (chrome/win8) all that text looks exactly the same. can i get browser/OS version from you?
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: Soarer on Sun, 11 November 2012, 10:13:05
Firefox + XP. Same on Android as well. Will take screenshot later when home :)
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: esoomenona on Sun, 11 November 2012, 12:26:16
What should [pre] look like?
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: alaricljs on Sun, 11 November 2012, 12:54:28
pre should just be a switch from variable width to fixed width font type, no size change.
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: Soarer on Sun, 11 November 2012, 16:08:13
So here's how it looks for me, with 'default' being the same size as 'x-small':

[attachimg=1]

I can't remember what vbulletin did with pre - I'm pretty sure it didn't change size, but I think it might also not make the block a paragraph (unlike html <pre>). Or maybe that was some other tag I found!
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: esoomenona on Mon, 12 November 2012, 09:05:05
Okay. Well, on my laptop (7 & Firefox) last night, it looked like soarer posted there. At work now (7 & IE8), the text is the same size as the small text.
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: jeroplane on Mon, 12 November 2012, 09:34:28
Chrome/Vista/Thoriated, the text looks likes Soarer's image. Same with Firefox.
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: rknize on Tue, 13 November 2012, 11:09:37
I notice a difference between Chrome and Firefox on Linux as well.  I'll take a peek.
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: nullstring on Tue, 13 November 2012, 11:21:53
silly browsers. Trix are for kids.
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: rknize on Tue, 13 November 2012, 17:39:57
Should be fixed now.  The SMF guys just forgot about pre.
Title: Re: Why is the default size for [pre] tagged text so small?!
Post by: Soarer on Tue, 13 November 2012, 18:06:46
Ah-ha! Yeah, I had a quick look at the css earlier and couldn't see any style for pre, yet that just puzzled me even more!

Thanks!