CSS is not showing in design view
Hello, I wonder if anyone can help. I would appreciate very
much if you can... I have read all the css related problems, but
did not see the problem I am having.
Anyway, I have done a website template for someone and I gave
it to him to update the contents. However, on his dreamweaver
Design view, the css does not support it at all so it looks all
messy. Though when he preview it on IE, this is all fine. I have
made templates and css files with dreamweaver and I can view
everything fine. He seems to have the same version of DW (MX 2004)
so I am not sure how this happens. We were looking in everything
(including goofy css as someone says on this forum), but have no
luck so far. Here is my link and I pasted my css here.
http://www.norithefish.com/index2.html
Many thanks for this.
Noriko
/* HTML tag styles */
body
{background: #cccccc; font-family: Verdana, Arial, Helvetica,
sans-serif;
font-size: small; color: #000000; font-weight: normal}
a { color: #333333; text-decoration: none }
a:active { color: #666666; text-decoration: none }
a:hover { color: #CC3300; text-decoration: underline }
.bodytext { font-size: small; color: #000000; font-weight:
normal}
.smalltext { font-size: x-small; color: #000000; font-weight:
normal}
.smalltextw { font-size: x-small; color: #ffffff;
font-weight: normal}
.title{ font-size: 1.5em; font-weight: bold; color: #CC3300}
.wbracket{ font-size: small; font-weight: normal; color:
#ffffff}
.smalltitle { font-size: 1em; font-weight: normal; color:
#666666}
.sub { font-size: small; font-weight: bold; color: #ffffff }
.foot { font-size: x-small; font-weight: normal; color:
#000000}
h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.5em;
color: #cc3300
h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1.15em;
color: #cc3300
h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1em;
color: #666666
ul{
list-style-type: square;
ul ul{
list-style-type: disc;
ul ul ul{
list-style-type: none;
/* Layout Divs */
#pageNav{
float: left;
width:21.3%;
top:10px;
padding-left: 0px;
border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc;
#content{
width:75%;
float: left;
padding: 0px 0px 0px 0px;
margin: 0px 0px 1px 20px;
/* Component Divs */
#siteName{
margin: 0px;
padding: 16px 0px 8px 0px;
color: #ffffff;
font-weight: normal;
/************** feature styles *****************/
.feature{
padding: 0px 0px 0px 0px;
font-size: 100%;
/************* #siteInfo styles ***************/
#siteInfo{
clear: both;
font-size: 100%;
background-color: #999999;
padding: 0px 0px 0px 0px;
border-top: 1px solid #666666;
/************* #smalltitle styles ***************/
#smalltitle{
clear: both;
background-color: #ffffff;
font-size: 100%;
padding: 0px 0px 0px 0px;
border-top: 1px solid #CC3300;
border-bottom: 1px solid #CC3300;
/*********** #sectionLinks styles ***********/
#sectionLinks{
position: relative;
width: 150px;
margin: 0px;
padding: 0px;
border-bottom: 1px solid #cccccc;
font-size: 90%;
#sectionLinks a:link{
font-size: 1.15em;
padding: 2px 0px 5px 10px;
border-top: 1px solid #cccccc;
width: 100%;
width: auto;
#sectionLinks a:visited{
font-size: 1.15em;
border-top: 1px solid #cccccc;
padding: 2px 0px 5px 10px;
#sectionLinks a:hover{
font-size: 1.15em;
border-top: 1px solid #cc3300;
background-color: #dddddd;
padding: 2px 0px 5px 10px;
/*********** .frame styles ***********/
.frame {
width: 700px;
left: 50%;
padding-top: 0px;
margin-left: -350px;
margin-top: 0px;
position: absolute;
visibility: visible;
border-top: 1px solid #999999;
border-bottom: 1px solid #999999;
border-right: 1px solid #999999;
border-left: 1px solid #999999;
background-color: #ffffff;
.bg {
height: 1px;
background-color: #cccccc;
width: 100%;
/*********** #pageNav link styles ***********/
#pageNav ul a:link, #pageNav ul a:visited {display: block;}
#pageNav ul {list-style: none; margin: 0; padding: 0;}
/* hack to fix IE/Win's broken rendering of block-level
anchors in lists */
#pageNav li {border-bottom: 1px solid #EEE;}
/* fix for browsers that don't need the hack */
html>body #pageNav li {border-bottom: none;}
/********************* end **********************/
> *** you are missing <li> at the beginning of the
line and </li> at the end
> or you want to remove the </li> from the previous
lines.
Or move the image within the existing pair. You cannot have
that
construction, though -
<li>blah</li>
<img>
<li>blah</li>
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"josie1one" <[email protected]> wrote in message
news:[email protected]...
> It sounds to me as if it's a path issue.
> Your path is this:
> <link rel="stylesheet" href="styles/inside.css"
type="text/css">
>
> Does he have a folder called "styles" within which
should be the
> stylesheet?
>
> You have a couple of code problems (I'd say unrelated to
your question).
> <li><a href="1-about.html">Order your Tshirt
</a></li>
> <img src="ferrari_team_polo.jpg" alt="photo of a
T-shirt" width="120"
> height="180">***
> <li><a href="1-about.html">Order your
cap</a></li>
> <img src="ferrari_cap.jpg" alt="photo of a cap"
width="120"
> height="75"><br>***
>
> *** you are missing <li> at the beginning of the
line and </li> at the end
> or you want to remove the </li> from the previous
lines.
>
> and according to
>
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.norithefish.com%2Findex2.html
>
> you have an extra </div> a couple of lines above
the </body>
>
>
> --
> Jo
>
>
>
>
>
> "norithefish" <[email protected]> wrote
in message
> news:[email protected]...
>> Hello, I wonder if anyone can help. I would
appreciate very much if you
>> can...
>> I have read all the css related problems, but did
not see the problem I
>> am
>> having.
>>
>> Anyway, I have done a website template for someone
and I gave it to him
>> to
>> update the contents. However, on his dreamweaver
Design view, the css
>> does not
>> support it at all so it looks all messy. Though when
he preview it on IE,
>> this
>> is all fine. I have made templates and css files
with dreamweaver and I
>> can
>> view everything fine. He seems to have the same
version of DW (MX 2004)
>> so I am
>> not sure how this happens. We were looking in
everything (including goofy
>> css
>> as someone says on this forum), but have no luck so
far. Here is my link
>> and I
>> pasted my css here.
>>
>>
http://www.norithefish.com/index2.html
>>
>> Many thanks for this.
>> Noriko
>>
>> /***********************************************/
>> /* HTML tag styles */
>> /***********************************************/
>>
>> body
>> {background: #cccccc; font-family: Verdana, Arial,
Helvetica, sans-serif;
>> font-size: small; color: #000000; font-weight:
normal}
>>
>> a { color: #333333; text-decoration: none }
>>
>> a:active { color: #666666; text-decoration: none }
>>
>> a:hover { color: #CC3300; text-decoration: underline
>>
>> .bodytext { font-size: small; color: #000000;
font-weight: normal}
>>
>> .smalltext { font-size: x-small; color: #000000;
font-weight: normal}
>>
>> .smalltextw { font-size: x-small; color: #ffffff;
font-weight: normal}
>>
>> .title{ font-size: 1.5em; font-weight: bold; color:
#CC3300}
>>
>> .wbracket{ font-size: small; font-weight: normal;
color: #ffffff}
>>
>> .smalltitle { font-size: 1em; font-weight: normal;
color: #666666}
>>
>> .sub { font-size: small; font-weight: bold; color:
#ffffff }
>>
>> .foot { font-size: x-small; font-weight: normal;
color: #000000}
>>
>>
>> h1 {
>> font-family: Verdana, Arial, Helvetica, sans-serif;
>> font-size: 1.5em;
>> color: #cc3300
>> }
>> h2 {
>> font-family: Verdana, Arial, Helvetica, sans-serif;
>> font-size: 1.15em;
>> color: #cc3300
>> }
>> h3 {
>> font-family: Verdana, Arial, Helvetica, sans-serif;
>> font-size: 1em;
>> color: #666666
>> }
>>
>> ul{
>> list-style-type: square;
>> }
>>
>> ul ul{
>> list-style-type: disc;
>> }
>>
>> ul ul ul{
>> list-style-type: none;
>> }
>>
>>
>> /***********************************************/
>> /* Layout Divs */
>> /***********************************************/
>>
>> #pageNav{
>>
>> float: left;
>> width:21.3%;
>>
>> top:10px;
>> padding-left: 0px;
>> border-bottom: 1px solid #cccccc;
>> border-right: 1px solid #cccccc;
>> }
>>
>> #content{
>> width:75%;
>> float: left;
>> padding: 0px 0px 0px 0px;
>>
>> margin: 0px 0px 1px 20px;
>>
>> }
>>
>>
>> /***********************************************/
>> /* Component Divs */
>> /***********************************************/
>> #siteName{
>> margin: 0px;
>> padding: 16px 0px 8px 0px;
>> color: #ffffff;
>> font-weight: normal;
>> }
>>
>>
>> /************** feature styles *****************/
>>
>> .feature{
>> padding: 0px 0px 0px 0px;
>> font-size: 100%;
>>
>>
>> }
>>
>>
>>
>> /************* #siteInfo styles ***************/
>>
>> #siteInfo{
>> clear: both;
>>
>> font-size: 100%;
>> background-color: #999999;
>> padding: 0px 0px 0px 0px;
>> border-top: 1px solid #666666;
>> }
>>
>> /************* #smalltitle styles ***************/
>>
>> #smalltitle{
>> clear: both;
>>
>> background-color: #ffffff;
>> font-size: 100%;
>> padding: 0px 0px 0px 0px;
>> border-top: 1px solid #CC3300;
>> border-bottom: 1px solid #CC3300;
>>
>> }
>>
>>
>>
>> /*********** #sectionLinks styles ***********/
>>
>> #sectionLinks{
>> position: relative;
>> width: 150px;
>> margin: 0px;
>> padding: 0px;
>> border-bottom: 1px solid #cccccc;
>> font-size: 90%;
>>
>> }
>>
>>
>>
>> #sectionLinks a:link{
>> font-size: 1.15em;
>> padding: 2px 0px 5px 10px;
>> border-top: 1px solid #cccccc;
>> width: 100%;
>>
>> width: auto;
>> }
>>
>> #sectionLinks a:visited{
>> font-size: 1.15em;
>> border-top: 1px solid #cccccc;
>> padding: 2px 0px 5px 10px;
>> }
>>
>> #sectionLinks a:hover{
>> font-size: 1.15em;
>> border-top: 1px solid #cc3300;
>> background-color: #dddddd;
>> padding: 2px 0px 5px 10px;
>> }
>>
>>
>>
>>
>> /*********** .frame styles ***********/
>> .frame {
>> width: 700px;
>> left: 50%;
>> padding-top: 0px;
>>
>> margin-left: -350px;
>> margin-top: 0px;
>> position: absolute;
>> visibility: visible;
>>
>> border-top: 1px solid #999999;
>> border-bottom: 1px solid #999999;
>> border-right: 1px solid #999999;
>> border-left: 1px solid #999999;
>> background-color: #ffffff;
>> }
>> .bg {
>> height: 1px;
>>
>> background-color: #cccccc;
>> width: 100%;
>> }
>>
>> /*********** #pageNav link styles ***********/
>>
>> #pageNav ul a:link, #pageNav ul a:visited {display:
block;}
>> #pageNav ul {list-style: none; margin: 0; padding:
0;}
>>
>> /* hack to fix IE/Win's broken rendering of
block-level anchors in lists
>> */
>> #pageNav li {border-bottom: 1px solid #EEE;}
>>
>> /* fix for browsers that don't need the hack */
>> html>body #pageNav li {border-bottom: none;}
>>
>> /********************* end **********************/
>>
>>
>>
>>
>
>
Similar Messages
-
CSS Changes not showing in Design View
I'm just coming over from GoLive (and their layout grid) so
I'm not entirely familiar with DreamWeaver CS3 and CSS.
However, whenever I make changes in a CSS sheet (and save
them) they are not immediately rendered in the Design View. They
show up just fine if I "Preview in Browser" though. I can even
close the html page and reopen it and sometimes they will show up,
but not usually. Oh, and the "Refresh Design View" button is greyed
out and doesn't do anything.
Thanks,
DanYes, that seems to be the case. I ran a validation check on
the html page (it was coded in XHTML 1.0 strict) and came up with 2
errors related to the CSS features I was trying to use.
Thanks! -
Problem with Css styles not showing in live view or when i browse
I am using Mac osx 10.6 and building website with Dreamweaver CS5. Sometimes div tags i create not showing styles or rendering in live view or when I browse but showing in design view. I looked in dreamwever faq and they talk about not showing in design view to toggle the display styles. That is not the problem becuase it is check marked and I tried turning off and turning on and made no difference.I am using firefox browser.
It happened before the other day too. But all of my other pages in this site that i have created the same way building with div tags and css styles. So not sure what the problem is. Maybe someone has a suggestion here.
Johanna<!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>Portfolio</title>
<style type="text/css"></style>
<link href="css/jbstyles.css" rel="stylesheet" type="text/css" />
<style type="text/css"></style>
</head>
<body>
<div id="wrapper">
<div id="mainnav">
<div id="navbar">
<ul>
<li><a href="index.html"><br />
</a></li>
<li>
<ul>
<li><a href="index.html"> Home</a><a href="about.html">About</a></li>
<li><a href="portfolio.html">Portfolio</a><a href="contact.html">Contact</a></li>
</ul>
</li>
</ul>
</div>
<div id="contentinside">
<div id="navbar2">
<ul>
<li><a href="design.html">Design</a></li>
<li><a href="multimedia.html">Multimedia</a></li>
<li><a href="webdesign.html">Web Design</a></li>
</ul>
</div>
<div id="mm1thumb">Content for id "mm1thumb" Goes Here</div>
<div id="mm2thumb">Content for id "mm2thumb" Goes Here</div>
</div>
<img src="images/multimsidebar.gif" width="212" height="615" alt="mmsdbr" longdesc="http://multimsidebar" />
<div id="footer">
<p> </p>
<p>Johanna Bresnahan</p>
<p>Web & Graphic Design - http://www.johannabresnahan.com</p>
<p> email: [email protected] ....phone....857•991•5717<br />
</p>
</div>
</div>
<!--end wrapper--></div>
</body>
</html>
Here is the html code above. not sure how to attach my file so get a visual. This is the first time I have used this forum.
Johanna -
PhpBB2 source code does not show in design view /CS3
I would like to customize a php bulletin board.
The default bulletin board page does not show in design view.
Is there a way to do it , such that php code can be written
by DreamWeaver via the design view ?> The files I am trying to edit, or that is think I should
be trying to edit ,
> are
> index.php , and in the includes file template.php
If I am sorting this out correctly, which i am _not_ sure of
at the moment:
those aren't .tpl files.
they are .php files, and are part of the forum. They aren't
displaying in
design view because they are all php.
You need to find and edit the template files.
In previous link given:
http://www.phpbb.com/community/viewtopic.php?t=10764
<q>
So where do I find these great 'templates'?
Look in /templates/subSilver (thoroughout the FAQ I will be
using subSilver,
the default template. If you are using a different template
then change the
folder you look in accordingly). You will see a collection of
files there.
The templates are the ones with the file extension '.tpl' The
majority of
files in that folder are .tpl files. </q>
strongly suggest you make a backup copy of anything you try
to touch.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
VB code not showing in Design View
I am working with a form that has VB code for validation and need to style it with CSS. The problem is the form is not visible in Design View. The code is there, the page renders and works fine in a browser but has anyone seen this issue before? I have a similar form that uses C# and it shows up fine in Design view.
the page is here: http://www.housing.ucsb.edu/digiknow/digiknow_form.aspxDisplay problems are most often caused by malformed code or an imbalance in opening and closing <div> tags. Try validating your code and fix reported errors.
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Lists not showing in Design view
If I preview page in browser, I can see the bulleted list,
but it is not visibile in design view, pretty annoying. Anyone know
why this might be happening? I validated my code and got no
errors...Open any html page
either type the element in code view, say h1. Hello
it doesn't show up in Design View (It's visible in Live view however)
Or,
In Design View type Hello (yes, it's visible!)
Highlight Hello, then right click (I use a 2 button mouse) select from the pop-up menu and format the hello as h1. Hello
It disappears from the design view... (yes, it's visible in Live View)
Menu spry's and other "widgets" inserted do not display correctly in Design View, but display Okay in Live view
(This behaviour did not happen in CS4)
Mo Eb , Garry
*** http://uofgts.com
** [email protected]
o "Beer is living proof that God loves us and wants us to be happy."
-Benjamin Franklin, American statesman and diplomat, (1706-1790 ). -
CSS style not rendering in design view
I have style="max-width:600px" in a image but it wont show in design view on Dreamweaver CS4
The parent file MUST be named with .shtml or .shtm as an extension. It's that extension that tips the server off that the file contains server directives and that it should be parsed to find them (normally, fetched files are not parsed by the server). Using these filename extensions will not affect the XHTML strict validation of the file (by the way, is there a reason for sticking with XHTML?).
It is not necessary to have a testing server defined to see proper HTML includes rendered in Design view. I believe that by renaming your file with the correct extension you will see this include expressed in Design view. It is a little unclear to me whether the correct syntax for a virtual include is to use the root slash or to omit it. For example, Wikipedia says -
The file parameter defines the included file as relative to the document path; the virtual parameter defines the included file as relative to the document root.
Then later it says -
The file parameter defines the included file as relative to the document path; the virtual parameter defines the included file as relative to the document root.
There is, in fact, a big difference between these two statements! From a personal point of view, I don't use HTML includes at all (always use PHP includes which are written differently). But I think you can use the file include as I have shown safely - that's assuming that the two files are at the same level. -
Images and styles not showing in Design view on CS3
Hi all,
I am playing around with a CSS website template that I downloaded and
opened in DW-CS3. I am just using this to learn and play around with. It
came with the style sheet, jpg images etc.
I just noticed that when in Design view for the index page, that the images
and styles, menus are not displaying, only the html text is visible in Design view.
When I preview the site with a browser like IE or FF, it displays fine along with
any changes I have made.
Does anyone have any ideas?
Regards,
danoIn DW, View > Style Rendering > Display Styles on?
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
PHP icon not showing in design view
I just ordered Studio 8 and currently working on the demo
version of Dreamweaver 8. I had been using FrontPage for many years
and I finally hit it's limitations. I am creating new pages from
scratch and not importing any of my older FrontPage web pages. I am
coding in PHP and noticed this nice php icon that shows in my
design view of where all my php code is. This FrontPage could never
do. I have a table that is doing multiple "include" calls. I am
able to successfully add 2 lines of code, which generates two php
icons in my design view. When I try to add a 3rd line of php code,
it removes all of the nice php icons in the design view. For the
rest of the document, if I add more code, then the icons will not
show up. The PHP is in the code view, but the design view is no
longer showing the php icon. Does anyone have any ideas on how to
make them show up permanently? This is one of many great features
of Dreamweaver that drove me to purchase it.Thank you for the quick response. I went home and took a look
at my code. It matches pretty closely with what you offered as a
suggestion. That didn't seem to fix the issues I am having. Maybe
there is something I am missing that will stand out for you.
Here is a sample of it:
<td>Item Review 1</td>
<td><div align="center"><?php include('
http://www.mytestsite.com/review/stars_only_by_item_id_listing.php?item_id=5');
?></div>
</td>
<td><div align="center"><a href="
http://www.mytestsite.com/review/index2.php?item_id=5">
link</a></div></td>
</tr>
<tr>
<td>Item Review 2</td>
<td><div align="center"><?php include('
http://www.mytestsite.com/review/stars_only_by_item_id_listing.php?item_id=6');
?></div></td>
Thank you for any help you can offer. This one is really
stumping me. Could it be that I am using the demo version and not
the full version? -
Small images not showing in design view
Desperate for help! I've been trying to diagnose this for a
long time. For some strange reason, images that used to show up in
my design view are now displaying the 'missing image' icon. I've
narrowed it down to this--if the image is less than 8px high, the
image will not display. When I increase it to 8px or more high
(width does not have any bearing on it), the image is displayed.
Same exact image name, same placement, path, file type, etc. The
only variable changed is the image height. Someone please tell me
what is going on. By the way, this just started to happen. These
small images were displaying fine up until yesterday.You have two id="header" elements on the page....
I can see both the 5px tall GIF and JPG images just fine in
CS4.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"peregrinedesign" <[email protected]> wrote
in message
news:gmiaur$bv$[email protected]..
> OK, but I'm not sure this will help. Here's the page:
>
http://www.capitaloandp.com/orthotics.php
>
> What you will see is correct, and when I preview with a
browser it is fine
> also, it's only the DW design view that is not showing
the small jpeg.
> On the right side, there are two small black rectangles.
The one on the
> left
> is a gif, and the one on the right is the jpg. They were
both exported
> from the
> same original Fireworks file. I have tested using
Photoshop also.
>
> Thank you for your attention to this.
> -
PHP Include not showing in design view
One of the advantages of Dreamweaver is the ability to see
the result of your code in the Design view. I am building a
template set for a web site I'm starting, and will be using the
template files in various paths and path depths. As a result, I am
not interested in using relative paths for things like PHP
includes.
If I use the following code for an include, the 'main.php'
file is included in the design view:
<?php include('/includes/templates/main.php'); ?>
When uploaded to the Apache server, this does not display
properly, because it is looking for the file in the user root, not
the Apache document root.
The portable code solutions to this would be to use the
following code:
<?php
include($_SERVER['DOCUMENT_ROOT'].'/includes/templates/main.php');
?>
This shows perfectly when uploaded to the Apache server, but
of course does not show in the Design view of Dreamweaver.
It is ridiculous to think that someone would want code one
way to see in the design view, and another for the web server, so I
am assuming that there is a way to do this so that it works both in
the desing view and on the web server.
I have had limited success using:
<?php virtual('/includes/templates/main.php'); ?>
which shows up in both the design view and on the web server.
However, I've experienced problems using virtual calls in scripts
called by the virtual command. I.e. nested inclusions. It would be
important to note that PHP's own documentation states "This
function may be used on PHP files. However, it is typically better
to use include() or require() for PHP files.", along with other
warnings.
So, basically, what I am asking for is a solution to allow
the following code to work and show the included file in the design
view:
<?php
include($_SERVER['DOCUMENT_ROOT'].'/includes/templates/main.php');
?>
Any suggestions?
BTW, I have tried setting the PHP include_path to the web
root so that the first example above would work. Doesn't work. I
have full, unrestricted access to the server, so if there is
another setting or configuration change I can make to have the
include function default to the web root, I'd love to know what it
is.quote:
Originally posted by:
Newsgroup User
It does that with all server-side includes, not just PHP. It
only shows
the HTML content of includes. To see dynamic output from a
server-side
language, you need to use Live Data view.
I'm not referencing dynamic output from PHP processing. I am
referencing includes. When using an include, Dreamweaver shows you
exactly what it would show you if you were looking at the included
file itself.
However, Dreamweaver makes the assumption that <?php
include('/inc/test.php'); ?> is a path located in the web server
document root. This is not the same assumption that web servers
make.
The Apache web server (at least the several that I use),
treat this same include as a request for /inc/test.php off of the
root of the server. To achieve the same include, relative to the
web document root, the include must be <?php
include($_SERVER['DOCUMENT_ROOT'].'/inc/test.php'); ?>.
Unfortunately, Dreamweaver does not understand this basic syntax
and will not show the included file in the design view.
The bottom line is that Dreamweaver could make it much
simpler to build portable code if it understood this syntax on the
include. You could take place that include in any location on your
site and it would pull the include from the proper location in both
your design view and on the web server.
Keep in mind that we establish a "document_root" when we set
up a site in Dreamweaver. The information is already there. The
handling of it just needs to be added to the include parser. -
Chinese Characters not showing in Design View
Version: DW MX 2004
I have a file I created in FrontPage and am now migrating
over to DW. Most of the language on the page is English, with a
portion of Chinese.
My Chinese characters do not show up in Design View, but when
I preview or upload the page to the server (live), they show up ok
in IE and FF. Everything worked fine in FrontPage.
Why can't I see them in Design View? I have looked in the
Help for languages, character sets, etc.Once again, no one seems to know much about this question.
(I've noticed it's gone unanswered in previous years.)
In the Knowledgebase, I find only this: "Encoded HTML
documents created outside of Dreamweaver may not display correctly
in Dreamweaver. This includes documents that have been hand-coded
or created in another HTML editor."
This was updated in March, 2006.
Which leads me to say, bugger. I guess there's little point
in accommodating those 1.2 billion Chinese. -
RH9 topics do not show in design view
Hi,
I am currently putting up a documentation project for my customer, but I have an issue with created topics.
My structure is as follows:
welcome topic
map
subtopics
map
subtopics
map
subtopics
map
subtopics
map
subtopics
It's about the topic levels in bold.
Here, I create a topic. Normally, you then fill in the name in the New Topic popup window (Topic Title field), you click OK and the topic is created and opened. Well, in my case, only the topic name is created in the project manager pod, the topic is not opening. I cannot open it afterwards, either. I don't get an error message or nothing.
How is this possible?
Is it maybe because the name of the topic is too long? Or the names of the above lying maps? Is there a restriction in number of characters for topics and/or maps?
thanks
YnskeBy "header/footer" tags, Ken means "<html>,
<head>, or <body>" tags - you
have none of those in your files being included, do you?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Henry Anthony" <[email protected]> wrote in
message
news:f2skgv$aej$[email protected]..
> Ken,
>
> I inherited the site. To work on it in Dreamweaver, I
had to create the
> site
> definition. So, the site was defined after it was built.
The include files
> are
> fine. No header/footer tags. I assumed the includes
would show when I
> opened a
> file but they will only show if I reinsert the include
while in design
> view.
> Upon examination of the code after the reinsert, there
is no change.
>
> Thanks,
> Henry
> -
Why do .asp pages not show in Design view
I have been asked to take over a website
built with .asp. Originally the pages all showed perfectly and I was able to amend. However, recently some pages will only open
displaying code - not html but computer code. This is a small excerpt from one of the pages. I would so appreciate some help. I use Dreamweaver 8.
佄呃偙⁅瑨汭倠䉕䥌⁃ⴢ⼯㍗⽃䐯䑔堠呈䱍ㄠ〮吠慲獮瑩潩慮⽬䔯≎∠瑨灴⼺眯睷眮⸳牯⽧剔砯瑨汭⼱呄⽄桸浴ㅬ琭慲獮瑩潩慮瑤≤ാ㰊瑨汭氠湡㵧攢≮砠汭獮∽瑨灴⼺眯睷眮⸳牯⽧㤱㤹砯瑨汭•浸㩬慬 杮∽湥㸢†格慥㹤††琼瑩敬吾敨倠楲牯⁹桃牵档漠湅汧湡牐浩牡⁹捓潨汯›ഭ㰊ⴡ⌭湩汣摵楦敬∽湩⽣慰敧瑟瑩敬椮据ⴢ㸭⼼楴汴㹥ℼⴭ⼠⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯⼯
Thank you if you can throw any light on this problemHi,
I qoute from Adobe Help page:
If you plan to develop dynamic pages, Dreamweaver needs the services of a testing server to generate and display dynamic content while you work. ...here is the link:
http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-79e0a .html
Hans-G. -
After reopening dreamweaver files, the table and its contents are not shown in design view
I got a problem with deisgn view which has stucked me for the whole week. I've designed a webpage with dreamweaver CS4. After reopening this webpage, I got problem to see the tables and images inserted in dreamweaver (the sliced images from fireworks works well). Somehow this problem only existed in design view, but NOT is browswer view/ live view. I thought it is the setting problem, but I tried to reopen the webpage I designed earlier... got no problem in either design or live view. I also tried starting over another new file, same problem existed (tables/images do not show in design view) I am really confused. Any thoughts?
I've already done my research everywhere, but cannot find solution.Thank you so much... it works...
I should come here earlier... wasted lots of time !!
Maybe you are looking for
-
Kernal panic preventing shut down after Mountain Lion upgrade
Following upgrade to Mountain Lion, kernal panics are stopping shut down of my Mac from the apple menu. I have a late-2009 Mac Mini. OS X closes as normal but then restarts with message "Your computer restarted because of a problem". I have performed
-
Imovie 08 and the sony DCR-SR85 HDD
help- I am a high school basketball coach, trying to import game film into iMovie to make a DVD. Someone donated a Sony DCR-SR85 to the team. Can anyone tell me how to import video files from that camera. I was told to upgrade to Quick Time Pro and t
-
Failed to create deployable object 'local/Calendar' since it not a WD objec
Hi I created a calendar application in Web dynpro,There iam getting this error .will any one please help me how to avoid this. com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/Calendar' and applicatio
-
Document Style Web Services in JDeveloper
Hi, I have been creating Web Services in JDev using a simple java class which has the following signature: public boolean checkUserCredentials(String username, String password, int role) I would like to start working on more complex examples, specifi
-
Resize behavior without frames?
Hi all, Quick question: I have an app which has a tree menu on the left side, which can contain entities up to n number of characters. I want to avoid using frames given the problems with session, forwards, etc. But does anyone know of a way I can so