|  07-12-2011, 12:00 PM | #1 | 
| Junior Member  Posts: 7 Karma: 10 Join Date: Jul 2011 Device: Kindle | 
				
				Gray Boxes in .mobi?
			 
			
			Hi all, To set off a text book in an ebook that I am creating, I put a background-color style in the .xhtml file of that chapter. The .xhtml file is part of an .epub file which displays the gray text box fine, but when I convert the .epub to .mobi the gray background of the text disappears. Any help on getting my code to work in the mobi file as well would be great, thanks.   | 
|   |   | 
|  07-12-2011, 12:02 PM | #2 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			It won't work. It's not supported in Mobipocket.
		 | 
|   |   | 
| Advert | |
|  | 
|  07-12-2011, 12:31 PM | #3 | 
| Wizard            Posts: 2,251 Karma: 3720310 Join Date: Jan 2009 Location: USA Device: Kindle, iPad (not used much for reading) | 
			
			Depending on the reader's screen, it might be hard to read, even in ePub.
		 | 
|   |   | 
|  07-14-2011, 04:27 PM | #4 | 
| Member  Posts: 10 Karma: 10 Join Date: Jul 2010 Device: Kindle 2i | 
			
			Hi,  if you want to have a grey background for the text then you need to use a table. just create a one cell table, put the text into the cell and then set the background colour. The limitation is that all the text in the cell must fit on one page. If the text is too long for one page, the Kindle will just ignore the extra text. Cheers, Ian | 
|   |   | 
|  07-14-2011, 05:03 PM | #5 | |
| Groupie            Posts: 166 Karma: 5358 Join Date: Aug 2010 Location: Davis, CA Device: Kindle 3 | Quote: 
 | |
|   |   | 
| Advert | |
|  | 
|  07-14-2011, 07:18 PM | #6 | 
| Kindler of the Flame            Posts: 582 Karma: 646016 Join Date: Oct 2009 Location: US of A Device: K DX,3,KT,KP,KF, KFHD; Nook C, PRS600, iPad, Xoom, N900, N810, Zaurus | 
			
			Don't do it.  You will have too many complaints.
		 | 
|   |   | 
|  07-14-2011, 09:57 PM | #7 | 
| Grand Sorcerer            Posts: 5,897 Karma: 464403178 Join Date: Feb 2010 Location: 33.9388° N, 117.2716° W Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad |  you got that right | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Tinted backgrounds boxes - epub and Mobi | DanBenton | Kindle Formats | 1 | 01-28-2011 08:22 AM | 
| MobiPocket Creator -> PDF to MOBI -> Gray Font on Kindle 3 | SunLight | Kindle Formats | 3 | 01-04-2011 02:46 PM | 
| MobiPocket Creator -> PDF to MOBI -> Gray Font on Kindle | SunLight | Amazon Kindle | 3 | 01-02-2011 01:52 PM | 
| Boxes and boxes of books | Elsi | Lounge | 14 | 07-22-2008 08:04 PM |