Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to Align Code in aspx file??

how to Align Code in aspx file??

Scheduled Pinned Locked Moved ASP.NET
htmltutorialquestion
5 Posts 5 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mr_muskurahat
    wrote on last edited by
    #1

    i am getting whole html code in two line is there any way to get it back in previous form???? or in multiple lines?????

    umerumerumer

    A F G S 4 Replies Last reply
    0
    • M mr_muskurahat

      i am getting whole html code in two line is there any way to get it back in previous form???? or in multiple lines?????

      umerumerumer

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      Try pressing CTRL, K and D keys together.

      Bob Ashfield Consultants Ltd

      1 Reply Last reply
      0
      • M mr_muskurahat

        i am getting whole html code in two line is there any way to get it back in previous form???? or in multiple lines?????

        umerumerumer

        F Offline
        F Offline
        firozu
        wrote on last edited by
        #3

        In Visual Studio, GoTo Edit -> Advanced ->Format Document. Make sure all html tags have a closing tag, otherwise the document will not be formatted. Hope this helps.

        1 Reply Last reply
        0
        • M mr_muskurahat

          i am getting whole html code in two line is there any way to get it back in previous form???? or in multiple lines?????

          umerumerumer

          G Offline
          G Offline
          Glacier6327
          wrote on last edited by
          #4

          Highlight the code of interest (ctrl +A highlights all) right click and choose 'format selection'

          1 Reply Last reply
          0
          • M mr_muskurahat

            i am getting whole html code in two line is there any way to get it back in previous form???? or in multiple lines?????

            umerumerumer

            S Offline
            S Offline
            Samer Aburabie
            wrote on last edited by
            #5

            Greetings, Go to Visual Studio - Tools - Options - Environement - Keyboard, now for the first drop down list select Visual C# 2005 or make sure its selected, then on the Page you want to format Click Ctrl E, D this will reformat the page or any other document types in Visual Studio.

            Sincerely Samer Abu Rabie Note: Please remember to rate this post to help others whom reading it.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups