displaying a string
-
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
-
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
hiii.....try to set the width for the "td" to a certain value.... i hope this will solve ur prob regards, deep.
-
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
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