Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
한국 커뮤니티
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
Easy --String Q
Home
ColdFusion
Discussions
Easy --String Q
0
Upvote
Easy --String Q
emmim44
Participant
,
/t5/coldfusion-discussions/easy-string-q/td-p/1034579
Sep 22, 2006
Sep 22, 2006
Copy link to clipboard
Copied
I have smth like this on my code : #wrap(ITEM1,80)#
It is a table column...The first line of the string (item1) displayed after 8 spaces but the 2nd line is displayed before 8 spaces...I want same alingment for both lines
any idea ?
TOPICS
Advanced techniques
Views
265
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
4 Replies
4
Jump to latest reply
ghouser
Participant
,
/t5/coldfusion-discussions/easy-string-q/m-p/1034580#M93612
Sep 22, 2006
Sep 22, 2006
Copy link to clipboard
Copied
I suggest putting the output in an HTML table. This will keep your spacing and alignment, if that's what you're after.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
MikerRoo
Advisor
,
/t5/coldfusion-discussions/easy-string-q/m-p/1034581#M93613
Sep 22, 2006
Sep 22, 2006
Copy link to clipboard
Copied
Don't use nbsp at all. Use CSS padding.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
emmim44
AUTHOR
Participant
,
/t5/coldfusion-discussions/easy-string-q/m-p/1034582#M93614
Sep 22, 2006
Sep 22, 2006
Copy link to clipboard
Copied
In Response To MikerRoo
Pls clarify yourself..
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
MikerRoo
Advisor
,
/t5/coldfusion-discussions/easy-string-q/m-p/1034583#M93615
Sep 22, 2006
Sep 22, 2006
Copy link to clipboard
Copied
LATEST
In Response To emmim44
One way:
<style type="text/css">
.MyTable td{
padding-left: 8ex;
}
</style>
<table class="MyTable">
<tr>
<td>#wrap(ITEM1,80)#</td>
</tr>
</table>
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Resources
Documentation
ColdFusion User Guide