Forum Support

Shape 5
March 28, 2024, 01:55:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Padded image issue  (Read 577 times)
macks
Jr. Member
**
Offline Offline

Posts: 49



« on: June 20, 2011, 07:49:08 AM »

I have inserted some images on my home page using the following code:
Code:
<div style="float: left; width: 220px; overflow: hidden; margin-right: 14px; font-size: 0.9em;"><img class="padded" src="images/content1.jpg" border="0" /> <strong>text header</strong> With this amount of module positions  you will never run out of room and can pick from hundreds of layout options.  <a class="readon" href="index.php?option=com_content&amp;view=article&amp;id=14&amp;Itemid=49" style="font-size:1em;margin-top:12px">Learn More...</a></div>
<div style="float: left; width: 220px; overflow: hidden; margin-right: 14px; font-size: 0.9em;"><img class="padded" src="images/content2.jpg" border="0" style="margin-bottom:4px" /> <strong>text header</strong>With a custom highlight color you can easily change the color of the entire site by setting just one color param.  <a class="readon" href="index.php?option=com_content&amp;view=article&amp;id=197&amp;Itemid=228" style="font-size:1em;margin-top:12px">See Examples...</a></div>

The problem is that the left hand line in the padded box is invisible!

Can you help?
Thanks
Logged
macks
Jr. Member
**
Offline Offline

Posts: 49



« Reply #1 on: June 20, 2011, 08:20:02 AM »

I forgot to add that the issue relates to firefox 4.0.1
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #2 on: June 20, 2011, 10:20:35 AM »

Hello,

Please post a url to where the problem occurs.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
macks
Jr. Member
**
Offline Offline

Posts: 49



« Reply #3 on: June 20, 2011, 11:41:52 AM »

maximise.com/clr1
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #4 on: June 20, 2011, 11:46:06 AM »

Hello,

The surrounding div of the image has an overflow:hidden on it. just remove that overflow call:

<div style="float: left; width: 220px; overflow: hidden; margin-right: 14px; font-size: 0.9em;"><img border="0" style="margin-bottom:4px" src="/clr1/images/content2.jpg" class="padded"> <strong>Presentation Skills Training </strong>With a custom highlight color you can easily change the color of the entire site by setting just one color param.  <a style="font-size:1em;margin-top:12px" href="/clr1/index.php?option=com_content&amp;view=article&amp;id=197&amp;Itemid=228" class="readon">See Examples...[/url]</div>
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
macks
Jr. Member
**
Offline Offline

Posts: 49



« Reply #5 on: June 20, 2011, 11:59:14 AM »

Perfect! Thanks again, mikek
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.