473,698 Members | 2,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detect Browser Text Size Change

Hi there,

What is the best way to detect when a user changes the text size of their
browser. I need to Resize/Move things when they do this so grids and such
don't overlap each other. Thanks for your help.

Joe
Nov 19 '05 #1
4 1586
That's a clientside event... dont think you can. Unless the resize causes a
refresh you wont get this with ASP.NET

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"vbGansta" <js***@cassocor p.com> wrote in message
news:OV******** ******@TK2MSFTN GP15.phx.gbl...
Hi there,

What is the best way to detect when a user changes the text size of their
browser. I need to Resize/Move things when they do this so grids and such
don't overlap each other. Thanks for your help.

Joe

Nov 19 '05 #2
Thanks for the reply Curt. So how do you handle text size changes. Do you
just allow enough space so they never run together or what?

J
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
That's a clientside event... dont think you can. Unless the resize causes a refresh you wont get this with ASP.NET

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"vbGansta" <js***@cassocor p.com> wrote in message
news:OV******** ******@TK2MSFTN GP15.phx.gbl...
Hi there,

What is the best way to detect when a user changes the text size of their browser. I need to Resize/Move things when they do this so grids and such don't overlap each other. Thanks for your help.

Joe


Nov 19 '05 #3
normally you use tables, which will reflow the text.

-- bruce (sqlwork.com)
"vbGansta" <js***@cassocor p.com> wrote in message
news:eU******** *****@TK2MSFTNG P12.phx.gbl...
| Thanks for the reply Curt. So how do you handle text size changes. Do
you
| just allow enough space so they never run together or what?
|
| J
| "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
| news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
| > That's a clientside event... dont think you can. Unless the resize
causes
| a
| > refresh you wont get this with ASP.NET
| >
| > --
| > Curt Christianson
| > Owner/Lead Developer, DF-Software
| > Site: http://www.Darkfalz.com
| > Blog: http://blog.Darkfalz.com
| >
| >
| > "vbGansta" <js***@cassocor p.com> wrote in message
| > news:OV******** ******@TK2MSFTN GP15.phx.gbl...
| > > Hi there,
| > >
| > > What is the best way to detect when a user changes the text size of
| their
| > > browser. I need to Resize/Move things when they do this so grids and
| such
| > > don't overlap each other. Thanks for your help.
| > >
| > > Joe
| > >
| > >
| >
| >
|
|
Nov 19 '05 #4
My suggestion would be to NOT use absolute positioning in your web page/site
creation.

David Wier
MCP, MVP ASP.NET, ASPInsider
http://aspnet101.com
http://aspexpress.com
"vbGansta" <js***@cassocor p.com> wrote in message
news:OV******** ******@TK2MSFTN GP15.phx.gbl...
Hi there,

What is the best way to detect when a user changes the text size of their
browser. I need to Resize/Move things when they do this so grids and such
don't overlap each other. Thanks for your help.

Joe

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
14538
by: Michael Hill | last post by:
I have a perl script that i use to render a html page. In that page i call out a stylesheet. If the user has a 800x600 display the fonts are really too big. Since screen resolution is a function of the client and I have this javascript ot detect the srecc size: function ck_res() { if ( (screen.width != 1024) && (screen.height != 768) ) {
157
16382
by: Dennis | last post by:
Is there some way --using, say, DOM or javascript-- to detect the current pixel width and/or height of a relatively sized table or of one of its columns or rows. I'm going to be writing javascript to adjust my page to the viewer's browser window dimensions and this would sure be great information to have. Thanks .... Dennis
115
7194
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." Yet if I use 'x-small' instead of 9pt, I get bigger type on IE6 and smaller type on Mozilla. My choices seem to be:
8
4781
by: mscir | last post by:
I'd like to detect when the user resizes the text in the browser, is there a specific event I can watch for?
1
1421
by: mbasil7 | last post by:
Hi at all. Is there a way to detect with javascript the scrolling bar with of the browser? My problem is that the the following script assing to the pos variable the browser window size but only internet explorer substracts the scrolling bar with from the result. <script language="JavaScript" type="text/JavaScript"> <!--
14
3996
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
8
376
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I detect Opera/Netscape/IE? ----------------------------------------------------------------------- The « navigator » object contains strings which specify the browser and version; however, this is in general not very genuine. Mozilla (and therefore Netscape 6+) allows this to be freely set, and Opera and IE allow it to be modified. There are...
9
3706
by: retrodans | last post by:
I am toying with a javascript scrollbar for a DIV, and am trying to make it as accessible as possible, I have succeeded on the most part, but there is a slight problem due to the fact that it isn't a real scrollbar, I believe the best way is to detect whether overflow is required, then have it display the newscrollbar and hide the old one! Anybody have any ideas on whether this is possible, was previously trying to get style.height, but...
24
3020
by: dE|_ | last post by:
I have started looking into scripts for screen size detect with the intention of using them to pick from a number of CSS style sheets tailored to the size. Is there a good reason why this is not so commonly done? IE am I wasting my time? ---dE|_---
0
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.