Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2013, 03:42 AM   #1
Dan__
Connoisseur
Dan__ began at the beginning.
 
Posts: 99
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
Novice - Need help with user stylesheet

Hello,
In the viewer I've pasted the stuff below in as the CSS. As you can see I've changed the color to 255,255,255 to see if anything would happen because I've not been able to detect any change the the viewer when I change the margins or line spacing. There must be something simple but non-obvious that I am not doing. From reading all the descriptions in the CSS thread, this should have changed the appearance of the viewer but it does not.

Thank you,



body {color:rgb(255,255,255);
background-color:rgb(174,174,174);
text-align:justify;
line-spacing:1.8;
margin-top:0px;
margin-bottom:4px;
margin-right:50px;
margin-left:50px;
text-indent:3em;}
h1, h2, h3, h4, h5, h6
{color:black;
text-align:center;
font-style:italic;
font-weight:bold;}
Dan__ is offline   Reply With Quote
Old 01-27-2013, 04:04 AM   #2
Dan__
Connoisseur
Dan__ began at the beginning.
 
Posts: 99
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
Quote:
Originally Posted by Dan__ View Post
Hello,
In the viewer I've pasted the stuff below in as the CSS. As you can see I've changed the color to 255,255,255 to see if anything would happen because I've not been able to detect any change the the viewer when I change the margins or line spacing. There must be something simple but non-obvious that I am not doing. From reading all the descriptions in the CSS thread, this should have changed the appearance of the viewer but it does not.

Thank you,



body {color:rgb(255,255,255);
background-color:rgb(174,174,174);
text-align:justify;
line-spacing:1.8;
margin-top:0px;
margin-bottom:4px;
margin-right:50px;
margin-left:50px;
text-indent:3em;}
h1, h2, h3, h4, h5, h6
{color:black;
text-align:center;
font-style:italic;
font-weight:bold;}
Apparently line-spacing is no longer a valid CSS command. It is now line-height.

Perhaps it's time to update the obsolete suggestions on the CSS thread so that all of us novices don't go crazy trying to solve the wrong problems.

Just a thought.
Dan__ is offline   Reply With Quote
Old 01-27-2013, 05:59 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Dan__ View Post
In the viewer I've pasted the stuff below in as the CSS. As you can see I've changed the color to 255,255,255 to see if anything would happen because I've not been able to detect any change the the viewer when I change the margins or line spacing. There must be something simple but non-obvious that I am not doing. From reading all the descriptions in the CSS thread, this should have changed the appearance of the viewer but it does not.
When the viewer is open click on the preferences icon in the toolbar. This will allow you to change most items. The margins can not be adjusted unless you are in Paged Mode, click the yellow scroll in the top right corner to enter Paged Mode.

Quote:
Originally Posted by Dan__ View Post
Perhaps it's time to update the obsolete suggestions on the CSS thread so that all of us novices don't go crazy trying to solve the wrong problems.
When this thread was started there wasn't a large varied preferences for the viewer available to alter the look and feel. Most of the CSS suggestions probably still work, but I bet some of the suggestions never did work.

Good Reading.

Last edited by DoctorOhh; 01-27-2013 at 06:04 AM.
DoctorOhh is offline   Reply With Quote
Reply

Tags
css, userstylesheet, viewer

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre novice, jolfc Calibre 1 07-07-2012 09:24 AM
How NOT to use a stylesheet? karyan Sigil 12 03-07-2012 12:43 PM
Stylesheet examples? Skitzman69 Sigil 15 09-24-2010 08:24 PM
User Stylesheet for Adobe Digital Editions wallcraft ePub 6 09-15-2009 03:53 PM
Help. Complete novice Shoppa Workshop 8 03-18-2009 07:59 AM


All times are GMT -4. The time now is 10:07 AM.


MobileRead.com is a privately owned, operated and funded community.