En, I think so. Anyway, if there're anything else we can help, please feel
free to post here.
Thanks & Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: style width and height
| thread-index: AcWOg/7IQk7tkW8zSAOUmrfrJVb8AQ==
| X-WBNR-Posting-Host: 62.252.0.7
| From: "=?Utf-8?B?U2hhdW4gV2lsZGU=?=" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| Subject: RE: style width and height
| Date: Thu, 21 Jul 2005 23:10:01 -0700
| Lines: 94
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontrols:10044
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
|
| Hi Steven
|
| Our current approach is to use javascript to remove all width and height
| styles on all elements dynamically and leave all sizing to either the
flow or
| to be controlled by the class (.css).
|
| We may consider using a filter at the server to strip these elements but
| that adds to the processing power - the javascript solution moves the
| processing to the client (I don't think that is going to be too much of a
| problem).
|
| We did consider writing a tool to modify all the aspx/ascx files we have
in
| source control but it would have to be run on a regular basis as even if
the
| developer(s) know not to move elements such that these styles are applied
-
| accidents do happen.
|
| I was sort of hoping that there was some magic macro or some such tool
that
| could be applied to the project and thus save our effort - looks like we
are
| having to get our hands dirty

|
| Shaun
|
| "Steven Cheng[MSFT]" wrote:
|
| > Hi Shaun,
| >
| > Welcome to ASPNET newsgroup.
| > From your description, you've currently got some aspx pages and ascx
| > controls which contains many controls and html elements that used to
set as
| > hardcoded css styles and you're wondering how to easily remove those
| > hardcoded styles (so as to apply the global css style ), yes?
| >
| > Based on my experience, if the hard coded css attributes are in the
| > non-server control(html elements) ,we could not but using some external
| > tools or custom code to parse the aspx/ascx template and filter them.
| > What's your current plan on this(and for those styles in server
control)?
| >
| > If there're any further questions, please feel free to post here.
Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure!
www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| >
| >
| >
| >
| >
| > --------------------
| > | Thread-Topic: style width and height
| > | thread-index: AcWN0ObN/WtHFeQORROGH975EIX8yg==
| > | X-WBNR-Posting-Host: 195.92.40.49
| > | From: "=?Utf-8?B?U2hhdW4gV2lsZGU=?=" <
[email protected]>
| > | Subject: style width and height
| > | Date: Thu, 21 Jul 2005 01:48:01 -0700
| > | Lines: 11
| > | Message-ID: <
[email protected]>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| > | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet.webcontrols:10021
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
| > |
| > | is there a feature to remove width and style tags from the .aspx
.ascx
| > pages?
| > |
| > | we are trying to localise an application and the hard coded styles
are
| > | obviously overridding the CSS files.
| > |
| > | webcontrols can be modified easily enough but it is the controls that
are
| > | not server controls i.e. your basic table that is causing grief.
| > |
| > | Any tips appreciated.
| > |
| > | Shaun
| > |
| >
| >
|