Removing Visual Web developer 2005 generated style information

Hello,

I created a couple of .aspx pages and I forgot to define .css style sheet
file.

Web developer generated a css code of its own everywhere the .apx page and
it's very hard to remove that code.

If I define .css file at the beginning of aspx-file, Visual Web developer
does or cannot clean the code.

How to solve this problem?

Any ideas welcome!

-JT
JT [ Do, 10 April 2008 10:34 ] [ ID #1939355 ]

Re: Removing Visual Web developer 2005 generated style information

"JT" <j.j [at] j.fi> wrote in message
news:eUMQIYumIHA.5208 [at] TK2MSFTNGP04.phx.gbl...

> I created a couple of .aspx pages and I forgot to define .css style sheet
> file.

OK.

> Web developer generated a css code of its own everywhere the .apx page and
> it's very hard to remove that code.

Why is it very hard? Ask the web developer who added the styles to your
markup to remove them and place them in a separate .css file... You only
have a couple of pages, so this can surely take no longer than a couple of
minutes...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
mark [ Do, 10 April 2008 11:27 ] [ ID #1939358 ]

Re: Removing Visual Web developer 2005 generated style information

Sorry,

I meant that Visual Web developer generated the code, there are a lot of
code.

JT


"Mark Rae [MVP]" <mark [at] markNOSPAMrae.net> kirjoitti
viestissä:%23RORe0umIHA.1680 [at] TK2MSFTNGP06.phx.gbl...
> "JT" <j.j [at] j.fi> wrote in message
> news:eUMQIYumIHA.5208 [at] TK2MSFTNGP04.phx.gbl...
>
>> I created a couple of .aspx pages and I forgot to define .css style
>> sheet file.
>
> OK.
>
>> Web developer generated a css code of its own everywhere the .apx page
>> and it's very hard to remove that code.
>
> Why is it very hard? Ask the web developer who added the styles to your
> markup to remove them and place them in a separate .css file... You only
> have a couple of pages, so this can surely take no longer than a couple of
> minutes...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net
JT [ Do, 10 April 2008 16:10 ] [ ID #1939379 ]

Re: Removing Visual Web developer 2005 generated style information

I think the best way is to redo your files from scratch,
making sure you define a css stylesheet for them.

Alternately, you can search for "style" in all the files, and delete the css entries,
adding the stylesheet definition at the same time.

A global search for "style" will find all instances of it.
There is no automatic way to erase inline style entries.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"JT" <j.j [at] j.fi> wrote in message news:up0A7TxmIHA.4744 [at] TK2MSFTNGP06.phx.gbl...
> Sorry,
>
> I meant that Visual Web developer generated the code, there are a lot of code.
>
> JT
>
>
> "Mark Rae [MVP]" <mark [at] markNOSPAMrae.net> kirjoitti viestissä:%23RORe0umIHA.1680 [at] TK2MSFTNGP06.phx.gbl...
>> "JT" <j.j [at] j.fi> wrote in message news:eUMQIYumIHA.5208 [at] TK2MSFTNGP04.phx.gbl...
>>
>>> I created a couple of .aspx pages and I forgot to define .css style sheet file.
>>
>> OK.
>>
>>> Web developer generated a css code of its own everywhere the .apx page and it's very hard to remove that code.
>>
>> Why is it very hard? Ask the web developer who added the styles to your markup to remove them and place them in a
>> separate .css file... You only have a couple of pages, so this can surely take no longer than a couple of minutes...
>>
>>
>> --
>> Mark Rae
>> ASP.NET MVP
>> http://www.markrae.net
>
>
nomailreplies [ Do, 10 April 2008 16:45 ] [ ID #1939382 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Removing Visual Web developer 2005 generated style information

Vorheriges Thema: gridview disappears
Nächstes Thema: Why do I see each control listed twice in "Configure Object Data Source"?