473,474 Members | 1,304 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB.NET Web Application & Cascading Style Sheets

Hi:

I have a VB.NET web application that has been running just fine for several
months without any cascading style sheets. Suddenly several users have had
problems with the layout of the screen. In particular some text boxes are
getting too large and covering buttons and therefore preventing them from
being pushed.

It appears that some other application - or perhaps a plug-in - changes the
default browser settings and then causes problems on my site when people go
to it.

I assume that the way to solve this is to use a common cascading style sheet
everywhere in the system.

I'm having problems figuring out which font settings for labels relate to
html codes such as <h1> <h2> when I choose font sizes X-Large and the
others. The view source doesn't help as that code is actually used in the
generated html.

Does anyone know where I could find this information.

Also - is there a default style sheet somewhere that will cause screen to
display as it does on my developemnt system.

Thanks for your help!

Fred
Nov 21 '05 #1
4 2302
Fred,

Can you show us some code how you made those CSS files using the VBNet
language I never saw that, so it interest me.

You can of course use the VSNet designer for that. VSNet is even a great
tool for that. Your problem is however probably a user setting in the
browser, that you can only check by doing the same thing on a computer with
a fresh (and tested) webbrowser setting.

A HTML page is affected by a lot of things (what can be in the CSS file).

Most probably is your problem about this below.

Fixed settings in cm or inch
Fixed settings in pixels (when this is done your page will look at almost
every screen different and changes with almost every change of a setting of
the client)
Relative settings (%)

Although it is in my opinion beside the topic of this newsgroup, do I hope
this helps something.

Cor
Nov 21 '05 #2
There is a ".css" file that is created with every VB.NET web application.
Each html page must have a "link" line inserted to use the .css. If you
click on the file there is a special editor in VS that makes it easy to edit
them.

I've been running without any .css in my web apps and suddenly I have two or
three people who are having problems with the screen. I've seen this on one
machine - that my kid plays games on. Somehow once the fonts are changed in
the browser by another site they mess up my screen. I've had to shutdown
and restart that machine to fix the problem and this has worked several
times.

A customer called last night with the same issue however the
shutdown/restart did not solve the problem. I'm looking for a very fast fix
to the problem - some way to change the browser back to its default settings
then everything I have written will still work.

Since I'm obviously going to need a .css I need to find out which tags - ex
<h1> correlate to the font size settings within the properties manager of
text boxes. (No problem for html that I have written myself).

I'm going to play around with several pages to see what I can find out
today. If you have any additional info please pass it along!

Thanks,

Fred

"Cor Ligthert" <no************@planet.nl> wrote in message
news:ep****************@TK2MSFTNGP15.phx.gbl...
Fred,

Can you show us some code how you made those CSS files using the VBNet
language I never saw that, so it interest me.

You can of course use the VSNet designer for that. VSNet is even a great
tool for that. Your problem is however probably a user setting in the
browser, that you can only check by doing the same thing on a computer with a fresh (and tested) webbrowser setting.

A HTML page is affected by a lot of things (what can be in the CSS file).

Most probably is your problem about this below.

Fixed settings in cm or inch
Fixed settings in pixels (when this is done your page will look at almost
every screen different and changes with almost every change of a setting of the client)
Relative settings (%)

Although it is in my opinion beside the topic of this newsgroup, do I hope
this helps something.

Cor

Nov 21 '05 #3
Fred,

This sound as an unwanted pluggin for IE (spyware).

Is it an idea trying to install something as Firefox to check if that is
true?

(I would in your place definitly place this question in the newsgroup ASPNET
crossposted to an other HTML related newsgroup).

Both just ideas.

Cor
Nov 21 '05 #4
Cor:

I agree that there is something unwanted running around. The computer in
our house that has the problem is reverved for our kids who always seem to
get a lot of junk installed on it. I tried to use that machine today to
replicate the problem however I'll have to wait for my 8th grader to get
home and do whatever it is she does.

Also, I have tired Firefox and Mozilla - both of those show no unwanted
changes at all.

I will post my question in the asp.net newsgroup.

Thanks,

Fred

"Cor Ligthert" <no************@planet.nl> wrote in message
news:uW*************@TK2MSFTNGP10.phx.gbl...
Fred,

This sound as an unwanted pluggin for IE (spyware).

Is it an idea trying to install something as Firefox to check if that is
true?

(I would in your place definitly place this question in the newsgroup ASPNET crossposted to an other HTML related newsgroup).

Both just ideas.

Cor

Nov 21 '05 #5

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

Similar topics

31
by: Axel Dahmen | last post by:
I try to combine properties of several classes. This is done by assigning a space separated list of class definitions to an element. However, IE shows a kind of preference when choosing the right...
4
by: Thomas Mlynarczyk | last post by:
Hi, I just ran into some problems when I tried to "style" the <a> elements of a page. Basically, I have something like this: <div id="left"> <div id="menu"> <a href="bla">Bla</a> </div>...
2
by: pp | last post by:
What would you say about a smart script that would transform really 'cascading' style sheet into appropriate CSS structures. When coding css by hand, most often you are forced to write the...
5
by: JezB | last post by:
Is it possible to programatically examine and modify a page's Styles (including Cascading Style Sheets) within the code-behind-module (eg. c#) ? My guess is that since these are HTML elements the...
1
by: Jim Heavey | last post by:
Hello, I am hoping I have a very basic question for Cascading Style Sheets If I am using an ASp:Panel control and I have a number of controls in the panel, how do I get the controls to all...
1
by: Fred Nelson | last post by:
Hi: I have a VB.NET web application that has been running just fine for several months without any cascading style sheets. Suddenly several users have had problems with the layout of the...
9
by: Radium | last post by:
Cascading Style Sheet is an extreme hazard to your privacy. It allows others on the internet to see your monitor and files. It allows them to copy images on your monitor to their computers. It...
5
by: MarkW | last post by:
I hope this is the correct place to post this: I am developing a web site for a e-commerce business I will be running. The site I'm setting up will be 50% store, 50% content. I'm not sure which...
2
by: greenMark | last post by:
Hi All, I'm relatively new to ASP.NET and Visual Web Developer 2008. I'm using a Master page with one content place holder. There is a Cascading Style Sheet file which is being refered by the...
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
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...
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
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
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...

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.