Netscape problems

V

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.
 
M

M. Posseth

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
 
V

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
 
V

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

M. Posseth

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 )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top