Tab in posts - Is this possible?

TalkRecommend Site Improvements

Join LibraryThing to post.

Tab in posts - Is this possible?

This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.

1cyderry
Jun 18, 2009, 9:57 am

I have looked and haven't found a way to use the Tab key when posting a message. Am I missing something or is this not possible?

In my 999 threads I want to show 7/9 or 0/9 status for a category but hitting the space bar or tab key doesn't move the cursor away from what has already been written on that line. IS the a way to do this? I have resorted to ................. but even this doesn't work very well.

Can anyone help?

2AnnieMod
Edited: Jun 18, 2009, 10:38 am

Had an idea, did not work so no idea really :) Sorry

3stephmo
Edited: Jun 18, 2009, 10:44 am

Testing something....

testing...

ETA - did it like this:

& nbsp; & nbsp; & nbsp; & nbsp testing...

I just removed the spaces between the ampersands and the nbsps

4christiguc
Jun 18, 2009, 11:25 am

You can also make inset type if you want to have a whole passage inset (e.g., here) by using

5cyderry
Jun 18, 2009, 11:27 am

#3 I don't understand. Are you saying to insert & nbsp repeatedly until I get where I want?

6aethercowboy
Jun 18, 2009, 11:44 am

>5 cyderry:.

In HTML, &nbsp; is used in place of a non-breaking space. Just add a few of them in a row to simulate a tab. OR, go with #4's idea, which is much better. <blockquote> is HTML's out-of-the-box answer for that problem, while &nbsp; is just a work-around.

7cyderry
Jun 18, 2009, 12:07 pm

Neither of those suggestions does what I want to do.

http://www.librarything.com/topic/51434#923174

I have this list that I would like to maintain but without the ........
A regular tab would do it, but tabs don't work.

&nbsp disappear at each edit and blockquote moves it down a line.
Any other ideas?

I appreciate your efforts.

8stephmo
Edited: Jun 18, 2009, 12:18 pm

This is one of your lines, right?

1. New books in an old Series .............................8/9 ......BONUS POINTS = 8

Let's see if this works:

1. New books in an old Series 8/9 BONUS POINTS = 8

ETA - this is basically what this looks like:

1. New books in an old Series & nbsp; & nbsp; & nbsp; & nbsp; & nbsp 8/9 & nbsp; & nbsp; & nbsp BONUS POINTS = 8

Only with spaces removed between the brackets and ampersands and nbsps...

9christiguc
Jun 18, 2009, 12:14 pm

I'm trying to think of a solution. . . you could always move your table to your LT Wiki page (e.g., here's mine) where you can create a table.

10christiguc
Edited: Jun 18, 2009, 12:50 pm

Oh! I have it! As long as the President's name isn't too long, you can just make the numbers centered on the page. (Or, you can have align="right" if you want them all the way over).

President's name Number

President's name

Number



Edited to say - nevermind - that makes a line-break

11christiguc
Edited: Jun 18, 2009, 12:44 pm

Okay, now I do have a solution.

President's Name Number

President's Name Number

(change the "width" number to make sure all the numbers align at the right place)

e.g., width=100
President's Name Number

e.g., width=300
President's Name Number

I just uploaded a blank picture to flickr and by changing the width, you can change the spacing and keep the numbers on the same line. And it won't change each time you edit it.

12aethercowboy
Edited: Jun 18, 2009, 1:00 pm

I did what I should have done AGES ago and looked it up.

The HTML tab character is &#09;. Also, since it's white-space, you have to wrap it in <pre> </pre>

So, as an example:

Book Title	Author	Antagonist(s)
Flatland Edwin A. Abbott Circles
Bad Beginning Lemony Snicket Count Olaf
Elric of Melnibone Michael Moorcock Yyrkoon


You're stuck with Monospace, however. But you can still do <strong> and <em> for bold and italics.

13cyderry
Jun 18, 2009, 2:13 pm

The img src seems to work but I can't get it perferctly aligned.

THe even with the
 
, still inserts a break, so for the tme being I think I'll go with the img src.

If anything else pops into you heads, please let me know.

Thanks for all your help.

14aethercowboy
Jun 18, 2009, 2:21 pm

>13 cyderry:.

Yeah, <pre>something</pre> adds a newline. D'oh.

To get the best tabs, insert the entire thing in <pre>'s, and put the &#09;'s in the text without wrapping them with anything.

I edited my response to not include trying <pre>&#09;</pre>.

15cyderry
Jun 18, 2009, 2:31 pm

COWBOY,
I must be doing something wrong, because it doesn't work for me. oh, well.

16aethercowboy
Edited: Jun 18, 2009, 2:43 pm

Let me try something...

  1. George Washington, 1789-1797 12
  2. John Adams, 1797-1801 11
  3. Thomas Jefferson, 1801-1809 6
  4. James Madison, 1809-1817 2
  5. James Monroe, 1817-1825 2
  6. John Quincy Adams, 1825-1829 4
  7. Andrew Jackson, 1829-1837 2
  8. Martin Van Buren, 1837-1841 0
  9. William Henry Harrison, 1841 0
  10. John Tyler, 1841-1845 0


