css for images
This commit is contained in:
parent
60070fc9b0
commit
8cfe7ff6f8
|
@ -76,7 +76,7 @@ class ArticleImage(models.Model):
|
|||
def getHTML(self):
|
||||
thumb = self.getThumbPath("x380")
|
||||
caption = self.caption
|
||||
return "<img title='%s' src='%s' />" % (caption, thumb,)
|
||||
return "<img title='%s' src='%s' style='display:block;margin:0 auto;border:1px solid #f7c00c;' />" % (caption, thumb,)
|
||||
|
||||
|
||||
class Weblink(models.Model):
|
||||
|
|
Loading…
Reference in New Issue
Block a user