dailysudoku.com Forum Index dailysudoku.com
Discussion of Daily Sudoku puzzles
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

color in grids - not using BBCode [code] but HTML <pre>

 
Post new topic   Reply to topic    dailysudoku.com Forum Index -> Test
View previous topic :: View next topic  
Author Message
nataraj



Joined: 03 Aug 2007
Posts: 1048
Location: near Vienna, Austria

PostPosted: Sun Oct 28, 2007 5:19 pm    Post subject: color in grids - not using BBCode [code] but HTML <pre> Reply with quote

It seems there is indeed a way to show coloring and still keep the grid aligned. If one doesn't mind the empty lines in between, using a "pre" tag seems to do the trick. color was added after pasting the grid by selecting text and then choosing the color from the drop-down box.
Code:

<pre>
+-----+-----+
| 1 2 | [color=red]3[/color] 4 |
| X [color=green]W[/color] | i j |
+-----+-----+
</pre>


Looks like this:

+-----+-----+
| 1 2 | 3 4 |
| X W | i j |
+-----+-----+


It was a post by Asellus which showed the method earlier today, so credits go to him alone.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    dailysudoku.com Forum Index -> Test All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group