473,517 Members | 2,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How not to respond to font change?

Hi Experts:

I'm using asp.net 2.0. Is there a way for my pages not to respond to the
IE's Page-Text Size?

Thanks in advance!
Polaris
Jun 15 '07 #1
4 1030
Yes, if you use absolute font sizes they won't be affected.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Polaris" <et*******@hotmail.comwrote in message
news:OM**************@TK2MSFTNGP06.phx.gbl...
Hi Experts:

I'm using asp.net 2.0. Is there a way for my pages not to respond to the
IE's Page-Text Size?

Thanks in advance!
Polaris


Jun 15 '07 #2
Thanks. I wonder if there is some simpler way to do this. What kind of event
is sent to the web server when user clciks on IE's Page - Text Size? Is
there a way for the web server to ignore such user request all together?

Polaris

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:eA*************@TK2MSFTNGP02.phx.gbl...
Yes, if you use absolute font sizes they won't be affected.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Polaris" <et*******@hotmail.comwrote in message
news:OM**************@TK2MSFTNGP06.phx.gbl...
>Hi Experts:

I'm using asp.net 2.0. Is there a way for my pages not to respond to the
IE's Page-Text Size?

Thanks in advance!
Polaris



Jun 15 '07 #3
Don't think so. If this setting can be read in javascript you can pass it on
to the server, but I highly doubt you can read it.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Polaris" <et*******@hotmail.comwrote in message
news:ec**************@TK2MSFTNGP04.phx.gbl...
Thanks. I wonder if there is some simpler way to do this. What kind of
event
is sent to the web server when user clciks on IE's Page - Text Size? Is
there a way for the web server to ignore such user request all together?

Polaris

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:eA*************@TK2MSFTNGP02.phx.gbl...
Yes, if you use absolute font sizes they won't be affected.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Polaris" <et*******@hotmail.comwrote in message
news:OM**************@TK2MSFTNGP06.phx.gbl...
Hi Experts:

I'm using asp.net 2.0. Is there a way for my pages not to respond to
the
IE's Page-Text Size?

Thanks in advance!
Polaris



Jun 15 '07 #4
I was referring to a possibility to read the text size browser setting. As
far as canceling the setting from server side is concerned, it is for sure
impossible.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2****************@TK2MSFTNGP05.phx.gbl...
Don't think so. If this setting can be read in javascript you can pass it
on
to the server, but I highly doubt you can read it.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Polaris" <et*******@hotmail.comwrote in message
news:ec**************@TK2MSFTNGP04.phx.gbl...
Thanks. I wonder if there is some simpler way to do this. What kind of
event
is sent to the web server when user clciks on IE's Page - Text Size? Is
there a way for the web server to ignore such user request all together?

Polaris

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:eA*************@TK2MSFTNGP02.phx.gbl...
Yes, if you use absolute font sizes they won't be affected.
>
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
>
>
"Polaris" <et*******@hotmail.comwrote in message
news:OM**************@TK2MSFTNGP06.phx.gbl...
>Hi Experts:
>>
>I'm using asp.net 2.0. Is there a way for my pages not to respond to
the
>IE's Page-Text Size?
>>
>Thanks in advance!
>Polaris
>>
>>
>
>


Jun 15 '07 #5

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

Similar topics

3
6627
by: Cengiz Ulku | last post by:
Hi all, I know now how to change the font name of a RTF file in a RTB control using, for example: RTextBox1.SelFontName = cmbFonts.Text I have a RTF file -created with Word- displayed in a RTB control. Whenever I change the font type during the runtime by selecting a font name from a combobox -of all system fonts, the text changes its...
115
7107
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:
16
14505
by: Coder Droid | last post by:
I'm trying my first table-less site, and I've bumped my head up against a wall. I can't change the font size within a div. Real quick, my style sheet has: ------------------------------------- body { font: 8pt "face" } #nav {float: left; width: 144px; } #test { font: 12pt; font-weight: bold } -------------------------------------
1
32218
by: Jeff N | last post by:
It it possible to change a button's or text box's font size during runtime? When I try to build my application with this code: this.ActiveControl.Font.Size = "8.25"; I get this error message: Property or indexer "System.Drawing.Font.Size' cannot be assigned to -- it is read only I can change a button's text property during runtime, but...
2
16174
by: Jim | last post by:
Working with VB.net under VS.Net 2003. Have a simple form with a Button1. I want to change the font on the button when the button is clicked. Is there a way to Dynamically change the Font for Button1 from regular to bold, change the size etc. This line of code: Button1.Font.Bold = True
7
2932
by: Sakharam Phapale | last post by:
Hi All, How to preserve the old font properties while changing new one? I posted same question 2 months back, but I had very small time then. eg. "Shopping for" is a text in RichTextBox and already formatted as "Shopping" ---Bold "for" -----Regular Now I want to underline whole text by preserving old style i.e. Bold and
1
2715
by: Henry Jones | last post by:
I found some code to change the font on a button to bold: private void btnBold_Click(object sender, System.EventArgs e) { btnCalculate.Font = new Font(btnCalculate.Font, btnCalculate.Font.Style | FontStyle.Bold);
2
6554
by: Patti | last post by:
I am building an application using VB.NET 1.1 and I have an issue with Font properties in my Radio Button Lists and Check Box Lists. My issue is that the Font Names and Font Size for these controls have become "Read Only" and I have no idea how they became read only. I didn't set anything to read only and was able to change these fonts...
3
5608
by: Phil Stanton | last post by:
Correct me if I'm wrong, but is it impossible to change the font in a report field when in print preview (MDE database) or can it only be done in design view in the MDB database. Part of my database is used to print name tags for functions, and it would be nice for the operator to have a choice of different fonts, colours and backgrounds. I...
0
7190
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...
0
7594
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...
0
7554
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...
1
5118
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...
0
4781
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...
0
3272
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1636
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
1
829
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
501
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...

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.