SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2001
    Location
    Iasi, Romania
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    front page 98 code comments strange behaviour

    Hi!
    I started to create a web page in FrontPage and added some comments in code.
    When I save the page, all the spaces in the code are gone (messing code this way) and more than this a comment is moved to another place. Is there any way to fix is?
    Thanks

    P.S. I'll give you the code as far. When I click save in MS frontPage 98 it moves a comment near number 6 (as in the second code I provided) and add a <p>

    original code:
    ---------------------------------
    <html>

    <head>
    <title>title</title>
    <meta name="GENERATOR" content="Microsoft FrontPage 3.0">
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
    <meta content="content describing" name="description">
    </head>

    <body bgcolor="F2F2F2">
    <div align="center"><!-- start big table -->


    <table border="0" cellpadding="0" cellspacing="0" width="750">
    <tbody>
    <!-- start first row from big table -->
    <tr>
    <td valign="top" align="right" width="130">
    <!-- start little left table with navigation menu -->
    <div align="right"><table border="0" cellpadding="0" cellspacing="0" width="130">
    <tr>
    <td>1 navigation links</td>
    <td>2</td>
    <td>3</td>
    </tr>
    <tr>
    <td>4</td>
    <td>5</td>
    <td>6</td>
    </tr>
    </table>
    </div>
    <!-- stop left table with menu -->
    </td>
    <!-- stop first column from big table -->
    <!-- ################################-->
    <!-- start second column from big table -->
    <td valign="top" align="left" width="620"></td>
    <!-- stop second column from big table -->
    </tr>
    <!--stop first line from big table-->
    </table>
    </div><!-- stop big table -->

    </body>
    </html>

    code after saving:
    -------------------------------------

    <html>

    <head>
    <title>title</title>
    <meta name="GENERATOR" content="Microsoft FrontPage 3.0">
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
    <meta content="content describing" name="description">
    </head>

    <body bgcolor="F2F2F2">
    <div align="center"><!-- start big table -->


    <table border="0" cellpadding="0" cellspacing="0" width="750">
    <tbody>
    <!-- start first row from big table -->
    <tr>
    <td valign="top" align="right" width="130"><!-- start little left table with navigation menu --> <div align="right"><table border="0"
    cellpadding="0" cellspacing="0" width="130">
    <tr>
    <td>1 navigation links</td>
    <td>2</td>
    <td>3</td>
    </tr>
    <tr>
    <td>4</td>
    <td>5</td>
    <td>6<!-- stop left table with menu --></td>
    </tr>
    </table>
    </div><p> </td>
    <!-- stop first column from big table -->
    <!-- ################################-->
    <!-- start second column from big table -->
    <td valign="top" align="left" width="620"></td>
    <!-- stop second column from big table -->
    </tr>
    <!--stop first line from big table-->
    </table>
    </div><!-- stop big table -->

    </body>
    </html>

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FP 98 is intrinsically strange
    Don't use it

  3. #3
    SitePoint Zealot pony's Avatar
    Join Date
    Jul 2000
    Location
    Scotland
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry, I can only agree with jofa. In my first job using html I did battle dailly with Frontpage 98 for about six months on issues like yours - so much wasted time.
    the bottoms of my shoes are clean from walking in the rain

  4. #4
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Open notepad, fix the error, take out "<meta name="GENERATOR" content="Microsoft FrontPage 3.0">", and uninstall Front Page!!!

    If you can handcode, htmlkit is a great, free editor, if not, look at purchasing DreamWeaver.
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •