Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43260
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 262
Total: 263

Author Topic: Problems with IE8  (Read 3024 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
5480 Views
Last post October 08, 2013, 10:05:39 pm
by shyguy
3 Replies
10286 Views
Last post March 28, 2018, 12:40:58 pm
by SMFHacks
1 Replies
3168 Views
Last post October 03, 2018, 03:42:57 pm
by SMFHacks
6 Replies
3569 Views
Last post January 25, 2019, 08:31:42 pm
by jaydog29
6 Replies
1651 Views
Last post October 01, 2021, 01:33:14 pm
by mickjav

+- Recent Topics

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal