![]() |
Force a CSS Refresh?
How do I force a refresh of the html files when I've made a change in the CSS styling?
Apologies if I"m missing something obvious. Btw version 0.6 is a huge improvement over version I used 15 months ago... I'd all but given up my desire to create an ebook... well done. |
Just close the tab for that XML you want to update. Then double click and you'll see it as you should.
|
Thanks for the quick reply; however, closing and reopening the html file did not seem to refresh the properties defined in my stylesheet.
There isn't a keyboard command for this? |
I usually see the results right away, as I return after altering the css. There may be a bracket missing, semicolon instead of colon. Practically anything wrong can invalidate the following css.
Use Tools to check the css, to make sure. |
When I select
Tools -> Validate Stylesheets with W3C nothing happens... does that mean it passed? Again, am I missing something? I appreciate all the replies on a Saturday evening! |
To shed a bit of light one what exactly I'm doing:
I am adjusting the settings of the tables in my epub using the style sheet: Code:
table { |
It normally automatically refreshes for me as well.
I'm just guessing here... If you select all of your html files...right click on one and select "Link Stylesheets..." then make sure that the stylesheet you want has a check in the box. Cheers, |
yes, they are for sure linked, and changes I make to the styleshhet that effect tables are only rendered when I close and open the program.
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
I'd get rid of that space in the file name. It may be causing you trouble-%20
|
And more info:
In code view, when I add the class to the <p> tag the change shows up immediately when switching to book view. However, a subsequent change to the stylesheet doesn't render until I close and re-open the program. Doesn't seem to matter if the object is text or table. Code:
<p class="note">This is sample text for a NOTE.</p> |
Quote:
Many thanks for looking at my posts - happy Super Sunday! Regards, Zephyr |
Quote:
:smack: Go for Green :D |
Quote:
|
From what I can tell Sigil creates an html page and sends that file to the vaildator....at least the address shows:
Quote:
I have never set a default web browser within Sigil - and don't see a location that would let you set one. So, I would think that it is just trying to open an html page and relying on your system defaults to open a browser. You may need to go into your OS settings and (re)select a default browser. (Right click on an html file, select open with, and select default when using windows) The next thing I would try is making sure you clean out any addons/plugins/bars - I've had those cause cause conflicts in the past. Cheers! |
Wild guess here...
If you're on Windows (XP or more recent version), perhaps this is a Limited User Account (LUA) / permissions related problem? Or it could be a firewall issue - with Sigil not being authorized to send data to your browser. |
| All times are GMT -4. The time now is 06:09 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.