Zooming issue in Firefox and IE

4 posts by 3 authors in: Forums > CMS Builder
Last Post: September 22, 2010   (RSS)

Hello everyone,

I'm updating our homepage -- in addition to having a dynamic news section, I thought it would be cool to have the features section be dynamic as well. I've done the coding and updated the HTML, but I get a strange thing happening when zooming out of the page. The formatting is distorted, strangely enough.

Here's the page in question:

http://www.louisarmstronghouse.org/index2.php

Try zooming out and you'll see what I mean. (There's no problem when using Safari; only Firefox and IE.)

And here's the HTML code for the affected section:

<div id="features_body">

<?php foreach ($featuresRecords as $record): ?>
<div class="feature">

<?php foreach ($record['photo'] as $upload): ?>
<a href="<?php echo $record['external_link'] ?>"><img src="<?php echo $upload['urlPath'] ?>" width="49" height="49" alt="" class="left"/></a>
<?php endforeach ?>

<span class="featuretitle2"><a href="<?php echo $record['external_link'] ?>"><?php echo $record['title'] ?></a></span>
<p><?php echo $record['description'] ?></p>
</div>
<?php endforeach; ?>

<?php if (!$newsRecords): ?>
No records were found!<br/><br/>
<?php endif ?>

</div>

</div>


Does anyone have any suggestions? Thank you so much!

Re: [armstrong] Zooming issue in Firefox and IE

By Chris - September 21, 2010

Hi armstrong,

Zooming works perfectly for me on that page in IE 8.0. and FF 3.6.10.

Your HTML and PHP look perfectly fine (except for an extra </div> in that snippet.)

Can you post a screenshot of the problem?
All the best,
Chris

Re: [armstrong] Zooming issue in Firefox and IE

By Damon - September 22, 2010

Hi,

I see the Features section dropping down when you zoom.

I suspect that you may need to edit the css to remove or reduce the width in the feature_body class.

Give that a try.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/