12-15-2018, 03:45 AM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
Need Help
First am sorry if this is not the place for this (am new & total newbie)
my problem is this i downloaded some epubs and found the following problem there is a border around some texts and when i read them on my mobile not all the text shows when i open them on Sigil this is what i get is the a way to remove the border and make it a normal text i can make it one by one but it will take forever to finish i need a way to do the entire file can someone help me please thank you all in advance |
12-15-2018, 07:47 AM | #2 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
From your screen shot there doesn't appear to be anything wrong. There are no cut-off words in the first example. It appears that this is simply the styling selected by the book designer to indicate special types of communication: the first is the computer (or VR system) passing messages to the player, the second is highlighting a list of benefits.
If you think there is something wrong, we would need to see the code view, and the css to determine the issue. However, in my experience, that style of book is made by authors that don't know how to code efficiently/effectively or without massive amounts of code-bloat. I've had to return a couple of those books because they were so over bloated that it massively slowed down my very-capable reading system. |
12-15-2018, 08:08 AM | #3 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
it is clipped
it maybe not showing in the mobile screenshot but it is clipped (two
rows are not visible) as for the code here it is all i need is a way to remove all the blue rectangles from all the file at once, not one by one thanks |
12-15-2018, 08:10 AM | #4 |
Non-Techy
Posts: 4,454
Karma: 15499273
Join Date: Feb 2011
Location: WV---USA
Device: Samsung Cell Phone & Amazon Fires & Kobo eReaders
|
What do you want Narrower margins? Then go into settings & change the settings. Other wise looks fine to me.
|
12-15-2018, 08:31 AM | #5 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
Quote:
if you look closely at the mobile screenshot you can see the letters on the bottom, it seems Aldiko is treating the blue rectangles as whole and not as rows (am using Aldiko on Galaxy Not) |
|
12-15-2018, 08:34 AM | #6 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
From you snippet of code view it looks like it's really clean **suprised!!**, you just need to adjust the css.
Your .css file is defining a table to have that blue background...you need to find it and change it... it will look something like this: table {background-color: lightblue} or td {background-color: lightblue} or it may even have the color as a code like background-color:#f5f5f5 or some combination of that. |
12-15-2018, 08:38 AM | #7 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
Quote:
the problem is Aldiko treating the blue rectangles as whole and not as rows so it clip it if it is too big for the page is there a way to remove the rectangles completely from all the file at once, not one by one |
|
12-15-2018, 08:49 AM | #8 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
the css file effects the whole document at the same time....that's the point of using css files...makes it MUCH easier to edit the styling of your document.
|
12-15-2018, 08:52 AM | #9 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
If aldiko is having troubles with the "tables" themselves, then there is something else causing it...not the background color of the table.
Can you post the css here (make sure its not copyrighted)? |
12-15-2018, 08:58 AM | #10 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
Quote:
here is a stupid question and please don't lough what is css?? |
|
12-15-2018, 10:25 AM | #11 |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
It stands for "Cascading Style Sheet". It has the file extension of ".css". It can be found in the "Styles" folder in Sigil's Book Browser on the left side of the screen. It is a list of definitions on how the book looks, not how it reads.
Some simple definitions are: Code:
p { margin:0; indent:1.2em; text-align:left } h1 { margin: 2em 0 2em; indent:0; font-weight:bold; font-size:1.2em; text-align:center } You can easily edit the way the entire book looks just by updating a few lines in the css file. You can also effect how a device displays an item...sometimes - but that is a longer story... for example, there must be some definition in your css telling any reading device/app to display tables a certain way. Unfortunately, depending on how good the device/app is, it can ignore some or all of the styling intended by the book creator. That's why it is important to see the css...it'll help determine if it is a css problem or an adilko problem. Some people who make books don't understand how these definitions work...they typically just use an automated process like smashwords, or some authoring program that says "save as epub" and think they are done. It would make a much better book if they would take a few minutes to learn the basics. There is a pretty good tutorial here on MR...and a good reference on W3Schools |
12-15-2018, 10:39 AM | #12 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: None
|
that was very helpful, i really appreciate your help
there is so many css files in the styles folder and four of them for tables, but all of them has the same code what file i should adjust so i can delete all the tables from the file |
12-15-2018, 01:06 PM | #13 |
Well trained by Cats
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The HTML file will call out the CSS files (yes, multiple CAN be used) for that file.
But Sigil make it even simpler. In the code view, right click on the Paragraph (or encapsulating div) : Go to link or style. This will jump you to the first OCCURRENCE or the top of the CSS if it is not found (where it was supposed to be) |
12-15-2018, 01:11 PM | #14 |
Well trained by Cats
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
When you 'delete tables', you delete the tables content. I don't think that is your goal
Really, you need a different reading app or platform. This is just 1 book, and it does not seem to have a problem on other viewers. Tables are commonly used in textbooks. Are you going to recode every book? |
12-15-2018, 01:37 PM | #15 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Deleted
Last edited by jackie_w; 12-16-2018 at 11:19 AM. Reason: Failed to grasp OP's actual problem |