By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,291 Members | 3,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,291 IT Pros & Developers. It's quick & easy.

Netscape problems

P: n/a
Vik
1. To show the sort order in a datagrid, a label is added to the datagrid
header in the ItemCreated event (this method is taken from a book):
With lblSorted
..Font.Name = "Webdings"
..Font.Size = FontUnit.XSmall
..Text = IIf(blnSortDir, " 5", " 6")
End With

This label is rendered as
<span style="font-family:Webdings;font-size:X-Small;"> 5</span>In IE 6 it
appears as a glyph (as expected); in NN 7 it appears as a number 5. How can
I fix this in NN?

2. In IE 6, increasing the font size in a browser does not change appearance
of the .NET controls. In NN 7, the controls grow and overlap. Is it possible
to keep them unchanged?

Thank you.

Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Look at my project ( still developing on it ) http:\\hbase.nohausystems.nl
( choose one of the visitor modus)
after visiting start the website with firefox ( may also be on linux ) and
see the differences

if everything is as expected you see none

how to acomplish this ???

well code by official rules ( www.w3c.org ) and standards and your proggy
is multiplatform instead of Netscape / IE only


"Vik" <viktorum@==hotmail.com==> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
1. To show the sort order in a datagrid, a label is added to the datagrid
header in the ItemCreated event (this method is taken from a book):
With lblSorted
.Font.Name = "Webdings"
.Font.Size = FontUnit.XSmall
.Text = IIf(blnSortDir, " 5", " 6")
End With

This label is rendered as
<span style="font-family:Webdings;font-size:X-Small;"> 5</span>In IE 6 it
appears as a glyph (as expected); in NN 7 it appears as a number 5. How can I fix this in NN?

2. In IE 6, increasing the font size in a browser does not change appearance of the .NET controls. In NN 7, the controls grow and overlap. Is it possible to keep them unchanged?

Thank you.

Nov 18 '05 #2

P: n/a
Vik
Thank you for reply. But I don't see if I can get help here.

1. Open your page in Netscape 7, set the Text Zoom to 200% and see the
appearance of the buttons. This is what I want to avoid.
2. On your second page, I don't see a way to change the font size, so I
cannot test how it works (and the page has only a few controls which
probably will not overlap with any text settings).
3. The label I added to the datagrid header is converted to the HTML code by
VS.NET. I don't see how I can force it to use any standards. And what is
wrong with <span style=...></span> code? Isn't it standard?

Vik

"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:cb**********@reader08.wxs.nl...
Look at my project ( still developing on it ) http:\\hbase.nohausystems.nl
( choose one of the visitor modus)
after visiting start the website with firefox ( may also be on linux ) and see the differences

if everything is as expected you see none

how to acomplish this ???

well code by official rules ( www.w3c.org ) and standards and your proggy is multiplatform instead of Netscape / IE only


"Vik" <viktorum@==hotmail.com==> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
1. To show the sort order in a datagrid, a label is added to the datagrid header in the ItemCreated event (this method is taken from a book):
With lblSorted
.Font.Name = "Webdings"
.Font.Size = FontUnit.XSmall
.Text = IIf(blnSortDir, " 5", " 6")
End With

This label is rendered as
<span style="font-family:Webdings;font-size:X-Small;"> 5</span>In IE 6 it appears as a glyph (as expected); in NN 7 it appears as a number 5. How

can
I fix this in NN?

2. In IE 6, increasing the font size in a browser does not change

appearance
of the .NET controls. In NN 7, the controls grow and overlap. Is it

possible
to keep them unchanged?

Thank you.



Nov 18 '05 #3

P: n/a
Well it could have been some help if you understood my point ,,,,, thats why
i wanted you to see my website

Cause it does appear the same in IE , mozilla , and even Conquerer

