Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Firefox punchlist?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cripto9t
Average Member

USA
881 Posts

Posted - 12 February 2006 :  11:18:57  Show Profile
I've been useing Firefox to write some code with a lot of css. When I got the page looking like I wanted, I looked at it with IE.
As I expected the page looked all screwed up, but not because of the css. It seems Firefox was fixing my bad html.

here's my code as you can see I have to many quotes
for c = 0 to CellCnt
                        Response.Write  "            <td"
                        if c <> 1 then Response.Write  " class=""npcenter"""
                        Response.Write  """><font size=""" & strDefaultFontSize & """>" & CellArry(i,c) & "</font></td>" & vbNewLine
                next

here's the output in IE. Had my table all screwed-up :)
<tr>
            <td class="npcenter""><font size="2"><a href="pools.asp?poolid=1"><img src="icon_folder_hot.gif" width="15" height="17" border="0" alt="Pool is Full _ View Numbers" title="Pool is Full _ View Numbers" hspace="0" /></a></font></td>
            <td"><font size="2">  <a href="pools.asp?poolid=1">Anaheim Angels @ Cleveland Indians</a></font></td>
            <td class="npcenter""><font size="2"><span class="spnMessageText"><a href="pop_profile.asp?mode=display&id=1" title="View orazzib's Profile" onMouseOver="(window.status='View orazzib\'s Profile'); return true" onMouseOut="(window.status=''); return true">orazzib</a></span></font></td>
            <td class="npcenter""><font size="2">This Pool is Filled <font size="1">(25 Squares)</font></font></td>
            <td class="npcenter""><font size="2"><font size="1">08 February 2006<br /> 12:41:19</font></font></td>
            <td class="npcenter""><font size="2"><font size="1">01 March 2006<br /> 07:00:00</font></font></td>
          </tr>

And in Firefox. Extra quote gone.
<tr>
            <td class="npcenter"><font size="2"><a href="pools.asp?poolid=1"><img src="icon_folder_hot.gif" width="15" height="17" border="0" alt="Pool is Full _ View Numbers" title="Pool is Full _ View Numbers" hspace="0" /></a></font></td>
            <td><font size="2">  <a href="pools.asp?poolid=1">Anaheim Angels @ Cleveland Indians</a></font></td>
            <td class="npcenter"><font size="2"><span class="spnMessageText"><a href="pop_profile.asp?mode=display&id=1" title="View orazzib's Profile" onMouseOver="(window.status='View orazzib\'s Profile'); return true" onMouseOut="(window.status=''); return true">orazzib</a></span></font></td>

            <td class="npcenter"><font size="2">This Pool is Filled <font size="1">(25 Squares)</font></font></td>
            <td class="npcenter"><font size="2"><font size="1">08 February 2006<br /> 12:41:19</font></font></td>
            <td class="npcenter"><font size="2"><font size="1">01 March 2006<br /> 07:00:00</font></font></td>
          </tr>


And another one with some missing code
for iCol = 0 to cellCnt
                                Response.Write  "                  <td class="
                                if thisSquare(iRow,iCol) then
                                        if isForm then 
                                                Response.Write  """opencell"""
                                        else
                                                Response.Write  """closecell"""
                                        end if
                                else
                                        Response.Write  """closecell"""
                                end if
                                Response.Write  "Missing a > here<font size=""" & strDefaultFontSize & """>"
                                if thisSquare(iRow,iCol) = true then
                                        Response.Write  thisMember(iRow,iCol)
                                else
                                        Response.Write  "Pick<input type=""checkbox"" name=""entryid"" value=""'" & iRow & iCol & "'"" /><br /><br /><a href=""post_entry.asp""><font size=""" & strFooterFontSize & """>sponsor<br />this square</font></a>"
                                end if
                                Response.Write  "</font></td>" & vbNewLine 
                        next

I get this in IE - incomplete tag , like it should be
<tr>
                  <td class="tdsquare vteam"><font size="2">8 / 1</font></td>
                  <td class="closecell"<font size="2">zypher</font></td>
                  <td class="closecell"<font size="2">cripto9t</font></td>
                  <td class="closecell"<font size="2">orazzib</font></td>
                  <td class="closecell"<font size="2">zypher</font></td>
                  <td class="closecell"<font size="2">cripto9t</font></td>
                </tr>

And in Firefox again the code has been repaired
<tr>
                  <td class="tdsquare vteam"><font size="2">8 / 1</font></td>
                  <td class="closecell"><font size="2">zypher</font></td>
                  <td class="closecell"><font size="2">cripto9t</font></td>
                  <td class="closecell"><font size="2">orazzib</font></td>
                  <td class="closecell"><font size="2">zypher</font></td>

                  <td class="closecell"><font size="2">cripto9t</font></td>
                </tr>


Does anyone know anything about this? I don't really like this. I spent a lot of time checking out the output in Firefox, while I was
building this page, to make sure the html was correct. Now it seems I have to go through it again to see what Firefox didn't show me :(

Maybe theres away to turn it off?

    _-/Cripto9t\-_

AnonJr
Moderator

United States
5768 Posts

Posted - 12 February 2006 :  11:25:23  Show Profile  Visit AnonJr's Homepage
This is the first I've heard of it....

Is FF fixing the final output or the ASP you're writing?
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 12 February 2006 :  12:21:27  Show Profile
I'm not sure what is happening.
Seems NS 7 also makes fixes to some extent.

I added a quote to a <td> on an asp file. The output should have been <td">.
IE <td">
NS <td> fixed
FF <td> fixed

But when I Remove a > I get this
IE <td
NS <td
ff <td> fixed

I'll try it on a html file and see what happens after do some searching to see if there's any info floating around.

    _-/Cripto9t\-_
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 12 February 2006 :  13:30:13  Show Profile
html file

code
<ul
            <li Config.asp
                <ul>

source view
<ul
            ><li Config.asp
                ><ul>

as you can see it tried to repair the tags, but it put the repairs on the wrong lines. Resulting in broken code.

I did some searching and came up empty. I did find a lot of great looking extentions I'm going to have a closer look at and some basic features I didn't know about :)

    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07