Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Browser Altering Font Size
kvarnerexpress
post Oct 16 2005, 02:12 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



Is there a way to make the text on a page stay the same size, even if the user clicks on the 'Enlarge text size' button or the 'Decrease text size' button within browsers.
I know you can use an image, but that makes the site too big.

I also am aware of the need to give the user control, but for particular reasons a particular section of text on the site needs to stay the same size. It doesn't matter if the text around it is enlarged or decreased. It is just a particular section. Any suggestions appreciated.

Also, as an aside, is there a way you can completely disable the function, just like you can disable the right mouse click, etc.

Thanks.
kvarnerexpress
Go to the top of the page
 
+Quote Post
amhso
post Oct 16 2005, 05:25 PM
Post #2


Super Member
*********

Group: Members
Posts: 426
Joined: 24-September 05
Member No.: 12,212



well that would get rid of the purpose of the text size feature. Some people have bad eyes...What reason do you mean for doing this?
Go to the top of the page
 
+Quote Post
Lozbo
post Oct 16 2005, 05:26 PM
Post #3


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



I used to declare pixels or points in CSS for the font size, and it never resized, but im not sure exactly when, browsers started resizing, even when in css you did not have measure in EM or other relative sizes.

Anyway, its been also a time since i quit doing that, so you might try this and see if it works... (using pixels or points for the font size, instead of relative measure)

But you have to declare this in the most specific rule that applies to your text.
Go to the top of the page
 
+Quote Post
arboc7
post Oct 16 2005, 05:55 PM
Post #4


Advanced Member
*******

Group: Members
Posts: 123
Joined: 5-September 05
Member No.: 11,522



As far as I know, the only fool-proof way to keep your text a static size is to use an image. Browsers these days even allow the user to change the size of text that is defined to have a certain pixel size...

Sorry that I can't help much...

Good luck!
Go to the top of the page
 
+Quote Post
Tyssen
post Oct 17 2005, 02:01 AM
Post #5



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



It's only IE that doesn't allow text size resizing if you use pixels. If it absolutely has to be a certain size (even though I can't think of any situation where that would have to be the case), then images is your only option.
Go to the top of the page
 
+Quote Post
rvalkass
post Oct 17 2005, 05:16 AM
Post #6


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,053
Joined: 28-May 05
From: Hertfordshire, England
Member No.: 7,593
Spam Patrol



Even images won't help entirely, Opera has a zoom feature to enlarge everything on a page. If the text must be that small for layout then thats fine, the zoom won't affect it, but otherwise, you will still have problems.
Go to the top of the page
 
+Quote Post
Tyssen
post Oct 17 2005, 05:29 AM
Post #7



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



QUOTE(rvalkass @ Oct 17 2005, 03:16 PM)
Even images won't help entirely, Opera has a zoom feature to enlarge everything on a page. If the text must be that small for layout then thats fine, the zoom won't affect it, but otherwise, you will still have problems.

Yeah but Opera scales the whole page as one. The reason given for needing to restrict a certain portion of the layout was cos it breaks something else. If an image was used, Opera would scale it relative to everything else and so would maintain the page's overall layout.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Japanese Browser Called Sleipnir(2)
  2. Internet Browser For Nintendo Ds(38)
  3. Scroll Message On Top Of Your Browser..(3)
  4. What browser do you use?(681)
  5. Mozilla Firefox Poll(75)
  6. Making My Own Browser(6)
  7. Is Mozilla The Best Browser?(57)
  8. Firefox 3 Sucks - Time For Another Browser(48)
  9. Best Browser To Desighn Your Site To(9)
  10. Transfer File Of Any Size Using Winsock Control(5)
  11. Test Your Browser For Security(11)
  12. Pogo(1)
  13. Toolbars(2)
  14. Mysql Database Size(6)
  15. Change Font Size On Taskbar Buttons(4)
  1. The Fastest Browser(81)
  2. Allowed Memory Size Exhausted(4)
  3. Php Source Code Unveiled In Browser?(7)
  4. A Better Browser For Vista ?(11)
  5. No Browser Installed(4)
  6. Text Size Problem(6)
  7. Allowed Memory Size Exhausted(1)
  8. How Do I Change The Default Windows Font Size?(3)
  9. Lost Power City(2)
  10. How To Make A Web Browser(48)
  11. Travian Browser Based Game(1)
  12. DNS Hijack SearchAtHand.com Browser Result Removal(6)
  13. Custom Vb Browser(1)
  14. Size Of Graphic Cards?(5)
  15. Image Not Taking The Right Size In Web Page(1)


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:52 AM