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?
Difficulties when using Notepad to edit code created with WYSIWYG
Started by coldnorth, Aug 15 2010 05:14 AM
3 replies to this topic
#1
Posted 15 August 2010 - 05:14 AM
|
|
|
#2
Posted 15 August 2010 - 09:22 AM
Well, Frontpage was an abomination from the beginning. It created IE6 compliant code, not standards compliant code. Do you have a more specific example?
#3
Posted 15 August 2010 - 09:27 AM
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>
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
Posted 15 August 2010 - 04:23 PM
Those links will require the specified files to be in the same folder as the current file. What's in the style.css?


Sign In
Create Account

Back to top









