Thread: IMG in Sigil
View Single Post
Old 04-25-2013, 06:47 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,792
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:
Originally Posted by Alesorta View Post
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">
The problem is when I try to validate the document, sigil gives me this message
Code:
attibute 'border' is not declared for element 'img'
I then tried to delet the border attribute, adding on the other hand this code to the css
Code:
img {border: solid black 1px;}
The problem with this second case is that nothing appears around the image.

Any help?
It (the short form)may be order sensitive:

Width
Style
Color

when debugging, try using the long form
border-width: 1px ;
border-style: solid';
border-color: black;
theducks is offline   Reply With Quote