Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Preview in browser creates incorrect HTML
 

fu@bar




quote this post edit post

IP Loged report this post

Old Post  09-30-04 - 04:16 AM  
Hi,
I have a page which has SSI. Within the SSI, I have links to external
Style Sheets.
In Dreamweaver  MX 6.0  - the preview in browser works fine, but is broken i
n
DMW MX 7.0.1.
Look at the code below to see the difference between two versions. With
version 7,
Firefox/IE6/Opera - no one can apply the CSS, whereas with version 6, all th
e
above
browsers have no problem interpreting CSS data.

The index.shtml looks like this :


----------------------------------------------------------------------------
----
-
<head>
<title>My - Home</title>
<!--#include virtual="incl/common.incl" -->
</head>

<body>
<!--#include virtual="incl/header.incl" -->

.....
</body>

----------------------------------------------------------------------------
----
------



While previewing in Browser the code generated by v6.0 is thus :

----------------------------------------------------------------------------
----
-------
<head>
<title>My - Home</title>
<MM:BeginLock translatorClass="MM_SSI" type="ssi_comment" orig="%3C!--#inclu
de
virtual=%22incl/common.incl%22 --%3E" fileRef="incl/common.incl"
depFiles="file:///D|/Web/user/incl/common.incl"><meta name="description"
content="My Home">


<link rel="stylesheet" title="Top Menubar"
href="css/menu_top.css" media="screen, print, projection, tv">

<!-- The following variant is for windows that aren't tall enough for
the fixed menu. Use the scrolling menu instead. -->

<link rel="alternate stylesheet" title="Left Fixed Menubar"
href="css/fixed.css" media="screen, print, projection, tv">

<link rel="alternate stylesheet" title="Left Floating Menubar"
href="css/float.css" media="screen">


<body>
<MM:BeginLock translatorClass="MM_SSI" type="ssi_comment" orig="%3C!--#inclu
de
virtual=%22incl/header.incl%22 --%3E" fileRef="incl/header.incl"
depFiles="file:///D|/Web/user/incl/header.incl">
<div class="banner_left"> <a href="http://www.somewhere.com"> <img
src="images/web/me.gif" width="120" height="130" border="0" alt="Logo">
</a> </div>
<div class="banner_right">
<object
type="application/x-shockwave-flash"
data="flash/header.swf"
width="600" height="120"
id="header_animation"
title=" Header">
<param name="movie" value="flash/header.swf">
</object>

</div>
--------------------------------------------ETC
---------------------------------------------------------

However version 7.0.1 totally messes it up


----------------------------------------------------------------------------
----
-------------------------

<head>
<title>My - Home</title>

<!--

/* CSS Document */

/* Use for Hidden text */
.hide {
display: none;}

/*----------------------------------------------------------------
Set body text and background color */

body {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 80%;
text-align: justify;
background-color: #fff9cc;
color: purple;
/* background: #FCF8D6 url("../web/images/bgPat.gif");
background-repeat: repeat; */}

/*----------------------------------------------------------------


SOME MORE CSS CODE FOLLOWS .....

-->

</head>

<body>
<MM:BeginLock translatorClass="MM_SSI" type="ssi_comment" orig="%3C!--#inclu
de
virtual=%22incl/header.incl%22 --%3E" fileRef="incl/header.incl"
depFiles="file:///D|/Web/user/incl/header.incl"><div class="banner_left">

<a href="http://www.somewhere.com">
<img src="images/web/me.gif" width="120" height="130" border="0" alt="Logo">
</a>
</div>

<div class="banner_right">
<object
type="application/x-shockwave-flash"
data="flash/header.swf"
width="600" height="120"
id="header_animation"
title="Header">
<param name="movie" value="flash/header.swf">
</object>
</div>



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 06:07 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top