Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4215
Latest: Proxitane
New This Month: 6
New This Week: 1
New Today: 1
Stats
Total Posts: 42796
Total Topics: 7456
Most Online Today: 34
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 30
Total: 30

Author Topic: Problems with IE8  (Read 2511 times)

0 Members and 1 Guest are viewing this topic.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Problems with IE8
« on: February 13, 2013, 10:53:34 am »
Everything looks fine in my classifieds template until I try it in IE8. Then all the tabs are right aligned as in the screenshot.

It looks fine in the default SMF theme but goes awry in my custom theme.  The classifieds template is the same in both themes so I'm at a loss to understand why IE 8 is acting so weird.

Any ideas?

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Problems with IE8
« Reply #1 on: February 14, 2013, 07:51:05 am »
I've resolved this but I'm still not sure why...

In classifieds.template.php the tabs are consistently enclosed in this code:
Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" align="center" width="90%">
<tr>
<td style="padding-right: 1ex;" align="right" >
<table cellpadding="0" cellspacing="0" align="right"">
<tr>
', Classifieds_DoToolBarStrip($context['classifieds']['buttons'], 'top'), '
</tr>
</table>
</td>
</tr>
</table>

I'm unclear on why the row of tabs is nested in a table within a table but I noticed that the centre table did not have a width specified.

Sure enough, when I added a width to the code:
Code: [Select]
<table border="0" cellpadding="0" cellspacing="0" align="center" width="90%">
<tr>
<td style="padding-right: 1ex;" align="right" >
<table cellpadding="0" cellspacing="0" align="right" width="90%">
<tr>
', Classifieds_DoToolBarStrip($context['classifieds']['buttons'], 'top'), '
</tr>
</table>
</td>
</tr>
</table>

All was well.

In Chrome and Firefox that nested table is actually placed outside and so has no effect. Only in IE is it nested and the lack of any width means it squeezes all the tabs in a single line..

Equally bizarrely adseller.template.php uses exactly the same format and everything behaves in IE 8.  ???

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
4611 Views
Last post October 08, 2013, 10:05:39 pm
by shyguy
3 Replies
9515 Views
Last post March 28, 2018, 12:40:58 pm
by SMFHacks
1 Replies
2304 Views
Last post October 03, 2018, 03:42:57 pm
by SMFHacks
6 Replies
2928 Views
Last post January 25, 2019, 08:31:42 pm
by jaydog29
6 Replies
880 Views
Last post October 01, 2021, 01:33:14 pm
by mickjav

+- Recent Topics

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

prettyurls - TroubleShooting.wiki by SMFHacks
March 25, 2023, 01:49:35 pm

Download Gallery Option by SMFHacks
March 23, 2023, 09:34:02 am

Lost attachments by pete
March 22, 2023, 10:24:17 am

Additional Permissions by mickjav
March 18, 2023, 05:21:23 am

[Mod]Discord Web Hooks by SMFHacks
March 17, 2023, 08:48:30 am

Site upgrade to 2.1 by SMFHacks
March 12, 2023, 08:51:19 am

Theme/CSS design wanted by mickjav
March 11, 2023, 12:10:11 pm

Category Images by Anmer
March 10, 2023, 06:20:04 am

Powered by EzPortal