PDA

View Full Version : table styling



philmetz
04 Dec 2011, 04:34 PM
I have the following code:

http://jsfiddle.net/YqdqB/3/

As you can see im trying to get something similar done as on here:
https://github.com/teddziuba/hubot/blob/master/bin/hubot

Where the left grey section is the line numbers and right section is the content.

But on my code it fails to. its indented for some odd reason.

Could someone help me?

hyperion
06 Dec 2011, 01:08 AM
Try not using <pre>. Here is the right code

http://jsfiddle.net/YqdqB/29/