Jump to content

Difficulties when using Notepad to edit code created with WYSIWYG

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
coldnorth

coldnorth

    Newbie

  • Members
  • Pip
  • 2 posts
Has anyone else had any problems when using notepad to edit code created with an WYSIWYG editor such as Frontpage or Dreamweaver? In particular, making links, that are correctly coded, work? Something even odder, is that this problem only occurs on the index.html page. If I rename that page the links work just fine. I have asked this same question in other forums and no one seems to have a clue. Has anyone else encountered this or have any thoughts?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Well, Frontpage was an abomination from the beginning. It created IE6 compliant code, not standards compliant code. Do you have a more specific example?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
coldnorth

coldnorth

    Newbie

  • Members
  • Pip
  • 2 posts
This is the section of code in question with the links highlighted in red. The oddest part of the whole thing is that if I rename this page anything besides index.html it all works just fine.

Sure, and thanks for responding. Now, before anyone asked I have double checked all of the usual reasons for failure, improper coding, wrong file names, etc.

Here is the head and the section of code with the links. The section with the links in question bolded.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<!-- header -->
<div id="header">
<div id="logo"><a href="#"><span class="orange">Prairie Web</span> Solutions</a></div>
<div id="menu">
<ul>
<li><a href="index.html" class="active">home</a></li>
<li><a href="about.html">about us</a></li>
<li><a href="service.html">services</a></li>
<li><a href="price.html">pricing</a></li>
<li><a href="contact.html">contacts</a></li>
</ul>
</div>
</div>

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Those links will require the specified files to be in the same folder as the current file. What's in the style.css?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog