By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,677 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

Inline style

P: n/a

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


Oct 4 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.