473,224 Members | 1,316 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

IMG Elements acquiring height and width attributes "automatically"

I have an ASP.NET application that is mysteriously acquiring height and width
attributes on a particular IMG element on multiple pages. This is not being
caused by someone editing or uploading new copies of the files.

There are various scripting and "active" technologies enabled on the server:

ASP.NET
ASP
Front Page Extensions
Perl
PHP

Could any of these be editing ASPX files to add size attributes to IMG
elements? Are there any other circumstances in which this might happen?

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk
Nov 19 '05 #1
4 1654
I can't speak for whatever tools you are using to edit/create the Perl or PHP
pages but if you are using VS for the ASP.NET ones then NO.
Now, if you are applying these images in the Designer (or FrontPage) and
grab the edge of the image you will get the Height & Width since it thinks
you are adjusting them......
Again though, any of these tags will be coming in from an editor though, not
from the server....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Dotcom" wrote:
I have an ASP.NET application that is mysteriously acquiring height and width
attributes on a particular IMG element on multiple pages. This is not being
caused by someone editing or uploading new copies of the files.

There are various scripting and "active" technologies enabled on the server:

ASP.NET
ASP
Front Page Extensions
Perl
PHP

Could any of these be editing ASPX files to add size attributes to IMG
elements? Are there any other circumstances in which this might happen?

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk

Nov 19 '05 #2
There aren't any PHP or Perl pages or scripts in fact. All Pages are ASPX or
HTML and were all produced by Visual Studio. It is a bit weird to say the
least that these pages appear to be editing themselves. I have several
instances of this application installed on the same server and only one is
exhibiting this behaviour. Nobody has edited the files or even opened them in
an editor; nor have they uploaded edited copies of the pages.

I thought it might have something to do with the image size: in this case it
is large enough to cause a fixed width table to "stretch" to accommodate it.

I have never come across it, but I wondered if there Is any autoresizing
functionality in one of the server technologies that might be editing the
pages. Sounds highly undesirable - just wondered if anyone else had
experienced this.

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk
"Curt_C [MVP]" wrote:
I can't speak for whatever tools you are using to edit/create the Perl or PHP
pages but if you are using VS for the ASP.NET ones then NO.
Now, if you are applying these images in the Designer (or FrontPage) and
grab the edge of the image you will get the Height & Width since it thinks
you are adjusting them......
Again though, any of these tags will be coming in from an editor though, not
from the server....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Dotcom" wrote:
I have an ASP.NET application that is mysteriously acquiring height and width
attributes on a particular IMG element on multiple pages. This is not being
caused by someone editing or uploading new copies of the files.

There are various scripting and "active" technologies enabled on the server:

ASP.NET
ASP
Front Page Extensions
Perl
PHP

Could any of these be editing ASPX files to add size attributes to IMG
elements? Are there any other circumstances in which this might happen?

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk

Nov 19 '05 #3
Do you see this as attributes in pixels in the client side HTML markup ?

If yes it's likely that you have some server side code that grabs the size
and use it to set these attributes in the HTML code (especaiilyl as you say
you have this in a single page but not in others).

--
Patrice

"Dotcom" <Do****@discussions.microsoft.com> a écrit dans le message de
news:10**********************************@microsof t.com...
There aren't any PHP or Perl pages or scripts in fact. All Pages are ASPX or HTML and were all produced by Visual Studio. It is a bit weird to say the
least that these pages appear to be editing themselves. I have several
instances of this application installed on the same server and only one is
exhibiting this behaviour. Nobody has edited the files or even opened them in an editor; nor have they uploaded edited copies of the pages.

I thought it might have something to do with the image size: in this case it is large enough to cause a fixed width table to "stretch" to accommodate it.
I have never come across it, but I wondered if there Is any autoresizing
functionality in one of the server technologies that might be editing the
pages. Sounds highly undesirable - just wondered if anyone else had
experienced this.

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk
"Curt_C [MVP]" wrote:
I can't speak for whatever tools you are using to edit/create the Perl or PHP pages but if you are using VS for the ASP.NET ones then NO.
Now, if you are applying these images in the Designer (or FrontPage) and
grab the edge of the image you will get the Height & Width since it thinks you are adjusting them......
Again though, any of these tags will be coming in from an editor though, not from the server....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Dotcom" wrote:
I have an ASP.NET application that is mysteriously acquiring height and width attributes on a particular IMG element on multiple pages. This is not being caused by someone editing or uploading new copies of the files.

There are various scripting and "active" technologies enabled on the server:
ASP.NET
ASP
Front Page Extensions
Perl
PHP

