M
Mike
Hi,
I have a strange problem: I wrote a reverse proxy that redirects pages to a
local or remote server. Everything seems to work fine, but I have a strange
problem with inline styles. In my proxy, the inline style disappears, while
if I executed the website on the local server only, without the reverse
proxy processing anything, the inline styles appear in the tag.
The original HTML code is the following:
<abc:basiclabel id="Basiclabel16" runat="server" Symbol="229"
Font-Size="Larger" cssclass="dt_columns_captions"></abc:basiclabel>
As you can see, there is a "font-size" that it is not present in the HTML
that the reverse proxy produces:
<TD class="main_column_style" style="HEIGHT: 21px"><span
id="b_c_WaitingAccounts" class="main_column_style">blah blah</span></TD>
However, the HTML code NOT produced by the reverse contains the ""font-size"
inline style, and the style attribute is also "properly" formatted:
<TD class="main_column_style" style="HEIGHT: 21px"><span
id="b_c_WaitingAccounts" class="main_column_style"
style="font-size:Larger;">blah blah</span></TD>
I was wondering whether ASP.NET does some "magic" and looks for possible
attributes that look like possible inline style and wraps them in the
"style=..." attribute that I see.
Does anyone have any idea of what is going on? I am confused, since the
encoding (french and german characters) also work fine in the reverse
proxy...
Thanks.
Michael
I have a strange problem: I wrote a reverse proxy that redirects pages to a
local or remote server. Everything seems to work fine, but I have a strange
problem with inline styles. In my proxy, the inline style disappears, while
if I executed the website on the local server only, without the reverse
proxy processing anything, the inline styles appear in the tag.
The original HTML code is the following:
<abc:basiclabel id="Basiclabel16" runat="server" Symbol="229"
Font-Size="Larger" cssclass="dt_columns_captions"></abc:basiclabel>
As you can see, there is a "font-size" that it is not present in the HTML
that the reverse proxy produces:
<TD class="main_column_style" style="HEIGHT: 21px"><span
id="b_c_WaitingAccounts" class="main_column_style">blah blah</span></TD>
However, the HTML code NOT produced by the reverse contains the ""font-size"
inline style, and the style attribute is also "properly" formatted:
<TD class="main_column_style" style="HEIGHT: 21px"><span
id="b_c_WaitingAccounts" class="main_column_style"
style="font-size:Larger;">blah blah</span></TD>
I was wondering whether ASP.NET does some "magic" and looks for possible
attributes that look like possible inline style and wraps them in the
"style=..." attribute that I see.
Does anyone have any idea of what is going on? I am confused, since the
encoding (french and german characters) also work fine in the reverse
proxy...
Thanks.
Michael