Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
dreamweaver error (top code)
Old 05-09-2008, 01:06 AM dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
as you guys can tell by now im a complete noob at this stuff just kinda self teaching myself as i go, i just got dreamweaver, love it by the way but it wont let me preview in the browser becuase of the test i have at the top

<!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" />

not shur what it means or what it does but i dont know how to fix it or what it suppose to do, also if someone would explain what it does and what it means that would be great so i can better understand it
jackineyerack is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-09-2008, 05:57 AM Re: dreamweaver error (top code)
Novice Talker

Posts: 8
Name: Richard
Trades: 0
<!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" xml:lang="en" lang="en">

I don't have dreamweaver on this computer, but a page I recently did had ^^^ at the top. I am pretty sure
(someone correct if I am wrong)it just allows your code to be verified. I think that's the only purpose of it.
richardblake is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 11:53 AM Re: dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
hmmm it still not working i dont under stand i can open the same file in microsoft visual web developer and i can preview it but adobe wont let me....
jackineyerack is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 12:09 PM Re: dreamweaver error (top code)
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
<!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">
THAT is your DOCTYPE and you NEED to have it on EVERY page. It basically tell the browser how to render your code. It should have ZERO effect on Dreamweaver's preview function.

I suggest you start educating yourself on just what it is and what it does: http://www.alistapart.com/stories/doctype/

When you say it won't let you preview in the browser, does it give you an error message ? What version of DW are you using ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 02:21 PM Re: dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
yes it gives me a error message im using dreamweaver cs3
when i click view in browser its just a page cannont be displayed
when i click on check browser capability i get this message "error parsing styles"
"parsing styles"
jackineyerack is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 04:54 PM Re: dreamweaver error (top code)
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
Can you post the whole page code or PM a link?
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 05:47 PM Re: dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
here it is.... I think
jackineyerack is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 05:49 PM Re: dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
HERE IT IS JUST STARTED IT




<!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" />
</style>
<title>Sarah Jackson's Photography</title>
<style type="text/css">
<!--
a:link {
color: #FFFFFF;
}
a:visited {
color: #FBFAFB;
}
a:hover {
color: #009900;
}
h1 {
font-size: 36px;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css" media="all">
<!--
body {
background-image: url(bgsarah.jpg);
background-position: center;
background-color: #000000;
background-repeat: no-repeat;
}
-->
</style>
<style type="text/css">
<!--
.style7 {font-family: "Arno Pro SmText"}
.style8 {
font-size: 36px
}
-->
</style>

</body>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Sarah Jackson</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Portraits</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Polaroids</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Landscapes</a></li>
<li><a href="#">Contact</a></li>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</html>
jackineyerack is offline
Reply With Quote
View Public Profile
 
Old 05-10-2008, 06:11 AM Re: dreamweaver error (top code)
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
Previews fine on my DW CS3... I get an active X warning come up but thats pretty normal when viewing offline...

Although you seem to have a error stating "spry" undefined... (yellow exclaimation mark in corner of the browser)

Make sure all the .JS file URL's are correct in your code
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."

Last edited by rolda hayes; 05-10-2008 at 06:16 AM..
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 05-10-2008, 11:10 AM Re: dreamweaver error (top code)
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Previewed fine in my DW CS3 also.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 05-10-2008, 07:15 PM Re: dreamweaver error (top code)
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Quote:
Originally Posted by jackineyerack View Post
HERE IT IS JUST STARTED IT




<!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" />
</style>
<title>Sarah Jackson's Photography</title>
<style type="text/css">
<!--
a:link {
color: #FFFFFF;
}
a:visited {
color: #FBFAFB;
}
a:hover {
color: #009900;
}
h1 {
font-size: 36px;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css" media="all">
<!--
body {
background-image: url(bgsarah.jpg);
background-position: center;
background-color: #000000;
background-repeat: no-repeat;
}
-->
</style>
<style type="text/css">
<!--
.style7 {font-family: "Arno Pro SmText"}
.style8 {
font-size: 36px
}
-->
</style>

</body>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="#">Sarah Jackson</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Portraits</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Polaroids</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Landscapes</a></li>
<li><a href="#">Contact</a></li>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</html>

Ouch Ouch Ouch, it pains me to look at this code, it really does.

the basic code layout is:

Code:
DOCTYPE
<html>
<head>
</head>
<body>
</body>
</html>
Yours is
Code:
DOCTYPE
<html>
<head>
</body>
</html>
Change your code to this (copy and paste) and things should improve.
The red parts are the parts I changed

Code:
 <!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" />
</style>
<title>Sarah Jackson's Photography</title>
<style type="text/css">
<!--
a:link {
 color: #FFFFFF;
}
a:visited {
 color: #FBFAFB;
}
a:hover {
 color: #009900;
}
h1 {
 font-size: 36px;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css" media="all">
<!--
body {
 background-image: url(bgsarah.jpg);
 background-position: center;
 background-color: #000000;
 background-repeat: no-repeat;
}
-->
</style>
<style type="text/css">
<!--
.style7 {font-family: "Arno Pro SmText"}
.style8 {
 font-size: 36px
}
-->
</style>
</head>
<body>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<ul id="MenuBar1" class="MenuBarHorizontal">
  <li><a class="MenuBarItemSubmenu" href="#">Sarah Jackson</a>
      <ul>
        <li><a href="#">Item 1.1</a></li>
        <li><a href="#">Item 1.2</a></li>
        <li><a href="#">Item 1.3</a></li>
      </ul>
  </li>
  <li><a href="#">Portraits</a></li>
  <li><a class="MenuBarItemSubmenu" href="#">Polaroids</a>
      <ul>
        <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
            <ul>
              <li><a href="#">Item 3.1.1</a></li>
              <li><a href="#">Item 3.1.2</a></li>
            </ul>
        </li>
        <li><a href="#">Item 3.2</a></li>
        <li><a href="#">Item 3.3</a></li>
      </ul>
  </li>
  <li><a href="#">Landscapes</a></li>
  <li><a href="#">Contact</a></li>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 05-12-2008, 12:47 PM Re: dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
awsome thanks ill give it a try
jackineyerack is offline
Reply With Quote
View Public Profile
 
Old 05-12-2008, 12:47 PM Re: dreamweaver error (top code)
Average Talker

Posts: 19
Name: chris jackson
Trades: 0
ill be going to college for this soon lol so i wont have to be bugging you guys all the time with this non-sense stuff...im learning tho
jackineyerack is offline
Reply With Quote
View Public Profile
 
Old 05-17-2008, 09:56 AM Re: dreamweaver error (top code)
wchua24's Avatar
Ultra Talker

Posts: 357
Location: florida
Trades: 0
ei guys just wanna asked....idoes new version always better than the old ones? i got old version of dreamweaver.. am i out of date?
wchua24 is offline
Reply With Quote
View Public Profile
 
Old 05-17-2008, 11:14 AM Re: dreamweaver error (top code)
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You're way out of date. DWCS3 is greatly improved, especially it's internal browser, which is now standards compliant instead of based on IE5.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to dreamweaver error (top code)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.11457 seconds with 12 queries