04-25-2013, 04:24 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2013
Device: Kindle amazon
|
IMG in Sigil
Hi everyone
I have an issue with sigil and I did not find any way to solve it. I neet to enclose to my ebook some images, and I want them to have a border. I applied a border to the tag as follow Code:
<img src="xxxxx" border="1"> Code:
attibute 'border' is not declared for element 'img' Code:
img {border: solid black 1px;} Any help? |
04-25-2013, 06:47 PM | #2 | |
Well trained by Cats
Posts: 29,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Width Style Color when debugging, try using the long form border-width: 1px ; border-style: solid'; border-color: black; |
|
04-26-2013, 10:54 AM | #3 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Put border first: <img border="5" alt="" src="../Images/warpsychiatry_pic0010.jpg" />
It just tested it in Sigil and it worked. |
04-26-2013, 10:57 AM | #4 | |
Well trained by Cats
Posts: 29,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I think this will validate: Code:
<img style="border="5"" alt="" src="../Images/warpsychiatry_pic0010.jpg" />
|
|
04-26-2013, 02:55 PM | #5 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
That won't validate but this will:
<img style="border:5px solid black" alt="" src="../Images/warpsychiatry_pic0010.jpg" /> The above example is from w3schools.com. http://www.w3schools.com/tags/att_img_border.asp |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with centering DIV and IMG | rhino79 | Sigil | 8 | 04-23-2013 11:01 AM |
<svg> to <img> | codrutoctavian | ePub | 8 | 03-01-2012 08:54 PM |
<img longdesc= | traskilajussi | EPUBReader | 3 | 02-23-2011 08:15 AM |
vfat.img | pewterbot9 | enTourage Archive | 11 | 12-29-2010 06:41 PM |
Can you decompile an IMG file? | Nate the great | Android Devices | 3 | 06-06-2010 07:37 AM |