It's ugly as sin HTML (you can't use newlines in a PRE tag...).

It looks like this:


<pre><ol><li>George Washington, 1789-1797&#09;12</li><li>John Adams, 1797-1801&#09;&#09;11</li><li>Thomas Jefferson, 1801-1809&#09;6</li><li>James Madison, 1809-1817&#09;2</li><li>James Monroe, 1817-1825&#09;&#09;27lt;/li><li>John Quincy Adams, 1825-1829&#09;4</li><li>Andrew Jackson, 1829-1837&#09;2</li><li>Martin Van Buren, 1837-1841&#09;0</li><li>William Henry Harrison, 1841&#09;0</li><li>John Tyler, 1841-1845&#09;&#09;0</li></ol></pre>

17Noisy
Jun 18, 2009, 2:36 pm

Cool.

test
test
test


Let's see if that worked?

18Noisy
Jun 18, 2009, 2:37 pm

Which I did by ...

<pre>test
&#09;test
&#09;&#09;test</pre>

19Noisy
Edited: Feb 4, 2010, 7:53 pm


1. George Washington, 1789-1797 12
2. John Adams, 1797-1801 . 11
3. Thomas Jefferson, 1801-1809 . 6
4. James Madison, 1809-1817 . 2
5. James Monroe, 1817-1825 . 2
6. John Quincy Adams, 1825-1829 . 4
7. Andrew Jackson, 1829-1837 . 2
8. Martin Van Buren, 1837-1841 . 0
9. William Henry Harrison, 1841 . 0


The tab characters are even preserved after editing, so that means that you can just cut and paste them into text that is surrounded by
z z
, like that.

test
test
, test

20christiguc
Edited: Jun 18, 2009, 2:45 pm

Ooo--that is neat.

1.	A	A
2. B B
3. C C
4. D D
5. E E


If you edit it, does it destroy everything, though?

Edited to add answer--No! :)

21aethercowboy
Jun 18, 2009, 2:46 pm

>19 Noisy:.

True, it does look prettier if you hand-number. I was trying to be lazy by using the OL/LI tags, but they add too much whitespace.

cyderry, You're probably best off doing this then:

#. President Name, Start-Finish	X
#. President Name, Start-Finish Y


Or

<pre>#. President Name, Start-Finish&#09;X
#. President Name, Start-Finish&#09;Y</pre>

22cyderry
Edited: Jun 18, 2009, 4:37 pm

Let me get this straight....

I put the pre before Washington's #1, then after his dates I put tab code and the number that he has. Do I have to remove the line breaks between each president? At the end of the 43 after Obama's number I close the pre.

Is that right? Does the tab code (tab) notation disappear from view but remain when I go to edit? Can I have more than one tab in a line?

Whew... this is more complicated than I thought it would be.

23aethercowboy
Jun 18, 2009, 6:48 pm

>22 cyderry:.

To make matters simple:

Put the PRE before 1. George Washington.

Put the /PRE after the last part of Obama's line.

Put as many tab codes as necessary where appropriate (some may require more than one, but if you edit the message, while the codes have been translated to tab characters, each subsequent edit will retain them). You can have multiple tabs on a single line.

And put each prez on his own line.

24cyderry
Edited: Jun 18, 2009, 7:06 pm

Noisy, aethercowboy, christiguc, stephmo

I want you to know I really appreciate all you time and efforts to help in this question.
You guys are great!


glitter-graphics.com

25cyderry
Edited: Jun 18, 2009, 9:05 pm

Okay, what am I doing wrong?

 1. George Washington, 	1789-1797	 12 
2. John Adams, &$09;1797-1801 11
3. Thomas Jefferson, &$09;1801-1809 6
4. James Madison, &$09;1809-1817 &$09;&$09;2
5. James Monroe, &$09;1817-1825 2
6. John Quincy Adams, &$09;1825-1829 4
7. Andrew Jackson, &$09;1829-1837 2
8. Martin Van Buren, &$09;1837-1841 0
9. William Henry Harrison, &$09;1841 0
10. John Tyler, &$09;1841-1845 0
44. Barack Obama 2009-.......................... 2

26christiguc
Jun 18, 2009, 7:54 pm

First of all, it's #, not $. :)

27christiguc
Jun 18, 2009, 9:27 pm

It looks like it's working for you! Excellent!!

28cyderry
Jun 18, 2009, 9:34 pm

 1. George Washington, 1789-1797 12 
