images in table take too much whitespace around


Author Message
edith

Posted: 4/23/2009
Quote message 

Hopefully someone recognize my issue: my Artisteer template is succesfully exported to Joomla. I want to have my content shown in a big table. So far, so good. Now I put an image in each tablecell. Then comes the problem: the images takes too much whitespace all around. What I want, is the image to completely fill the cell. No whitespace between the tablelines and the images - or only 2 pix perhaps.
I don't know if I need to change anything in Artisteer, of in Joomla. Viewing the specific images in the J! media-manager they all have this big black space around them.
Does anyone know what I do wrong...? Any help will be appreciated greatfully - this issue has taking lots of time already :roll:
(since the site is not only, I can't give you an url, sorry)

 
Garry

Posted: 4/24/2009
Quote message 

While inserting images in joomla check for options there might be a padding option. You may also use an image of exact color of table cell so no space around.
 
Pixelmixer

Posted: 4/24/2009
Quote message 

The default margin for images is 1em. But this is no usable solution.

If you want another default margin, 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)!
 
edith

Posted: 4/28/2009
Quote message 

O.k., I'm gonna try it later today. Thanks very much for your help & I'll let you know how far I came 8-)
 
edith

Posted: 4/28/2009
Quote message 

-- A few hours later --
Unfortunately this was not the solution. Perhaps it works in articles, but it does not work in my table...
 
Garry

Posted: 4/29/2009
Quote message 

URL Please
 
edith

Posted: 4/29/2009
Quote message 

Quote Garry:

URL Please

Site is not online yet, I'm sorry. Will do so a.s.a.p. since I realize it talks easier... :-/