SimplePortal
Customization => Themes and Graphics => Topic started by: ehsizzup on August 31, 2010, 12:33:19 PM
-
Hello all!
I'd like to add blocks with hyperlinked images in my right side SP column.
I can't seem to make both FF and IE display the image only with no scroll bars. My column is 220px and the images are all 220 or less. Making the images smaller is not an option. FF works until you click the image, then you get the scroll bars. IE shows the scroll bars all the time.
How can I make these scroll bars disappear in both IE and FF? See the issue in action at www.livecallir.com. The image in question is the green "Click Here to Register" on the right side.
Current HTML Code
<a href="http://www.livecallir.com/index.php?action=register">
<img border="0" src="http://www.livecallir.com/i/clicktoreg.png" style="margin: 0" width="218" height="52"></a>
Current BBC Code
[url=http://www.livecallir.com/index.php?action=register][img]http://www.livecallir.com/i/clicktoreg.png[/img][/url]
Plus
padding: 0 0 0 0;
in the "Custom Body Style"
-
Change
<a href="http://www.livecallir.com/index.php?action=register">
<img border="0" src="http://www.livecallir.com/i/clicktoreg.png" style="margin: 0" width="218" height="52"></a>
to
<a href="http://www.livecallir.com/index.php?action=register">
<img border="0" src="http://www.livecallir.com/i/clicktoreg.png" style="margin: 0" width="100%" height="52"></a>
-
FF now resizes image to fit within scroll bars.
IE fixed horizontal scroll bar but left vertical.
-
Solution:
Used
<a href="http://www.livecallir.com/index.php?action=register">
<img border="0" src="http://www.livecallir.com/i/clicktoreg.png" style="margin: 0" width="100%" height="52"></a>
and
overflow: hidden; padding: 0 0 0 0;
in the Custom Body Style.
-
I don't know if the code gods would approve, but it works.
-
I dont believe the auto works in all browsers.
That's what started this adventure in the first place.