2. John Adams, 1797-1801 11
3. Thomas Jefferson, 1801-1809 6
4. James Madison, 1809-1817 2
5. James Monroe, 1817-1825 2
6. John Quincy Adams, 1825-1829 4
7. Andrew Jackson, 1829-1837 2
8. Martin Van Buren, 1837-1841 0
9. Wm. Henry Harrison, 1841 0
10. John Tyler, 1841-1845 0
11. James Knox Polk, 1845-1849 0
12. Zachary Taylor, 1849-1850 1
13. Millard Fillmore, 1850-1853 0
14. Franklin Pierce, 1853-1857 1
15. James Buchanan, 1857-1861 2
16. Abraham Lincoln, 1861-1865 6
17. Andrew Johnson, 1865-1869 1
18. Ulysses S Grant, 1869-1877 1
19. Rutherford B Hayes, 1877-1881 0
20. James Abram Garfield, 1881 0
21. Chester A Arthur, 1881-1885 0
22. Grover Cleveland, 1885-1889 2
23. Benjamin Harrison, 1889-1893 1
25. William McKinley, 1897-1901 1
26. Theodore Roosevelt, 1901-1909 4
27. William Howard Taft, 1909-1913 0
28. Woodrow Wilson, 1913-1921 3
29. Warren G Harding, 1921-1923 0
30. Calvin Coolidge, 1923-1929 0
31. Herbert C Hoover, 1929-1933 1
32. Franklin D Roosevelt, 1933-1945 2
33. Harry S. Truman, 1945-1953 3
34. Dwight D Eisenhower 1953-1961 1
35. John F Kennedy, 1961-1963 0
36. Lyndon B Johnson, 1963-1969 2
37. Richard M Nixon, 1969-1974 1
38. Gerald R Ford, 1974-1977 2
39. James E Carter, Jr., 1977-1981 1
40. Ronald W Reagan, 1981-1989. 2
41. George H W Bush, 1989-1993 1
42. William J Clinton, 1993-2001 2
43. George W Bush, 2001-2009 2
44. Barack Obama 2009- 2

29christiguc
Edited: Jun 18, 2009, 10:27 pm

 1. George Washington, 1789-1797 12 
2. John Adams, 1797-1801 11
3. Thomas Jefferson, 1801-1809 6
4. James Madison, 1809-1817 2
5. James Monroe, 1817-1825 2
6. John Quincy Adams, 1825-1829 4
7. Andrew Jackson, 1829-1837 2
8. Martin Van Buren, 1837-1841 0
9. Wm. Henry Harrison, 1841 0
10. John Tyler, 1841-1845 0
11. James Knox Polk, 1845-1849 0
12. Zachary Taylor, 1849-1850 1
13. Millard Fillmore, 1850-1853 0
14. Franklin Pierce, 1853-1857 1
15. James Buchanan, 1857-1861 2
16. Abraham Lincoln, 1861-1865 6
17. Andrew Johnson, 1865-1869 1
18. Ulysses S Grant, 1869-1877 1
19. Rutherford B Hayes, 1877-1881 0
20. James Abram Garfield, 1881 0
21. Chester A Arthur, 1881-1885 0
22. Grover Cleveland, 1885-1889 2
23. Benjamin Harrison, 1889-1893 1
25. William McKinley, 1897-1901 1
26. Theodore Roosevelt, 1901-1909 4
27. William Howard Taft, 1909-1913 0
28. Woodrow Wilson, 1913-1921 3
29. Warren G Harding, 1921-1923 0
30. Calvin Coolidge, 1923-1929 0
31. Herbert C Hoover, 1929-1933 1
32. Franklin D Roosevelt, 1933-1945 2
33. Harry S. Truman, 1945-1953 3
34. Dwight D Eisenhower, 1953-1961 1
35. John F Kennedy, 1961-1963 0
36. Lyndon B Johnson, 1963-1969 2
37. Richard M Nixon, 1969-1974 1
38. Gerald R Ford, 1974-1977 2
39. James E Carter, Jr., 1977-1981 1
40. Ronald W Reagan, 1981-1989. 2
41. George H W Bush, 1989-1993 1
42. William J Clinton, 1993-2001 2
43. George W Bush, 2001-2009 2
44. Barack Obama, 2009- 2

30cyderry
Jun 18, 2009, 9:42 pm

31christiguc
Jun 18, 2009, 9:46 pm

:)

32cyderry
Jun 18, 2009, 10:02 pm

Boo.... Firefox is okay but IE is out of wack. Dang!

33stephmo
Jun 18, 2009, 10:08 pm

But we're getting there!

And we've all learned about 72 ways to skin the tab cat! :)

34christiguc
Jun 18, 2009, 10:29 pm

>33 stephmo: At least now we won't forget. :)

>32 cyderry: Msg 29 looks good to me in IE and FF.

35Noisy
Edited: Jun 25, 2009, 2:20 pm

This message has been deleted by its author.

36Noisy
Jun 25, 2009, 2:56 pm

I've updated my profile page to include some of this information, now.

37Noisy
Oct 2, 2010, 8:15 am

New test:

test
test
test
, test

38justjim
Oct 2, 2010, 9:29 am

Have you found something new Noisy? Or were you just checking to make sure the old tricks still work?

39Noisy
Oct 2, 2010, 9:35 am

I was wondering if two tab entities (&#9;) in a row resolving into a single space was a bug.

40brightcopy
Edited: Oct 2, 2010, 12:50 pm

I don't know if it worked in June 2009 and not now, but #28 and #29 do not appear to be in column-like format to me. They look just like if you'd never tried to put any tabs in.