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

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,919

Pasta - '96 Volkswagen Passat TDi
90 day: 45.22 mpg (US)
Thanks: 1,369
Thanked 430 Times in 353 Posts
LOL sweet. That will help definitely with large groups of data that never fixes into columns.

__________________
"¿ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 12-15-2008, 09:17 PM   #12 (permalink)
Master EcoModder
 
Join Date: Aug 2008
Location: South Dakota
Posts: 460

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

DaBluOne - '99 Ford Escort SE
90 day: 48.97 mpg (US)

DaRedOne - '99 Ford Escort ZX2 Hot
Thanks: 0
Thanked 15 Times in 4 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,919

Pasta - '96 Volkswagen Passat TDi
90 day: 45.22 mpg (US)
Thanks: 1,369
Thanked 430 Times in 353 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 Ford Escort LX
Last 3: 51.52 mpg (US)

DaBluOne - '99 Ford Escort SE
90 day: 48.97 mpg (US)

DaRedOne - '99 Ford Escort ZX2 Hot
Thanks: 0
Thanked 15 Times in 4 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 Ford Escort LX
Last 3: 51.52 mpg (US)

DaBluOne - '99 Ford Escort SE
90 day: 48.97 mpg (US)

DaRedOne - '99 Ford Escort ZX2 Hot
Thanks: 0
Thanked 15 Times in 4 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 http://ecomodder.com/forum/showthrea...html#post79080
__________________
  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,864

1999 Saturn SW2 - '99 Saturn SW2 Wagon
Team Saturn
90 day: 40.49 mpg (US)
Thanks: 439
Thanked 530 Times in 356 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 Ford Escort LX
Last 3: 51.52 mpg (US)

DaBluOne - '99 Ford Escort SE
90 day: 48.97 mpg (US)

DaRedOne - '99 Ford Escort ZX2 Hot
Thanks: 0
Thanked 15 Times in 4 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: 22,515

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 52.71 mpg (US)

Even Fancier Metro - '14 Mitsubishi Mirage top spec
90 day: 70.75 mpg (US)

Appliance car - '14 Mitsubishi Mirage ES (base)
90 day: 52.48 mpg (US)
Thanks: 4,062
Thanked 6,959 Times in 3,603 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.
__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
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 Toyota Corolla LE
90 day: 35.55 mpg (US)
Thanks: 2
Thanked 8 Times in 6 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 Ford Escort LX
Last 3: 51.52 mpg (US)

DaBluOne - '99 Ford Escort SE
90 day: 48.97 mpg (US)

DaRedOne - '99 Ford Escort ZX2 Hot
Thanks: 0
Thanked 15 Times in 4 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

  Reply With Quote
Reply  Post New Thread






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