Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Make7

(8,546 posts)
7. It would double space things if you actually hit enter and started a new line - that's why I used [br] tags.
Thu Feb 1, 2018, 03:27 AM
Feb 2018

If you want to go to the effort of trying to do a table looking layout now, I would suggest using all non-breaking spaces to prevent line wrapping.

full width non-breaking space  :   or   or  
half width non-breaking space :   or  

(NOTE: if using non-breaking spaces exclusively, you might need to disable some smileys - I used ( for opening parenthesis below)
_______________________________________


               v-last Bush budget was FY 2009 (all figures are actuals, not budgeted)
 2008     2009     2010     2011     2012     2013     2014     2015     2016     2017   Fiscal Year
2,983    3,518    3,457    3,603    3,537    3,455    3,506    3,688    3,852    3,981   Total Outlays, $Billions
(450)   (1,413)  (1,294)  (1,300)  (1,087)   (680)    (485)     (438)    (586)     (666)   Surplus (deficit), $Billions
(3.1)      (9.8)     (8.7)     (8.5)    (6.8)     (4.1)     (2.8)     (2.4)     (3.2)     (3.5)   Surplus (deficit), % of GDP

_______________________________________

I tried to line that up in NotePad and do a search and replace for all spaces and also the opening parenthesis, but when I copied it here the columns didn't quite align and I had to tweak some lines by deleting or adding spaces and/or half spaces. You can view the HTML source to see how dumb it is - although for something small like this, it isn't overly time consuming. I would probably just do the table in a text editor and take a screen capture and post the picture - using the non-breaking space method probably cuts off the right portion of the data for people browsing with their phones. And who knows if the columns will line up in other desktop browsers/operating systems - I made this post with FireFox58 on Windows7.

God help you if you need to make an edit after posting.

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Help & Search»DU Community Help»Anyway to simulate a tabl...»Reply #7