473,698 Members | 2,225 Online
Bytes | Software Development & Data Engineering Community
+ 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 2312
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******** ********@TK2MSF TNGP15.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******** *****@TK2MSFTNG P10.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
6815
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 property which I think is probably wrong. Here's what it does: If two classes are defined in a stylesheet providing the same property, and if these two classes are assigned to one single element, the preference which class's property is used is...
4
1919
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> <a href="foo">Bar</a>
2
2047
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 statements separately in lines, e.g. --- A {css-properties:A; } A B C {css-properties:C;} A B D {css-properties:D; } A B D:hover {css-properties:Dhover; }
5
1677
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 answer is no, since these will only exist in the browser whereas the code-behind runs on the web server, but I wanted verification from you experts out there (I'm new to ASP.NET). If the answer is no, is it possible via javascript ?
1
303
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 collectively center in the panel? I see an attribute for Text centering, but that is different then having all of the controls center within the panel. I could put them all in a table and center the table, but is there a better way to accomplishe this ...
1
1117
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 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 - (probably an unwanted plug-in) changes the
9
2027
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 also allows them to copy files from your computer to their's. It is dangerous. Avoid at all costs. CSS that isn't stored in the victim's computer. Instead it is stored in the perpetrator's PC. What it does is it reads everything on the victim's...
5
1510
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 shopping cart I'll be using yet (am looking at os-commerce and miva) but the other part will be content. I will be writing reviews of products, articles on the industry, and someday may have some blogging and forums and advertising. I have to...
2
9615
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 master page file as follws "<link href="myStyleSheet.css" rel="Stylesheet" type="text/css"/>" Part of the Style sheet as follows: .textbox
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8861
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2328
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.