Author Topic: [RESOLVED] Layout not showing properly in Internet Explorer  (Read 16440 times)

0 Members and 1 Guest are viewing this topic.

Offline ctranter

  • Newbie
  • *
  • Posts: 20
    • View Profile
[RESOLVED] Layout not showing properly in Internet Explorer
« on: September 09, 2005, 08:51:10 PM »
Hello. My site works fine in firefox, but when viewed in i.e. It messes up.



The shot on the right is from firefox - how i want it. Any idea how i can fix it so that it is the same in both browsers?

Here is my category bit code. If it helps.

Code: [Select]
<div align="left">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td valign="top">
        {if random_cat_image_file}<a href="{cat_url}"><img src="{random_cat_image_file}" border="0"></a>{endif random_cat_image_file}
      </td>
    </tr>
    <tr>
      <td valign="top"><a href="{cat_url}" class="maincat">{cat_name}</a>&nbsp;({num_images}) {if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new}</td>
    </tr>
  </table>
  {if cat_description}<span class="smalltext">{cat_description}</span><br />
  {endif cat_description}
  {if sub_cats}{sub_cats}{endif sub_cats}
</div>

Thanks for any help!

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #1 on: September 09, 2005, 10:09:39 PM »
could you post a link to the site instead?

Offline ctranter

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #2 on: September 09, 2005, 11:48:46 PM »

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Layout not showing properly in Internet Explorer
« Reply #3 on: September 10, 2005, 12:16:56 AM »
Hi,

looks good with IE6, the same like your Firefox screenshot

regards
dp


Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Layout not showing properly in Internet Explorer
« Reply #5 on: September 10, 2005, 12:51:53 AM »
shure, I tried it also with Netscape and the category shows up in the horizontal layout.

dp

Offline ctranter

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #6 on: September 10, 2005, 12:54:05 AM »
Ok must be something wrong over here! thanks!

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Layout not showing properly in Internet Explorer
« Reply #7 on: September 10, 2005, 12:55:53 AM »
oops, wait a moment ....

I just realized that we are talking about SUBCATEGORIES - the sow up in the vertical form as you posted before,

e.g. "birds" comes correct but "birds of prey" not

sorry, my fault

dp

Offline ctranter

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #8 on: September 10, 2005, 01:02:46 AM »
ahah so i'm not crazy :D. Right now we have estalbished that, anyone know how to fix it.

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Layout not showing properly in Internet Explorer
« Reply #9 on: September 10, 2005, 01:04:36 AM »
no, you are not, sorry again !!!

dp

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Layout not showing properly in Internet Explorer
« Reply #10 on: September 10, 2005, 01:25:34 AM »
looked at the source code and maybe its a problem with "<!--Comments: 0--!>"
seemes that some table cells are commented out

dp

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #11 on: September 10, 2005, 02:27:12 AM »
looked at the source code and maybe its a problem with "<!--Comments: 0--!>"
seemes that some table cells are commented out

dp
I think that too. Try and remove "<!--Comments: 0--!>"

Offline ctranter

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #12 on: September 10, 2005, 02:32:57 AM »
Which file do i need to remove those bits from?

Thanks

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #13 on: September 10, 2005, 02:36:15 AM »
try and open categories.html
See if you can find something there

Offline ctranter

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Layout not showing properly in Internet Explorer
« Reply #14 on: September 10, 2005, 02:41:23 AM »
Code: [Select]
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>{header}
      <table width="800" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td class="bordercolor">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="tablebgcolor">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="navbar" height="23">
                        <table width="100% "height="18" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="left" width="50%">{clickstream} </td>
                            <td width="50%" align="right" valign="bottom"> <span class="none"><img src="http://www.phtgrphy.co.uk/gallery/templates/4dark/images/browse.jpg" width="43" height="9"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a> <a href="{url_new_images}" class="smalltext">{lang_new_images}</a></span>&nbsp; </td>
                          </tr>
                      </table></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="8">
                    <tr>
                      <td width="100%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="row2" valign="top" cellpadding="8"><table width="100%"  border="0" cellspacing="3" cellpadding="0">
                                <tr>
                                  <td bgcolor="#FFFFFF">{if categories}
                                      <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
                                        <tr>
                                          <td class="row2" cellpadding="0"><div align="center">{categories}</div></td>
                                        </tr>
                                      </table>
                                      {endif categories}<span class="head1">{if thumbnails}{thumbnails}{endif thumbnails} </span></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td> </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td height="10"><div align="center">{footer}</div></td>
  </tr>
</table>

I dont think its there :(

P.S. Thanks for all your help, going to sleep now, try some more in the morning.