473,395 Members | 1,680 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,395 software developers and data experts.

TextBox Control Font Size

I am using textboxes, buttons labels and drop down lists on a web page, but i
noticed that textboxes and buttons font size doesn't change when i change the
font size in IE ( from IE menu: View>>Text Size>>) though the size is
changing for lables and drop down lists, i am using skin for these controls
but all the skin have the same font settings(font size is set to small) i
tried removing the textbox skin to see if this chnages anything but it
doesn't.
any ideas?
I am using .Net 2 and IE 6
Apr 18 '07 #1
3 12389
Hi Tony

You have to use absolute or relative sizes instead of pixels or points:
<asp:Label runat="server" ID="label1" Text="Tony" Font-Size="Medium"/>
not like this
<asp:Label runat="server" ID="label2" Text="Tony" Font-Size="10pt"/>

Hope this helps
--
Milosz
"Toty Santana" wrote:
I am using textboxes, buttons labels and drop down lists on a web page, but i
noticed that textboxes and buttons font size doesn't change when i change the
font size in IE ( from IE menu: View>>Text Size>>) though the size is
changing for lables and drop down lists, i am using skin for these controls
but all the skin have the same font settings(font size is set to small) i
tried removing the textbox skin to see if this chnages anything but it
doesn't.
any ideas?
I am using .Net 2 and IE 6

Apr 18 '07 #2
I am using relative font sizes for all the controls Font-Size="Small" but still textboxes and buttons doesn't adapt to the font size selection in IE, though labels and drop down lists and even validation controls are working.
Toty
"Milosz Skalecki [MCAD]" <mi*****@DONTLIKESPAMwp.plwrote in message news:46**********************************@microsof t.com...
Hi Tony

You have to use absolute or relative sizes instead of pixels or points:
<asp:Label runat="server" ID="label1" Text="Tony" Font-Size="Medium"/>
not like this
<asp:Label runat="server" ID="label2" Text="Tony" Font-Size="10pt"/>

Hope this helps
--
Milosz
"Toty Santana" wrote:
I am using textboxes, buttons labels and drop down lists on a web page, but i
noticed that textboxes and buttons font size doesn't change when i change the
font size in IE ( from IE menu: View>>Text Size>>) though the size is
changing for lables and drop down lists, i am using skin for these controls
but all the skin have the same font settings(font size is set to small) i
tried removing the textbox skin to see if this chnages anything but it
doesn't.
any ideas?
I am using .Net 2 and IE 6

Apr 18 '07 #3
Hi Toty,

You're right, i checked it, IE skips buttons absloute sizes. I didn't know
that.
--
Milosz
"Toty Santana" wrote:
I am using relative font sizes for all the controls Font-Size="Small" but still textboxes and buttons doesn't adapt to the font size selection in IE, though labels and drop down lists and even validation controls are working.
Toty
"Milosz Skalecki [MCAD]" <mi*****@DONTLIKESPAMwp.plwrote in message news:46**********************************@microsof t.com...
Hi Tony

You have to use absolute or relative sizes instead of pixels or points:
<asp:Label runat="server" ID="label1" Text="Tony" Font-Size="Medium"/>
not like this
<asp:Label runat="server" ID="label2" Text="Tony" Font-Size="10pt"/>

Hope this helps
--
Milosz
"Toty Santana" wrote:
I am using textboxes, buttons labels and drop down lists on a web page, but i
noticed that textboxes and buttons font size doesn't change when i change the
font size in IE ( from IE menu: View>>Text Size>>) though the size is
changing for lables and drop down lists, i am using skin for these controls
but all the skin have the same font settings(font size is set to small) i
tried removing the textbox skin to see if this chnages anything but it
doesn't.
any ideas?
I am using .Net 2 and IE 6
>
>
Apr 18 '07 #4

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

Similar topics

48
by: Nirvana | last post by:
How to make the font size constant in HTML code, so that in a web browser it remains fixed. For e.g in IE if you press CTRL and move mouse wheel front or back the font size changes, cheers
5
by: dixie | last post by:
I want to be able to set the font size and font type for text in a text box on a report using VBA. I wan't to be able to control it from a setting in a table. The problem is that I don't know the...
3
by: frasmus44 | last post by:
I have searched this group for ways to create jumbo fonts in my Access forms and reports. Unlike MS Word and MS Excel, Access has a 127 point font limit. (About 1.75" tall) I'm referring to bound...
1
by: Visual Systems AB \(Martin Arvidsson\) | last post by:
Hi! Can any one point me in direction of modify a TextBox control. What i want to do is to add a button, like the ComboBox have. with my own bitmap and execute an Event when clicked. I...
2
by: fabrice | last post by:
Hi, I have a trouble with my TextBox Control and it's ViewState in my form... The property for it, is FALSE as following : <form id="frmSearchBre4" runat="Server"> <asp:textbox id="myID"...
2
by: Woody Splawn | last post by:
When placing labels and text boxes on winforms they are coming up by default in a size that is just a little too small. How do I change this so that in the future they will come up with a bigger...
18
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
7
by: Ned White | last post by:
Is it possible to insert HTML codes to a textbox control ? I am reading HTML formated string from sql server but if i assign this value to Text property of TextBox, the format tags of HTML seems...
6
by: Miro | last post by:
Is there a way to / or a mathematical formula to see if a font size is 'too big' for a label. I have a label that is docked to 'fill' a form, and I want to resize that font based on the width...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.