Go Back   EcoModder Forum > Forum News & Feedback
Register Now
 Register Now

Now available from EcoModder: ScanGauge II fuel economy gauge.  Click for details.  

Reply  Post New Thread
 
LinkBack Thread Tools
Old 12-15-2008, 08:00 PM   #11 (permalink)
Moderate your Moderation.
 
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,382

Herbie - '86 Golf Diesel
90 day: 51.89 mpg (US)

Steve - '92 Festiva
Thanks: 955
Thanked 324 Times in 273 Posts
LOL sweet. That will help definitely with large groups of data that never fixes into columns.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
"¿ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"
  Reply With Quote
Old 12-15-2008, 09:17 PM   #12 (permalink)
Master EcoModder
 
Join Date: Aug 2008
Location: South Dakota
Posts: 460

WonderWagon - '94 Escort LX
Last 3: 51.52 mpg (US)

DaRedOne - '99 Escort ZX2 Hot

DaBluOne - '99 Escort SE
90 day: 48.97 mpg (US)
Thanks: 0
Thanked 8 Times in 2 Posts
Thanks a bunch.
__________________
  Reply With Quote
Old 12-15-2008, 09:29 PM   #13 (permalink)
Moderate your Moderation.
 
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,382

Herbie - '86 Golf Diesel
90 day: 51.89 mpg (US)

Steve - '92 Festiva
Thanks: 955
Thanked 324 Times in 273 Posts
So wait... that educational post... are both tables supposed to look the same? B/c I"m on FF3.0 and they look the same to me.
__________________
"¿ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"
  Reply With Quote
Old 12-15-2008, 09:56 PM   #14 (permalink)
Master EcoModder
 
Join Date: Aug 2008
Location: South Dakota
Posts: 460

WonderWagon - '94 Escort LX
Last 3: 51.52 mpg (US)

DaRedOne - '99 Escort ZX2 Hot

DaBluOne - '99 Escort SE
90 day: 48.97 mpg (US)
Thanks: 0
Thanked 8 Times in 2 Posts
Quote:
Originally Posted by Christ View Post
So wait... that educational post... are both tables supposed to look the same? B/c I"m on FF3.0 and they look the same to me.
Also looks the same to me in FF2.0 and IE7.0
__________________
  Reply With Quote
Old 12-17-2008, 06:39 PM   #15 (permalink)
Master EcoModder
 
Join Date: Aug 2008
Location: South Dakota
Posts: 460

WonderWagon - '94 Escort LX
Last 3: 51.52 mpg (US)

DaRedOne - '99 Escort ZX2 Hot

DaBluOne - '99 Escort SE
90 day: 48.97 mpg (US)
Thanks: 0
Thanked 8 Times in 2 Posts
Extra lines before tables???

Just to try out the tables I reformatted some data that aerohead posted.
It appears that each line in the table generates a line of padding above the table?
At least that's how it appears in Firefox 2.0 and IE7.0.
Here is the post CASE-STUDY: Mercedes-Benz C-111 / III (Cd 0.178)
__________________
  Reply With Quote
Old 12-17-2008, 07:14 PM   #16 (permalink)
Pokémoderator
 
cfg83's Avatar
 
Join Date: Dec 2007
Location: Southern California
Posts: 5,724

1999 Saturn SW2 - '99 SW2 Wagon
Team Saturn
90 day: 43.05 mpg (US)
Thanks: 385
Thanked 459 Times in 315 Posts
TestDrive -

Each of your carriage returns are being honored *within* the table. When I delete the carriage returns, it works :

TABLE STARTS ON NEXT LINE
The carMercedes-Benz 111/III
Height1,029mm(41.16 inches)
Width1,688mm(67.5 inches)
Length(competition)4,784mm(191.36 inches)
Curb Weight1,347 kg(2,965 pounds)
...etc......etc...
Truncated Boat-Tail Length700mm(28 inches)
PERFORMANCE.
Top Speed @ Nardo Test-Track,Italy315.157 km/h(195.398MPH)-continuous 24-hour driving
Fuel Economy6.26 km/l(14.7mpg) @ 195.398 mph

TABLE ENDS ABOVE THIS LINE

MetroMPG -

Is there an "ignore carriage return" for line endings option?

CarloSW2
__________________

What's your EPA MPG? Go Here and find out!
American Solar Energy Society
  Reply With Quote
Old 12-17-2008, 07:24 PM   #17 (permalink)
Master EcoModder
 
Join Date: Aug 2008
Location: South Dakota
Posts: 460

WonderWagon - '94 Escort LX
Last 3: 51.52 mpg (US)

DaRedOne - '99 Escort ZX2 Hot

DaBluOne - '99 Escort SE
90 day: 48.97 mpg (US)
Thanks: 0
Thanked 8 Times in 2 Posts
Quote:
Originally Posted by cfg83 View Post
Each of your carriage returns are being honored *within* the table. When I delete the carriage returns, it works :
Good catch. Thanks.
__________________
  Reply With Quote
Old 12-17-2008, 09:23 PM   #18 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 12,537

Blackfly - '98 Metro
Team Metro
90 day: 67.07 mpg (US)

ForkenSwift - '92 Metro EV
90 day: 125.37 mpg (US)

U.F.O. - '00 Insight
Team Honda
90 day: 85.75 mpg (US)
Thanks: 302
Thanked 1,020 Times in 568 Posts
Sorry, no easy fix, other than putting all the table code on a single line.

If it's a complex table, you could always build it in a text editor and strip out the CRs when you're done before you post it in the forum.
__________________
Latest project: removable Geo Metro boat tail
Latest test: Massive cardboard air dam on a Geo Metro


www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 12-18-2008, 10:46 AM   #19 (permalink)
Ex-lurker
 
i_am_socket's Avatar
 
Join Date: Apr 2008
Location: Jersey
Posts: 571

Skeeter - '05 Corolla LE
90 day: 35.55 mpg (US)
Thanks: 1
Thanked 4 Times in 4 Posts
Diving into form submission code is always fun. Could be done with:

PHP Code:
$table_strings = array("[table]".chr(10), "[tr]".chr(10), "[/tr]".chr(10), "[/td]".chr(10));
$table_replace = array("[table]""[tr]""[/tr]""[/td]");
    
$submit_text str_replace($table_strings$table_replace$submit_text); 
or similar before the database submission, probably inside whatever function is used to clean up the text.
__________________
  Reply With Quote
Old 02-04-2009, 07:48 AM   #20 (permalink)
Master EcoModder
 
Join Date: Aug 2008
Location: South Dakota
Posts: 460

WonderWagon - '94 Escort LX
Last 3: 51.52 mpg (US)

DaRedOne - '99 Escort ZX2 Hot

DaBluOne - '99 Escort SE
90 day: 48.97 mpg (US)
Thanks: 0
Thanked 8 Times in 2 Posts
Maybe you could add an "Insert Table" button to the Advanced Posting Editor.
When clicked it just inserts the material in the quote below (or something similar).
This would make it easier for people to discover putting tables in posts.
Quote:
(Carriage returns between table tags appear just below this line.)




Data - Row 1, Col 1 Data - Row 2, Col 2
Example Table:
Carriage returns within data appear within the table cell.



Carriage returns between table tags are not required and appear above the table.
Spaces at start of lines are eaten by the BB software.
Data - Row 3, Col 3 Data - Row 3, Col 4


(Support Ecomodder.com & get rid of these annoying ads!)      
 
  Reply With Quote
Reply  Post New Thread

Thread Tools





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com