Image Margin in Article CSS


Author Message
Hagen

Posted: 3/28/2009
Quote message 

Can't find where in the tool to manipulate the
"margin: 0em;" default
for IMG in Articles

found in CSS:

.article img, img.article
{
border-style: solid;
border-width: 0px;
border-color: #C9C2AB;
margin: 0em;
}

 
Marc A. Ross

Posted: 3/29/2009
Quote message 

Edit the CSS directly.
 
Pixelmixer

Posted: 4/22/2009
Quote message 

If you want this as default for all your new produced templates, you can edit this in
C:\Programme\Artisteer 2\Library\Data\Templates\Default\Common\Glyphs\Post.css

Make a backup of the original file and then search for

.article img, img.article
{
<!-- BEGIN ImagesBorder -->
border: {ImagesBorderStyle} {ImagesBorderWeight}px {ImagesBorderColor};
<!-- END ImagesBorder -->
margin: 1em;
}

... and replace with

.article img, img.article
{
<!-- BEGIN ImagesBorder -->
border: {ImagesBorderStyle} {ImagesBorderWeight}px {ImagesBorderColor};
<!-- END ImagesBorder -->
margin: 0em;
}

... or whatever you want as default for images in articles.

I think the Artisteer2 producers shall integrate a configuration menu for this in the next release (let the user choose

the image-margin values: right, left, top, bottom)!
 
Garry

Posted: 4/22/2009
Quote message 

It'll be better if you insert your css property directly into the style sheet.