Point 1 & 2 that is exactly why i start it in a new window , so you can`t
alter these settings :-)

3 . i use repeaters and make my own grid code , this way i have 100% full
control
And what is
wrong with <span style=...></span> code? Isn't it standard?
nothing is wrong with the span tag however the problem is what you put in it
:-)

.Font.Name = "Webdings"

Webdings is a MS only font

see this http://www.microsoft.com/typography/web/fonts/webdings/

this means even if you get it to work in Netscape ( wich i doubt ) Mac and
Linux / Unix users will see a 5 instead of the glymp
ASP.NET coding can be done in two ways

Drag and drop objects on forms and live with some handicaps on other non MS
progs / systems

or

Skip the hole designer Window go to html source view and code everything
yourself ( requires HTML & javascript knowledge ) this should be no
problem for a true coder

the result = cleaner code ( faster ) , 100% flexibility , platform
independent ( as the web should be in my eyes )

"Vik" <viktorum@==hotmail.com==> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl... Thank you for reply. But I don't see if I can get help here.

1. Open your page in Netscape 7, set the Text Zoom to 200% and see the
appearance of the buttons. This is what I want to avoid.
2. On your second page, I don't see a way to change the font size, so I
cannot test how it works (and the page has only a few controls which
probably will not overlap with any text settings).
3. The label I added to the datagrid header is converted to the HTML code by VS.NET. I don't see how I can force it to use any standards. And what is
wrong with <span style=...></span> code? Isn't it standard?

Vik

"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:cb**********@reader08.wxs.nl...
Look at my project ( still developing on it ) http:\\hbase.nohausystems.nl
( choose one of the visitor modus)
after visiting start the website with firefox ( may also be on linux )

and
see the differences

if everything is as expected you see none

how to acomplish this ???

well code by official rules ( www.w3c.org ) and standards and your

proggy
is multiplatform instead of Netscape / IE only


"Vik" <viktorum@==hotmail.com==> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
1. To show the sort order in a datagrid, a label is added to the datagrid header in the ItemCreated event (this method is taken from a book):
With lblSorted
.Font.Name = "Webdings"
.Font.Size = FontUnit.XSmall
.Text = IIf(blnSortDir, " 5", " 6")
End With

This label is rendered as
<span style="font-family:Webdings;font-size:X-Small;"> 5</span>In IE 6 it appears as a glyph (as expected); in NN 7 it appears as a number 5.

How can
I fix this in NN?

2. In IE 6, increasing the font size in a browser does not change

appearance
of the .NET controls. In NN 7, the controls grow and overlap. Is it

possible
to keep them unchanged?

Thank you.



Nov 18 '05 #4

P: n/a
Vik
I'm not true coder. I'm a programmer trying to avoid even drug and drop by
developing the form generator and other utilities. :)

So far I haven't seen the Web sites without the menu and toolbars. There
should be other ways to develop the browser independent Web pages. I think
one way is using the tables for layout. I'm trying to use the <DIV> elements
with grid layout and probably this causes the problem.

According to your link, the Webdings is part of IE 4. It is installed on PC
and may be used by any program including Netscape.

This code does not work in Netscape: <span
style="font-family:Webdings;font-size:X-Small;">5</span>
But this does: <span><font face="Webdings" size="X-Small">5</font></span>
This also does: <font face="Webdings" size="X-Small">5</font>
So, the problem is not in the font but in how Netscape works with the style
settings.
You are probably right that this font will not work on non PC systems (I
don't have access to such systems). So, I have to use the images instead of
this font.

Vik

"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:cb**********@reader13.wxs.nl...
Well it could have been some help if you understood my point ,,,,, thats why i wanted you to see my website

Cause it does appear the same in IE , mozilla , and even Conquerer

Point 1 & 2 that is exactly why i start it in a new window , so you can`t
alter these settings :-)

3 . i use repeaters and make my own grid code , this way i have 100% full control
And what is
wrong with <span style=...></span> code? Isn't it standard?
nothing is wrong with the span tag however the problem is what you put in

it :-)

.Font.Name = "Webdings"

Webdings is a MS only font

see this http://www.microsoft.com/typography/web/fonts/webdings/

this means even if you get it to work in Netscape ( wich i doubt ) Mac and Linux / Unix users will see a 5 instead of the glymp
ASP.NET coding can be done in two ways

Drag and drop objects on forms and live with some handicaps on other non MS progs / systems

or

Skip the hole designer Window go to html source view and code everything
yourself ( requires HTML & javascript knowledge ) this should be no
problem for a true coder

the result = cleaner code ( faster ) , 100% flexibility , platform
independent ( as the web should be in my eyes )

"Vik" <viktorum@==hotmail.com==> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl...
Thank you for reply. But I don't see if I can get help here.

1. Open your page in Netscape 7, set the Text Zoom to 200% and see the
appearance of the buttons. This is what I want to avoid.
2. On your second page, I don't see a way to change the font size, so I
cannot test how it works (and the page has only a few controls which
probably will not overlap with any text settings).
3. The label I added to the datagrid header is converted to the HTML code
by
VS.NET. I don't see how I can force it to use any standards. And what is
wrong with <span style=...></span> code? Isn't it standard?

Vik

"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:cb**********@reader08.wxs.nl...
Look at my project ( still developing on it ) http:\\hbase.nohausystems.nl ( choose one of the visitor modus)
after visiting start the website with firefox ( may also be on linux )

and
see the differences

if everything is as expected you see none

how to acomplish this ???

well code by official rules ( www.w3c.org ) and standards and your

proggy
is multiplatform instead of Netscape / IE only


"Vik" <viktorum@==hotmail.com==> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
> 1. To show the sort order in a datagrid, a label is added to the

datagrid
> header in the ItemCreated event (this method is taken from a book):
> With lblSorted
> .Font.Name = "Webdings"
> .Font.Size = FontUnit.XSmall
> .Text = IIf(blnSortDir, " 5", " 6")
> End With
>
> This label is rendered as
> <span style="font-family:Webdings;font-size:X-Small;"> 5</span>In IE
6 it
> appears as a glyph (as expected); in NN 7 it appears as a number 5.

How can
> I fix this in NN?
>
> 2. In IE 6, increasing the font size in a browser does not change
appearance
> of the .NET controls. In NN 7, the controls grow and overlap. Is it
possible
> to keep them unchanged?
>
> Thank you.
>
>
>



Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.