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. displaying a string

displaying a string

Scheduled Pinned Locked Moved ASP.NET
helpquestiondatabase
3 Posts 3 Posters 0 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
    justintimberlake
    wrote on last edited by
    #1

    Hi all, may be this is a very simple question but i am just getting wild on it. i have image path in a database and and its description which is a very long text now i want to display image in left and its description in right. I have table and in one row in td i have imaneg and in another i have is descrtion //display description here

    //display image here

    now what happens is that i get a very long string in descriptin in single line so its td gets wider how can i fix this.so that the string is displaye like 100 charecter perline i know this is very simple question but some time we get stuck. one more question (not important to replay) does ane one provide me with idea like how can i make site like that of newspaper means layout once agin this question is really not importat to replay but earlier one i am just stuck

    L E 2 Replies Last reply
    0
    • J justintimberlake

      Hi all, may be this is a very simple question but i am just getting wild on it. i have image path in a database and and its description which is a very long text now i want to display image in left and its description in right. I have table and in one row in td i have imaneg and in another i have is descrtion //display description here

      //display image here

      now what happens is that i get a very long string in descriptin in single line so its td gets wider how can i fix this.so that the string is displaye like 100 charecter perline i know this is very simple question but some time we get stuck. one more question (not important to replay) does ane one provide me with idea like how can i make site like that of newspaper means layout once agin this question is really not importat to replay but earlier one i am just stuck

      L Offline
      L Offline
      lovedotnet
      wrote on last edited by
      #2

      hiii.....try to set the width for the "td" to a certain value.... i hope this will solve ur prob regards, deep.

      1 Reply Last reply
      0
      • J justintimberlake

        Hi all, may be this is a very simple question but i am just getting wild on it. i have image path in a database and and its description which is a very long text now i want to display image in left and its description in right. I have table and in one row in td i have imaneg and in another i have is descrtion //display description here

        //display image here

        now what happens is that i get a very long string in descriptin in single line so its td gets wider how can i fix this.so that the string is displaye like 100 charecter perline i know this is very simple question but some time we get stuck. one more question (not important to replay) does ane one provide me with idea like how can i make site like that of newspaper means layout once agin this question is really not importat to replay but earlier one i am just stuck

        E Offline
        E Offline
        eyeseetee
        wrote on last edited by
        #3

        Ive read many an article where it suggests that having a website with a newspaper layout is very bad for usability. There has to be a point where the text on screen is displaued differently to that of a newspaper. What you could do is put an image in the top corner and make it look like a corner of a newspaper for style affects, however i think the text should be displayed normally. Regarding your first question, I would just limit the lenght of the column that should move it onto the next line

        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