I have an application with a page that has a web user control
When I call that page that has this user control, locally (http://
localhost/ApplicationX/default.aspx) and also externally ie (http://
<webserver>/ApplicationX/default.aspx), the display is all different.
For example, a text box shows with border on one and textbox shows as
label in the other. I am suspecting that it might be CSS issue. I
checked the CSS file and everything looks the same.
I am wondering why the same webpage shows up differently on the local
web server machine and on the external browser.
Any ideas?
Thanks in Advance 3 3392
You're probably right about its being a CSS issue, or moreso, a relative
path that's not right. Are your CSS references relative? (<link
rel="stylesheet " href="../somefile.css" />) Absolute from the root? (<link
rel="stylesheet " href="/somefile.css" />) Fully qualified? (<link
rel="stylesheet " href="http://someserver/file.css" />)
Perhaps your local DNS prevents you from resolving the WWW address or
something along those lines. Try loading each CSS file directly in the
browser and see if you get the results you'd expect.
Ray at work
"Shawn T" <ks******@gmail .comwrote in message
news:11******** **************@ b75g2000hsg.goo glegroups.com.. .
>I have an application with a page that has a web user control
When I call that page that has this user control, locally (http://
localhost/ApplicationX/default.aspx) and also externally ie (http://
<webserver>/ApplicationX/default.aspx), the display is all different.
For example, a text box shows with border on one and textbox shows as
label in the other. I am suspecting that it might be CSS issue. I
checked the CSS file and everything looks the same.
I am wondering why the same webpage shows up differently on the local
web server machine and on the external browser.
Any ideas?
Thanks in Advance
Ray,
Thanks for answering.
Here are my test results(I didnt look into CSS):
I found that the text box shows a border when calling the page
externally and no border to the textbox calling on localhost.
So I test a simple HTML page with a input type textbox and "border-
style:None". Surprisingly, both the browsers are IE 7 (version being
the same) but one shows the border and the other one doesn't show.
Do you know how to fix this issue?
(I found setting something like border-right=0px, border-
left=0px..etc, but I would like to know why its behaving this way and
how to fix this in ASP.NET?)
Thanks once again
On Apr 17, 2:55 pm, "Ray Costanzo" <my first name at lane 34 dot
commercialwrote :
You're probably right about its being a CSS issue, or moreso, a relative
path that's not right. Are your CSS references relative? (<link
rel="stylesheet " href="../somefile.css" />) Absolute from the root? (<link
rel="stylesheet " href="/somefile.css" />) Fully qualified? (<link
rel="stylesheet " href="http://someserver/file.css" />)
Perhaps your local DNS prevents you from resolving the WWW address or
something along those lines. Try loading each CSS file directly in the
browser and see if you get the results you'd expect.
Ray at work
"Shawn T" <ks******@gmail .comwrote in message
news:11******** **************@ b75g2000hsg.goo glegroups.com.. .
I have an application with a page that has a web user control
When I call that page that has this user control, locally (http://
localhost/ApplicationX/default.aspx) and also externally ie (http://
<webserver>/ApplicationX/default.aspx), the display is all different.
For example, a text box shows with border on one and textbox shows as
label in the other. I am suspecting that it might be CSS issue. I
checked the CSS file and everything looks the same.
I am wondering why the same webpage shows up differently on the local
web server machine and on the external browser.
Any ideas?
Thanks in Advance- Hide quoted text -
- Show quoted text -
Hi Shawn,
When you view-source in your browser, do you have any text above the
<!DOCTYPE...dec laration when the page is loaded locally? Like, perhaps
you have some values response.writte n out when you access things locally or
something. That would cause this in IE7. What doctype declaration appears
at the top of each page? Is it different between the two? Or the pages in
question being served by the same exact server and IIS site?
Ray at work
"Shawn T" <ks******@gmail .comwrote in message
news:11******** *************@b 58g2000hsg.goog legroups.com...
Ray,
Thanks for answering.
Here are my test results(I didnt look into CSS):
I found that the text box shows a border when calling the page
externally and no border to the textbox calling on localhost.
So I test a simple HTML page with a input type textbox and "border-
style:None". Surprisingly, both the browsers are IE 7 (version being
the same) but one shows the border and the other one doesn't show.
Do you know how to fix this issue?
(I found setting something like border-right=0px, border-
left=0px..etc, but I would like to know why its behaving this way and
how to fix this in ASP.NET?)
Thanks once again
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: j askey |
last post by:
I have a strange bandwidth issue that I have finally tracked down to
something fairly specific if anyone has any ideas...
Setup: Win2003 Server, PHP 4.3.4, IIS6.0, ISAPI
Network: DSL line with a Cisco 678 router using NAT and static port
maps. Two switches between webserver and Cisco.
Problem: Accessing PHP driven site via any computer except the web
server is about 20 times slower. I can get fast response on the server
|
by: news.hku.hk |
last post by:
suppose i have:
int price1 = 35000;
int price2 = 600;
int price3 = 8765;
int price4 = 120000;
int price5 = 3800000;
and i want to output to screen the following:
|
by: Mikhail Teterin |
last post by:
Hello!
I'd like to have a variable of a pointer-to-function type. The two possible
values are of type (*)(FILE *) and (*)(void *). For example:
getter = straight ? fgetc : gzgetc;
nextchar = getter(file);
What type should I give to `getter' so that the compiler does not issue
|
by: TTroy |
last post by:
I have a few questions about "scope" and "visibility," which seem like
two different things.
To me "visibility" of the name of a function or object is the actual
code that can use it in an actual program.
To me "scope" of the name of a function or object are the general rules
for the areas of a program that can through a declaration, have
"visibility."
|
by: PCI |
last post by:
A Thread is created on form1 that addresses a sub in another class. When
attempting to invoke and sub on the main form I recieve an error about a
Window Handler needing to be created first.
Is there a special procedure that is needed to be followed while invoking a
sub from and different class in which the thread was created? How is this
accomplished?
Code from classX(not the class with the form):
| |
by: Michel Sanner |
last post by:
Hello,
One of the greatest feature of Python in my opinion is the way the
interpreter can be used to integrate a wide variety of
software packages by dynamically linking them. This approach has been
extremely successful for us so far but now I run
into a license nightmare.
Some the libraries we wrapped using SWIG are under GPL but the
applications we are distributing are not (mainly because
|
by: Ken Fine |
last post by:
I'm using SQLDataSource, which generates some kind of dataset, and then I
attach that datasource to various data display controls such as DataList and
repeater which loop through to the end of the data that was retrieved by the
query.
At times I may want the display control only to render some items in the set
of data returned by SqlDataSource. There would be several scenarios:
* render the second data item or third item in to the end...
|
by: =?Utf-8?B?TWlrZQ==?= |
last post by:
Hi.
In VB.NET, is it possible to determine whether an ASP.NET is being accessed
internally (within the same domain hosting the application) or externally
(across the internet)? I've looked at using the HttpRequest.ServerVariables
Property, but it doesn't look like it's NameValueCollection contains any
items which would identify whether or not a program is being accessed
internally/externally.
Basically I need to apply certain logic...
|
by: rottmanj |
last post by:
I am working on an application that requires me to use an external application to pull data from a odbc proxy. One issue that I have run into is trying to figure out how to pass data from my application to the externally called application.
To give an example when running the external application from the command line. I would use something like this
dbtcp DSN=mysource localhost
Output from this would be something like this.
Connected...
|
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
| |