Domingo, 21 Diciembre 2014 13:32
beggarly

Tabs break from container in IE 7

Displays your chosen modules in highly customizable tabs

Tabs break from container in IE 7

Postby choll » Thu May 14, 2009 12:59 am

Tabs break away from container when displayed in IE7. There is a space between the tabs row and the container. How do I correct this error in IE? Sorry that I can not send the URL for the site because the site is currently password protected.

Thanks for any help you can offer.
choll
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 14, 2009 12:47 am

Re: Tabs break from container in IE 7

Postby chus » Fri May 15, 2009 1:07 am

Hi!

Please try opening modules/mod_dinamods/tmpl/top.php and edit line 16

Code: Select all
<br style="clear:left;" />

to

Code: Select all
<div style="clear:left;"></div>
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Tabs break from container in IE 7

Postby choll » Fri May 15, 2009 1:35 am

Thanks so much for your reply. I did do the edit that you suggested on line 16. But it didn't work, so I just deleted line 16 and now everything is working great. If it wasn't for you, I wouldn't even have known where to begin. You Rock!
choll
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 14, 2009 12:47 am

Re: Tabs break from container in IE 7

Postby choll » Sun May 17, 2009 9:10 pm

Well rats, my happiness was short lived. It seems that after doing the fix for IE7, the module showed completely off center in Google Chrome. So I had to go back to the original code that was in line 16.

Now, the module looks good in Chrome and FireFox but not in IE7. I still get the tab row separating from the container box. Any other ideas that would make the module compatible with all the main browsers?

Thank you for helping.
choll
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 14, 2009 12:47 am

Re: Tabs break from container in IE 7

Postby chus » Tue May 19, 2009 1:51 am

Hi!

what about:

Code: Select all
<div style="clear:left; height:0;"></div>
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Tabs break from container in IE 7

Postby choll » Wed May 20, 2009 4:39 pm

Hey, that worked. Now the tabs are playing nice with all of FFox, IE, and Chrome.
How cool is that. Thanks for all your help!
choll
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Thu May 14, 2009 12:47 am

Re: Tabs break from container in IE 7

Postby perspective » Fri Jun 19, 2009 12:46 pm

chus wrote:Hi!

what about:

Code: Select all
<div style="clear:left; height:0;"></div>


This is still broken in IE6, here is the fix for FF, Safari, Chrome, IE6, IE7, IE8...

Delete Line 16

Make line 17 look like the following;

Code: Select all
<div id="dm_container_<?php echo $dinamods_id; ?>" style="clear:left;">
perspective
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Fri Jun 19, 2009 12:44 pm


Return to Dinamods



Who is online

Users browsing this forum: No registered users and 1 guest

cron