Jump to content

It's look alright in FF but not in IE


Ulven

Recommended Posts

I never worked with this, I used notepad -95. I did some changes and it looked alright in FF since that is the browser I use.

Now I got lot of complains since the site look very very F****ed up in IE

This is the site www.barabajare.se/index2.htm

This is how mail.php look like

[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">



<html>

<head>

<title>Untitled</title>



<link rel="STYLESHEET" type="text/css" href="css/main.css">

</head>



<body BGCOLOR="#000000" TOPMARGIN="3" LEFTMARGIN="10">

<TABLE WIDTH="758" CELLPADDING="2" CELLSPACING="0" BORDER="0">

<TR>

  <TD WIDTH="206" VALIGN="top">

<TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0">

  <TR>

    <TD>

    <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4">

      <TR>

        <TD>

          <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD">

<A href="http://www.sneakersnstuff.com/system/content/book.asp?bid=57&pid=326" target=_blanK>

<IMG SRC="gfx/blandat/Bajendojja.jpg" WIDTH="75" HEIGHT="75" ALIGN="right"> </A>

    <IMG SRC="gfx/dot.gif"> <b>Kolla vad som kommer!</b></FONT></TD>

    </TR>

  </TABLE>

  </TD>

  </TR>

</TABLE><BR CLASS="sex">

<TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0">

  <TR>

    <TD>

    <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4">

      <TR>

        <TD>

          <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD">

<IMG SRC="gfx/dot.gif"> <b>Medlemskap 2007!</b><BR><BR CLASS="tre">

Medlemsskap för 2007 kommer det komma info om snart. Dvs va kostnad kan hamna på osv, 2006 e ju snart slut.
Men ni som vill vara med och rösta in nytt styre kan alltid gratis få ett kort som gäller 2006
Läs mer på informationssidan.

    </FONT>  

    </TD>

    </TR>

  </TABLE>

  </TD>

  </TR>

</TABLE><BR CLASS="sex">

<TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0">

  <TR>

    <TD>

    <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4">

      <TR>

        <TD>

          <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD">

<IMG SRC="gfx/dot.gif"> <b>Griniga gubbars hörna!</b><BR><BR CLASS="tre">

Veckan har nu nåt sitt slut och dags återigen tänka på vem som blir veckans utdömda. Stor risk är att det blir samma person igen.
    </FONT>  

    </TD>

    </TR>

  </TABLE>

  </TD>

  </TR>

</TABLE><BR CLASS="sex">
<TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0">

  <TR>

    <TD>

    <TABLE WIDTH="100%" BORDER="0" BGCOLOR="#336F33" CELLSPACING="0" CELLPADDING="4">

      <TR>

        <TD>

          <FONT SIZE="1" FACE="verdana" COLOR="#DDDDDD">

<IMG SRC="gfx/dot.gif"> <b>Medarbetare sökes!</b><BR><BR CLASS="tre">

Skribenter sökes till hemsidan. Vill du vara med och

bidra med artiklar, matchrapporter eller krönikor?<BR>

Maila oss!

    </FONT>  

    </TD>

    </TR>

  </TABLE>

  </TD>

  </TR>

</TABLE><BR CLASS="sex">

<TABLE WIDTH="190" BORDER="0" BGCOLOR="black" CELLSPACING="1" CELLPADDING="0">

  <TR>

    <TD>

    &nbsp;</TD>

  </TR>

</TABLE><BR CLASS="sex">

  </TD>


  <TD WIDTH="341" HEIGHT="350"VALIGN="top">
  <A HREF="http://www.svenskaodds.info/specialkonton/hifultrasspecialkonto.htm" TARGET="_blanK">
  <IMG SRC="gfx/dot.gif" BORDER="0" WIDTH="3" HEIGHT="2"><IMG SRC="gfx/KLUBBSTOD.gif" BORDER="0" WIDTH="350" HEIGHT="60">
  </A><BR>
 
<?PHP
$number = 5;
include("news/show_news.php");
?>

  </TD>





  <TD WIDTH="16">

  </TD>



 

  <TD WIDTH="160" VALIGN="top">

<TABLE WIDTH="150" BORDER="0" CELLSPACING="1" CELLPADDING="0">

  <TR>

    <TD ALIGN="center">

  <IFRAME SRC="senastematch.htm"

WIDTH="150"

HEIGHT="330"

FRAMEBORDER="no"

SCROLLING="no">

  </IFRAME>

  </TD>

  </TR>

</TABLE>

  </TD>

</TR>

</TABLE>

</body>

</html>[/code]


Somewhere I did something wrong but I can't figure it out, so please help me.

Regards
Richard

[b]EDITED BY WILDTEEN88: PLEASE USE THE CODE TAGS ([nobbc][code][/code][/nobbc]) WHEN POSTING ANY CODE IN A POST. THANK YOU[/b]
Link to comment
Share on other sites

This is an HTML question rather than a PHP question, but anyway

Where you have this

[code] <TR>
    <TD BACKGROUND="gfx/huvudspalt.gif">
    <IFRAME SRC="http://www.barabajare.se/main.php"
    WIDTH="795"
  HEIGHT="100%"
  FRAMEBORDER="no"
  NAME="main">
  </IFRAME>
  </TD>
  </TR>[/code]

Try putting this

[code] <TR height="100%">
    <TD BACKGROUND="gfx/huvudspalt.gif">
    <IFRAME SRC="http://www.barabajare.se/main.php"
    WIDTH="795"
  HEIGHT="100%"
  FRAMEBORDER="no"
  NAME="main">
  </IFRAME>
  </TD>
  </TR>[/code]

Note the height="100%" in the <tr> tag
Link to comment
Share on other sites

Thought I would also add its important to check your scripts in both IE and Firefox even though incompatability issues normally go the other way.  I find on my pages the users are split about 65% IE, 30% Firefox, so you dont want to exclude such a large percentage of your users either way.

I use firefox myself, and have installed this handy addon to view pages in an IE tab to check compatibility

https://addons.mozilla.org/firefox/1419/
Link to comment
Share on other sites

[quote author=sanfly link=topic=117321.msg478609#msg478609 date=1165262069]
This is an HTML question rather than a PHP question, but anyway

Where you have this

[code] <TR>
    <TD BACKGROUND="gfx/huvudspalt.gif">
    <IFRAME SRC="http://www.barabajare.se/main.php"
    WIDTH="795"
  HEIGHT="100%"
  FRAMEBORDER="no"
  NAME="main">
  </IFRAME>
  </TD>
  </TR>[/code]

Try putting this

[code] <TR height="100%">
    <TD BACKGROUND="gfx/huvudspalt.gif">
    <IFRAME SRC="http://www.barabajare.se/main.php"
    WIDTH="795"
  HEIGHT="100%"
  FRAMEBORDER="no"
  NAME="main">
  </IFRAME>
  </TD>
  </TR>[/code]

Note the height="100%" in the <tr> tag
[/quote]

Hello and thanks, but it didn't help. I have only changed something in the main.php file and since then IE don't work and if you could understand swedish and look in the guestbook I'm not a person they like just now :)
Link to comment
Share on other sites

[quote author=sanfly link=topic=117321.msg479265#msg479265 date=1165349705]
Are you sure you did it correctly, because it worked great when I tested it  :-\
[/quote]

I Changed it in index2.php But you maybe mean in index2.htm?

But did you mean I could find it in main.php?

Because I have only changed things in main.php as I showed in my first message

Very sorry to disturb you with this but people are not happy at me now  ::)
Link to comment
Share on other sites

you changed index2.php, which looks fine, but index2.htm still has the condensed iframe.

From index.htm, it links to index2.htm (NOT index2.php), which is the page everyone will be seeing.

Make the same change in index2.htm as I showed above, and I think you will be fine.

I copied your source code and tested it, it works great.
Link to comment
Share on other sites

I did see it. I used FF to view Source and I couldn't see my changes. Then I saw it showed index2.htm

So now I changed that to and it works

I'm very very grateful for your help.

Case is closed as they say in CSI.


But never the less, I wanna change the whole layout. Too much unused space. From beginning I thought everything on left side was in a own frame, then center and then right.

But as you see main.php take care of left and center and then redirect to "senastematch.htm"

But from now on I'll always gonna take a backup before I change anything.

But it will be try by error.

Sorry if this is a long reply. But as you se if you click on the links like Arkiv, Souvenirs and Information. Everything opens just in center, you dont have "the left side" only the "right" side there.

If you or anyone else wanna see the php files or so and tip me how to do as I wish it should look. You are more than welcome to mail me.

But again I'm very thakful to you sanfly If you was I girl I'll take you out for dinner  :o
Link to comment
Share on other sites

[quote author=sanfly link=topic=117321.msg479291#msg479291 date=1165352616]
Your welcome  ;D

Why does everyone always assume I'm a guy  :-\
[/quote]

Hmm oki gonna be an expensive dinner since you live a little bit away from me.

But I never said when :)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.