467,076 Members | 977 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,076 developers. It's quick & easy.

Inline style


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


Oct 4 '07 #1
  • viewed: 1400

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Desigan Chinniah | last post: by
3 posts views Thread by Aaron | last post: by
23 posts views Thread by Mat | last post: by
5 posts views Thread by Viken Karaguesian | last post: by
5 posts views Thread by CES | last post: by
3 posts views Thread by rn5a@rediffmail.com | last post: by
2 posts views Thread by Steve Richter | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.