Could any of these be editing ASPX files to add size attributes to IMG
elements? Are there any other circumstances in which this might happen?
--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk

Nov 19 '05 #4
Curiously, the height/width attributes actually appear in the aspx page when
viewed on the server. (Obviously they also appear in the client-side markup
too). That's what's so baffling. I can upload the pages and they are OK for a
period, then the image resizes itself. It happens in multiple pages in a
single site, not just one one page.

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk
"Patrice" wrote:
Do you see this as attributes in pixels in the client side HTML markup ?

If yes it's likely that you have some server side code that grabs the size
and use it to set these attributes in the HTML code (especaiilyl as you say
you have this in a single page but not in others).

--
Patrice

"Dotcom" <Do****@discussions.microsoft.com> a écrit dans le message de
news:10**********************************@microsof t.com...
There aren't any PHP or Perl pages or scripts in fact. All Pages are ASPX

or
HTML and were all produced by Visual Studio. It is a bit weird to say the
least that these pages appear to be editing themselves. I have several
instances of this application installed on the same server and only one is
exhibiting this behaviour. Nobody has edited the files or even opened them

in
an editor; nor have they uploaded edited copies of the pages.

I thought it might have something to do with the image size: in this case

it
is large enough to cause a fixed width table to "stretch" to accommodate

it.

I have never come across it, but I wondered if there Is any autoresizing
functionality in one of the server technologies that might be editing the
pages. Sounds highly undesirable - just wondered if anyone else had
experienced this.

--
Paul Taylor
Dotcom Software Solutions
www.dotcomsoftwaresolutions.co.uk
"Curt_C [MVP]" wrote:
I can't speak for whatever tools you are using to edit/create the Perl or PHP pages but if you are using VS for the ASP.NET ones then NO.
Now, if you are applying these images in the Designer (or FrontPage) and
grab the edge of the image you will get the Height & Width since it thinks you are adjusting them......
Again though, any of these tags will be coming in from an editor though, not from the server....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Dotcom" wrote:

> I have an ASP.NET application that is mysteriously acquiring height and width > attributes on a particular IMG element on multiple pages. This is not being > caused by someone editing or uploading new copies of the files.
>
> There are various scripting and "active" technologies enabled on the server: >
> ASP.NET
> ASP
> Front Page Extensions
> Perl
> PHP
>
> Could any of these be editing ASPX files to add size attributes to IMG
> elements? Are there any other circumstances in which this might happen? >
> --
> Paul Taylor
> Dotcom Software Solutions
> www.dotcomsoftwaresolutions.co.uk


Nov 19 '05 #5

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

Similar topics

4
by: sparks | last post by:
As you might know that "java.lang" package are automatically imported by the java compiler so that one don't need to write the import statement of that package in the source code. Are there any...
13
by: gary | last post by:
Hi, We all know the below codes are dangerous: { int *p = new int; delete p; delete p; } And we also know the compilers do not delete p if p==NULL. So why compilers do not "p = NULL"...
1
by: Weixiao Fan | last post by:
as we know , FONT is not availble for XHTML standard . but VS.NET 2003 add it automatically. what can I do to make all the BODY , TD , FONT and so on to body ,td ? and don`t let it add <FONT>...
0
by: wurlds_wurst_coder | last post by:
A co-worker apparently checked the Show Disassembly Automatically checkbox at some point. This is really inconvenient to disassemble every dll we use everytime. How do I turn this option OFF??...
2
by: Ellis Yu | last post by:
Dear All I'm trying to create a control that inherits the combobox control. When I entered in the line "Inherits Combobox", the IDE automatically added the method Public Sub New(ByVal Container...
1
by: John Bailo | last post by:
using ( SqlCommand cmd = new SqlCommand("select * sample"), new SqlConnection( sqlDsn ) ) ) { SqlDataAdapter adapter = new SqlDataAdapter(cmd); DataTable dt = new DataTable();...
3
by: Jorge Godoy | last post by:
Hi! Is there something I can do in PIL to restrict a line to a certain size and have it to break/wrap into a newline automatically? (Or by using some code, of course...) I'm trying to add...
2
by: NowItsWhatever | last post by:
In query DESIGN view, how do I automatically "fit" the columns in the table/field grid to the lengths of the table and field names (including any functions applied to the fields). I am not talking...
1
by: Jedufa | last post by:
following of thread: "Adding namespaces to code behind automatically" Hello, I had quite the same problem and got further in the right direction with your suggestions, thanks. Nevertheless, I...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

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.