Text Not seen in design view
Dear Experts,
I am helping my brother out with a site he uses for his
company. It seems to be made with GoLive. Anyway, the site was a
huge mess, so I tried to tidy it up with CSS etc.
Now it is much more orderly, and everything was looking fine
last night in design view. I shut down. When I just revisited the
local version today, when I view all the pages, the text does not
show up in design view. When I view the page with the browser
preview, I see all the text. What could be the situation?
I thot maybe the pages got disconnected from the css style
sheet, but they are connected.
Any thots?
Sincerely,
Hope
www.jtrv.com
Ok, the problem got solved. I shut down DW and reopened, and
everything was there. Often it is that I cannot edit with key
commands, for example to delete, half the time I must use the
contextual window, instead of the delete key. When I close DW and
re-open then sometimes the delete key function is re-gained....
Funny.
Thanks again,
Hope
Similar Messages
-
DW8 text not visible in design view
I have imported a site from DWMX(6?) to DW8.
In DWMX everything is visible in design view.
In DW8 the text is NOT visible in design view unless I switch off rendering using CSS (Display Styles Off), but displays fine in a browser.
If I switch off rendering using CSS I can see and edit the text but it is not remotely WYSIWYG
The pages are created from templates and were originally created using DW4 or DW3.
The site URL is http://www.decisionmodels.com/
There has to be a simple solution to this but I just cant find it.
Charlesfont verdana { font-family: Verdana, Geneva, sans-serif; }
I changed the font from default because one of the old fixes I found for Dreamweaver suggested that... I could change it back.
You are aware that this is not a legitimate CSS selector, right?
Forgive my ignorance, but what does this mean? Does it refer to my font selection? Or something else?
It means that your selector "font verdana" is not a legal selector. It says to find all "verdana" tags that are descendents of a font tag. Clearly there is no valid HTML tag called "verdana". If it was your intention to create a rule that would allow you to format text as verdana, or geneva or sans-serif, then that would have to be done with a CLASS selector, e.g.,
.font_verdana { font-family: verdana, geneva, sans-serif; }
Note the leading 'dot' and the underscore - spaces are not allowed in selector names. -
Text not appearing in Design view
There is a twist here...
One one mac with CS5 Dreamweaver the text shows up in the design window just file
On ANOTHER mac with CS5 Dreamwearer certain text doesn't show up. The text is black so that isn't an issue. Why would there be a difference between MACS? I am also attaching the Preference file image.
Specifically the following AND another couple of places where BOLD FACE text is located:
Items For Sale
(updated June 16, 2010)
LISTING of the
BIG LITTLE BOOK CLUB'S
BLB ITEMS FOR SALE
Sample of the code:
<table width="610" border="0" cellspacing="2" cellpadding="3">
<tr>
<td align="center" valign="top" bgcolor="#e6e6fa" width="600"><img src="graphic-sounds/bkshelf600.gif" alt="" height="155" width="500" border="0"></td>
</tr>
<tr height="1316">
<td align="center" valign="top" bgcolor="#e6e6fa" width="608" height="1316">
<div align="center">
<b><font size="5">Items For Sale <br>
(updated June 16, 2010)</font></b></div>
<div align="left">
<p align="center"><a name="one"></a><b><font size="+3">LISTING of the <br>
BIG LITTLE BOOK CLUB'S<br>
BLB ITEMS FOR SALE</font></b></p>
<p>The For Sale listings are updated several times a year. <br>
</p>
<p>The listings are for books being sold by the Big Little Book Club. To purchase a book or books or to ask questions about the listings, contact the President of the Club at: [email protected].</p>
<p>Please be guided by the following information.<br>
</p>
<p><b>SYMBOLS USED IN GRADING THE BOOKS LISTED HERE</b></p>
<p>P = POOR</p>
<p>G = GOOD</p>
<p>VG = VERY GOOD</p>
<p>F = FINE</p>
<p>VF = VERY FINE</p>
<p>NM = NEAR MINT</p>
<p>M = MINT</p>
<p>HTG = HARD TO GET<br>
<br>Ok, the problem got solved. I shut down DW and reopened, and
everything was there. Often it is that I cannot edit with key
commands, for example to delete, half the time I must use the
contextual window, instead of the delete key. When I close DW and
re-open then sometimes the delete key function is re-gained....
Funny.
Thanks again,
Hope -
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 -
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 -
Heading elements do not appear in design view
Hello,
heading (h1, h2 ...) elements do not appear in design view. anybody know how to fix this?
btw seems like DW gets worse with each successive version.I really don't have any troubleshooting advice because I can't reproduce the problem and have not seen this problem being raised previously in the forums.
If you have deleted the personal config file and cache and that hasn't helped, it may be time to uninstall and reinstall.
Also double check your computer for any viruses or malware etc.,
Depending on what version you are using then, you may want to run the uninstall scripts to make sure you remove *all* files associated with the software and start from scratch.
If you are having problems with Creative Suite 3, I would suggest using the CS3Clean script: http://www.adobe.com/support/contact/cs3clean.html
There is a different version for Creative Suite 4: http://www.adobe.com/support/contact/cs4clean.html.
WARNING: The CS3Clean and CS4Clean scripts remove from your computer EVERYTHING related with the CS3 and CS4 suites, apart from any documents that you have created using Adobe programs. Make sure you have your installation disks and serial numbers available for reinstallation.
If all else fails, then you may need to contact Adobe Technical Support. -
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 ). -
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 !! -
SSI do not appear in design view; CS4
All of a sudden.. my ssi's do not appear in design view in CS4. This is occuring in multiple web sites that prevously DID display SSI's
Yes.. I do have Preverances --> Invisible Elements --> Server Sides Includes: Show contents of include file IS checked
Yes.. I have checked both the local and remote information in Site definitions .. all are correct. (and none have changed since the problem emerged) All sites are set to site root relative.
Yes.. I have checked each include. None has any doc type, html or body tags.
No.. LIve View is not turned on
Yes.. the pages all validate
Yes.. I have tried to 'start from scratch' .. new site, new site definitions.. new .shtml pages and new includes. No love!
After inserting a new SSI using the insert menu (typical code result: <!--#include virtual="/redesign/includes/quickClicks.htm" -->) the properties bar seems to get stuck .. displaying the ssi code and not allowing me to select other elements on the page to edit properties. A restart of Dreamweaver solves the problem. But boy is this annoying.
All of the includes do display properly when uploaded to the web server and viewed in a browser.
I've searched the forum.. and read any post that seemed even remotely relavant and have not been able to solve the problem.
I would really appreciate your help. I am a web designer and have used Dreamweaver for many, many years.
KarenNice site. I drive by that school quite often when I shop in Thousand Oaks.
Crashes, installation, JavaScript errors, and unexplained problems
If Dreamweaver is acting erratically, or if you see a message saying "the following JavaScript error(s) occurred", it's usually a sign of a corrupt cache file. The first thing to try should always be to delete the file cache. If that doesn't work, delete your personal Configuration folder. Full instructions are in Deleting a corrupted cache file.
http://forums.adobe.com/thread/429114
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
XSLT Mapper file does not open in design view
XSLT mapper file in the composites exported from weblogic EM as a jar and imported in JDeveloper 11.1.14 does not open in design view. There is no option of design view itself in the tab structure. It is viewable only in source view.
Please suggest, how do I view the desgn view of the xslt mapper?
Thanks,
PromiitWhen you export composites from Weblogic EM in jar format, the resulting files are differently formatted from what was used for deployment.
So, basically, the XSLT file, you are trying to open in Jdeveloper has lost the "mapSources" and "mapTargets" sections, which are generally present in the header section of the jdeveloper-generated XSLT file. Try to manually hand-crack those sections and you should be good to go.
Hope it helps ! -
SSI includes do not display in design view.
Hi,
I am working on an existing site. By "existing", I mean there
was no Dreamweaver site definition. I created the site definition
but, when I open pages that use ssi, the included files do not show
in design view. If I reinsert the include, it show in design view.
The code is the same in code view. Is there some way to update the
includes so I don't have to reinsert them?
Thank you,
HenryBy "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
> -
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/ -
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 **********************/
>>
>>
>>
>>
>
> -
TranslateMarkup output not displaying in design view
Hi
I'm trying to take a set of php pages which all follow a similar style
<?php
$p=new page();
$p->rightCol=<<<RC
SOME HTML GOES HERE
RC;
$p->mainContent=<<<MC
SOME OTHER HTML GOES HERE
MC;
This then pulls in various other files (css, js etc) and renders on the website. I'm used to working with an IDE and hand-writing php code. My non-technical colleague would like to edit the html using WYSIWYG and is used to using DW. At the moment the html in the heredoc strings doesn't display in design view. I've been trying to rejig the pages using translators and can convert the above php into html which renders fine in a browser. The html output from the translateMarkup function doesn't display in design view. I think I'm probably fighting a losing battle (for instance I'm not sure how I'm going to make html editable in DW even if I can get it to render), but if anyone could explain why the html won't render I'd be very grateful. My translator is
<html>
<head>
<title>Conditional Translator</title>
<meta http-equiv="Content-Type" content="text/html; charset=">
<script language="JavaScript">
function translateMarkup(docNameStr, siteRootStr, docContent){
//Find the right col stuff, delimited by <<<RC\n and RC;\n
var regexRC=/<<RC([\s\S]*)RC;/;
var regexMC=/<<MC([\s\S]*)MC;/;
var rcContent = regexRC.exec(docContent)[1];
var mcContent = regexMC.exec(docContent)[1];
var ret = (getHeader()+'<main>'+mcContent+'</main><aside id="rightcol">'+rcContent+'</aside>'+getFooter());
return ret;
function getTranslatorInfo() {
var transArray = new Array(6);
transArray[0] = "LG_TRANS";
transArray[1] = "Translates for LG";
transArray[2] = "1";
transArray[3] = "php";
transArray[4] = "0";
transArray[5] = "allFiles";
transArray[6] = "50";
return transArray;
function getHeader() {
return '<!DOCTYPE html><html><head><title>TEST</title></head><body>';
function getFooter() {
return '</body></html>';
</script>
</head>
<body>
</body>
</html>unless there's any way of rewriting the files before upload and download (ie dynamically rewrite the php pages as html before dreamweaver opens them, then rewrite them back as php before they're uploaded - I'm clutching at straws).
I believe that this should be possible but I'm definitely not a DW extensionologist so I couldn't say for sure. Also, I believe that the tricky part would be the last step -> WYSIWYG edits back to PHP, which may well be impossible.
If you want to talk to someone who knows DW inside out, contact the guys at http://www.projectseven.com. They are excellent. -
Img Does not appear in Design View
Dreamweaver 8
Have an image that I would presume has a simple enough presence in the page...
<table width="985" border="1" cellspacing="0" cellpadding="0" height="100">
<tr>
<img src="Includes/Images/ButtonsNBanners/bnrPrimaryTop.png" alt="test" width="1074" height="94" border="0" usemap="#Map1">
</tr>
</table>
...and sure enough the image appears as expected at runtime.
But within Dreamweaver Design View it does not appear at all.
Why?
I have multiple other images on this page that all appear within the designer as expected, but not this one.
My main problem right now is that I need a map associated with this image and would really like to use DW's tools to create and position the <area> tags.
Has anyone seen this sort of behavior in DW8 before?
All input welcome and appreciated!!!That was it KathH --- THANKS!!!
Had created the row w/out <td> cells to carry the top banner (sort of cheating) on spanning the cells i guess ( )
Anyway, re-wrote so that the banner table was independant and did not require span and picked up the data table independantly.
Problem solved and designer picked up the image precisely.
Thanks again!!!
Curious though that the image is dependant on the <td> tag. I would have expected any image called within the page to display in the designer regardless of location in the html.
Oh well, fixed and onto the next challenge.
Once more THANKS!!!
Maybe you are looking for
-
Background job cancelled , where as working fine in foreground
Hi, In selection screen , I have a to provide a file name and execute the program. When I execute in foreground its working fine, but where are when I execute in background with variant it shows invalid file name and job cancelled in long text. Pleas
-
How to make cells in table pushbuttons
Hi! I have an applet ( http://www.topbridge.com/topbridge/resultat/350/sp62.html ) which displays a bridge game. I would like to improve it by making a display area for the status in the game at the choosen stage in the play. I was thinking of using
-
MPLS - How are external/internal routes distinguished?
Hi all I was setting up an MPLS environment and wanted to get some more information about how MPLS VPN's work. Basically I have three sites connected to the MPLS cloud. Site A runs EIGRP on the customer side and Site B runs OSPF on the customer side.
-
I try to update garageband but it says GarageBand_202 cannot be installed on this computer. An eligible GarageBand application was not found in /Applications. do I need to update i Life first? do I need to update to OSX 4?
-
I'm using FM7.0 on Unix and I am trying to convert a file to PDF. The file has a lot of figures, tables and cross-references. It also has conditional text. When I try the Save As pdf it chugs along then I get an error. This is what is in the error lo