473,394 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 1574
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***@cassocorp.com> wrote in message
news:OV**************@TK2MSFTNGP15.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_darkfalz.com> wrote in message
news:%2***************@TK2MSFTNGP12.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***@cassocorp.com> wrote in message
news:OV**************@TK2MSFTNGP15.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***@cassocorp.com> wrote in message
news:eU*************@TK2MSFTNGP12.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_darkfalz.com> wrote in message
| news:%2***************@TK2MSFTNGP12.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***@cassocorp.com> wrote in message
| > news:OV**************@TK2MSFTNGP15.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***@cassocorp.com> wrote in message
news:OV**************@TK2MSFTNGP15.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
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...
157
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...
115
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 ..." ...
8
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
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...
14
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
8
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I detect Opera/Netscape/IE? ----------------------------------------------------------------------- The...
9
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...
24
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...

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.