Quote:
Originally Posted by Alesorta
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;