problem with GT mod image widths... help?
Posted: Thu 4. Aug 2005, 06:06
Okay, so basically the header images GT mod is creating have too much white padding on the left side and are indented in from the text that appears beneath them. What I want is for the imgs GT mod generates to have the txt flush with the left margin of the image.
I found a post the following post which does a good job of breaking down the issue:
http://phpwcms.de/forum/viewtopic.php?p ... cb27acb99f
Unfortunately the proposed fix - to remove or alter the "+ 5" widths in the gt mod func file doesn't work. It appears that the text in the image is centered with regard to this adjustment number, and when removed it ends up eating the right edge of my imgs.
In other words if I set this number ot zero for the width I will get the text near flush with the left margin. However, the right margin ends up cutting off the right end of the last letter in my sentence.
Does anyone have a fix for this? I tried to figure out how GT mod is calculating the img widths and drawing the img, but it seemed rather complicated (like it builds a box, then figures out how to write the image in taht box) and I didn't want to totally frag my gt mod install.
Has anyone else tackled this? Anyone have an idea how I could get GT mod imgs flush with the left margin without cutting off the text on the right?
Thanks,
Rick
I found a post the following post which does a good job of breaking down the issue:
http://phpwcms.de/forum/viewtopic.php?p ... cb27acb99f
Unfortunately the proposed fix - to remove or alter the "+ 5" widths in the gt mod func file doesn't work. It appears that the text in the image is centered with regard to this adjustment number, and when removed it ends up eating the right edge of my imgs.
In other words if I set this number ot zero for the width I will get the text near flush with the left margin. However, the right margin ends up cutting off the right end of the last letter in my sentence.
Does anyone have a fix for this? I tried to figure out how GT mod is calculating the img widths and drawing the img, but it seemed rather complicated (like it builds a box, then figures out how to write the image in taht box) and I didn't want to totally frag my gt mod install.
Has anyone else tackled this? Anyone have an idea how I could get GT mod imgs flush with the left margin without cutting off the text on the right?
Thanks,
Rick