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 force HTML <td> to display on new lines rather than across the page on one line?

How to force HTML <td> to display on new lines rather than across the page on one line?

Scheduled Pinned Locked Moved ASP.NET
csharphtmldebuggingtutorialquestion
2 Posts 2 Posters 3 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.
  • J Offline
    J Offline
    jmelgar
    wrote on last edited by
    #1

    :confused:My HTML source output in NotePad prints entirely on one line: 1234 How could I use the \r\n or something similar to create line breaks (c#.net), thereby making my output easier to debug? That is I want each to appear on a new line. I tried using
    , but that still prints on the same line all the way across. Thanks in advance!

    T 1 Reply Last reply
    0
    • J jmelgar

      :confused:My HTML source output in NotePad prints entirely on one line: 1234 How could I use the \r\n or something similar to create line breaks (c#.net), thereby making my output easier to debug? That is I want each to appear on a new line. I tried using
      , but that still prints on the same line all the way across. Thanks in advance!

      T Offline
      T Offline
      Thesisus
      wrote on last edited by
      #2

      I would use the ASCII equivilants... chr(13) or chr(10) which ever one looks best to you. Label1.Text = "yada yada" & chr(13) Fear not my insanity, fear the mind it protects.

      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