Removing Visual Web developer 2005 generated style information

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JT

    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



  • Mark Rae [MVP]

    #2
    Re: Removing Visual Web developer 2005 generated style information

    "JT" <j.j@j.fiwrot e in message
    news:eUMQIYumIH A.5208@TK2MSFTN GP04.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


    Comment

    • JT

      #3
      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@markNOSPA Mrae.netkirjoit ti
      viestissä:%23RO Re0umIHA.1680@T K2MSFTNGP06.phx .gbl...
      "JT" <j.j@j.fiwrot e in message
      news:eUMQIYumIH A.5208@TK2MSFTN GP04.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

      Comment

      • Juan T. Llibre

        #4
        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@j.fiwrot e in message news:up0A7TxmIH A.4744@TK2MSFTN GP06.phx.gbl...
        Sorry,
        >
        I meant that Visual Web developer generated the code, there are a lot of code.
        >
        JT
        >
        >
        "Mark Rae [MVP]" <mark@markNOSPA Mrae.netkirjoit ti viestissä:%23RO Re0umIHA.1680@T K2MSFTNGP06.phx .gbl...
        >"JT" <j.j@j.fiwrot e in message news:eUMQIYumIH A.5208@TK2MSFTN GP04.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
        >
        >

        Comment

        Working...