Removing Visual Web developer 2005 generated style information
am 10.04.2008 10:34:19 von JT
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
Re: Removing Visual Web developer 2005 generated style information
am 10.04.2008 11:27:42 von mark
"JT" wrote in message
news:eUMQIYumIHA.5208@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
Re: Removing Visual Web developer 2005 generated style information
am 10.04.2008 16:10:21 von JT
Sorry,
I meant that Visual Web developer generated the code, there are a lot of
code.
JT
"Mark Rae [MVP]" kirjoitti
viestissä:%23RORe0umIHA.1680@TK2MSFTNGP06.phx.gbl...
> "JT" wrote in message
> news:eUMQIYumIHA.5208@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
Re: Removing Visual Web developer 2005 generated style information
am 10.04.2008 16:45:33 von nomailreplies
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" wrote in message news:up0A7TxmIHA.4744@TK2MSFTNGP06.phx.gbl...
> Sorry,
>
> I meant that Visual Web developer generated the code, there are a lot of code.
>
> JT
>
>
> "Mark Rae [MVP]" kirjoitti viestissä:%23RORe0umIHA.1680@TK2MSFTNGP06.phx.gbl...
>> "JT" wrote in message news:eUMQIYumIHA.5208@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
>
>