How to see html code in a php file using CS5.5 without using testing server?

In CS5.5 when I open a page with php extention, DW does not show any html code in design view without me having to set up a testing server. In DW 8 it would open the same files and show me the html in design view. I have no need to test php code, I just need to alter the html. Is there a setting I can change to enable this in CS5.5? Thanks.

Below is the code. I discovered that if I create a new php document not from
a template, then I can see the html elements in design view. If I create a
new page from a template and save it as html, design view still works, but
if I save a new page from template and save it as php, I only see symbols
for php and nothing else in design view.
Thanks for your help on this.
<!--
body
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to
zero padding and margin on lists. For consistency, you can either specify
the amounts you want here, or on the list items (LI, DT, DD) they contain.
Remember that what you do here will cascade to the .nav list unless you
write a more specific selector. */
    padding: 0;
    margin: 0;
h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;     /* removing the top margin gets around an issue where
margins can escape from their containing div. The remaining bottom margin
will hold it away from any elements that follow. */
    padding-right: 15px;
    padding-left: 15px; /* adding the padding to the sides of the elements
within the divs, instead of the divs themselves, gets rid of any box model
math. A nested div with side padding can also be used as an alternate
method. */
a img { /* this selector removes the default blue border displayed in some
browsers around an image when it is surrounded by a link */
    border: none;
/* ~~ Styling for your site's links must remain in this order - including
the group of selectors that create the hover effect. ~~ */
a:link
a:visited
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard
navigator the same hover experience as the person using a mouse. */
    text-decoration: none;
/* ~~ This fixed width container surrounds all other divs ~~ */
.container
/* ~~ The header is not given a width. It will extend the full width of your
layout. It contains an image placeholder that should be replaced with your
own linked logo. ~~ */
.header
/* ~~ These are the columns for the layout. ~~
1) Padding is only placed on the top and/or bottom of the divs. The elements
within these divs have padding on their sides. This saves you from any "box
model math". Keep in mind, if you add any side padding or border to the div
itself, it will be added to the width you define to create the *total*
width. You may also choose to remove the padding on the element in the div
and place a second div within it with no width and the padding necessary for
your design.
2) No margin has been given to the columns since they are all floated. If
you must add margin, avoid placing it on the side you're floating toward
(for example: a right margin on a div set to float right). Many times,
padding can be used instead. For divs where this rule must be broken, you
should add a "display:inline" declaration to the div's rule to tame a bug
where some versions of Internet Explorer double the margin.
3) Since classes can be used multiple times in a document (and an element
can also have multiple classes applied), the columns have been assigned
class names instead of IDs. For example, two sidebar divs could be stacked
if necessary. These can very easily be changed to IDs if that's your
preference, as long as you'll only be using them once per document.
4) If you prefer your nav on the right instead of the left, simply float
these columns the opposite direction (all right instead of all left) and
they'll render in reverse order. There's no need to move the divs around in
the HTML source.
/* sidebar1 = left */
.sidebar1
.content
.sidebar2
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol
/* ~~ The navigation list styles (can be removed if you choose to use a
premade flyout menu like Spry) ~~ */
ul.nav {
    list-style: none; /* this removes the list marker */
    border-top: 1px solid #666; /* this creates the top border for the
links - all others are placed using a bottom border on the LI */
    margin-bottom: 15px; /* this creates the space between the navigation on
the content below */
ul.nav li {
    border-bottom: 1px solid #666; /* this creates the button separation */
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that
your links retain their button look even after being visited */
    padding: 5px 5px 5px 15px;
    display: block; /* this gives the anchor block properties so it fills
out the whole LI that contains it so that the entire area reacts to a mouse
click. */
    width: 160px;  /*this width makes the entire button clickable for IE6.
If you don't need to support IE6, it can be removed. Calculate the proper
width by subtracting the padding on this link from the width of your sidebar
container. */
    text-decoration: none;
    background: #C6D580;
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the
background and text color for both mouse and keyboard navigators */
    background: #ADB96E;
    color: #FFF;
/* ~~ The footer styles ~~ */
.footer
/* ~~ Miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page.
The floated element must precede the element it should be next to on the
page. */
    float: right;
    margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page.
The floated element must precede the element it should be next to on the
page. */
    float: left;
    margin-right: 8px;
.clearfloat { /* this class can be placed on a
or empty div as the
final element following the last floated div (within the .container) if the
.footer is removed or taken out of the .container */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
TD.mincart {
    font-size: 10px;
    font-family : Verdana;
    position:relative:
    left: 10px;
    top: -30px;
P.mincart {
    font-size: 10px;
    font-family : Verdana;position:relative:
    left: 10px;
    top: -30px;
#search 
#minicartdiv
P.smaller{
    text-align:center;
    font-size: 12px;
    position: relative;
    top: 1px;
#tagline {
    font-weight: bold;
    color: #03F;
    height: 18px;
    width: 350px;
    font-size: 18px;
    position: relative;
    left: 10px;
    padding-bottom: 10px;
#contact {
    font-size: 12px;
    float: right;
    height: 18px;
    position: relative;
    padding-right: 10px;
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
    padding-top: 7px;
Call 541-424-5555 Mon-Fri 7am-4pm Pacific Time. Email:
[email protected]
Bluetooth and More! No Sales Tax!
body, this
is a test
 [Home | index.php] - Store Policies - Products
        - Search - Checkout
        email: [email protected] Call
541-424-5555</p>
  <!-- end .footer --></div>
  <!-- end .container --></div>
SSL
COT("images/cot.gif", "SC2", "none");
</html

Similar Messages

  • How to get html code out of psd file????

    Hi, I have PS CS6, and just try to work with brackets. Because I can`t extract psd files in my ps version, did it with project parfait. Then I`ve sended that file or better copied the public link into brackets and found my psd file extracted in layers in there. What I miss is the html code, which I`m desperately looking for. So how do I get an html code out of that psd file to create a webpage with brackets, without buying a new ps version...  thanks a lot in advance !

    If you not too familiar with html, you can use the save as web command. When you open the dialog box, towards the bottom you will find preview in Brower. First it will show you the image, but if you scroll down you will see the sample html that was used to create that image in the browser.
    If you need to break it up some you can use slices. Each slice will be its own image.
    The html needs to point to that image on the server.
    This means you need to upload the html and all images to a server. It also means that you will need to manually edit the html so that it has the correct folder location on the server so it can find the images.
    It is one thing to make it work on your computer, it is another story to make sure it works from a server. Usually a typo is what keeps it from working correctly. So pay attention to the url, folders and file names. Keep in mind that folders and files are case sensitive.
    Good luck.

  • How to keep HTML code in the applet source (.java) file itself?

    Hi,
    How to keep HTML code (APPLET tag) in the applet source (.java) file itself?
    Please give an example?
    thank you,

    R6i wrote:
    ...What I mean is without writing external HTML file, how to run an applet (during practice)?'Practice'? What does that mean? During development? If that is what you are referring to, add an applet tag at the top of YourApplet.java inside a Java comment area. Then AppletViewer (in recent SDKs) can then run it with just..
    prompt:javac YourApplet.java
    prompt:// the '.java' extension is not a mistake
    prompt:appletviewer YourApplet.javaIf you do not mean 'during development', then that brings us back to +"What advantages do you see that is bringing to the end user?".+

  • How to write html code in narrative

    Hi,
    How to write html code in narrative to get following format
    desc value1 Value2 totalvalue
    a 10 20 30
    b 20 30 50
    Totalvalue 30 50 80
    Total % 0.3 0.5 0.8
    Can any one help guide on writing HTMl code for above table format in narrative type of display data at report level
    Thank you
    Manu

    Hi Balu,
    If you are using the Web Application server (WEBAs), Then you can create applications using BSP( Bussiness server pages). Which is some what luike JSP.
    Or
    In SE80 , Try to create internet service files uisng BHTML. In the dropdown select internet service. And then try to create the HTML templates
    Thanks,
    Sarayoodharan.K

  • How to embed html code in flash builder 4 ?

    How to embed html code in flash builder 4 ?

    Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
    In flex3 we are making a component ex: <mx:canvas> and changeing that component to
    <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:cairngorm="com.adobe.cairngorm.business.*">
    </cairngorm:ServiceLocator>
    if any one used 4.5 with cairngorm let me know
    thanks

  • Adobe Muse: how to access HTML code inserted?

    Hi everyone,
    do you know how to edit HTML code already inserted in an Adobe Muse template?
    This code is for analytics purpose.
    Thanx
    fremo

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/muse for program questions

  • Mark css code in a .php file

    I changed my css file extension to php (so that I could
    change css properties based on user preferences through php)
    Now, DW doesn't mark/highlight my css code.
    How can I explicitly tell DW to mark css code in a .php file?
    Failing that, is it possible to change css properties in a
    .css file dynamically on the server?

    Pavelthesecond wrote:
    > I changed my css file extension to php (so that I could
    change css properties
    > based on user preferences through php)
    > Now, DW doesn't mark/highlight my css code.
    > How can I explicitly tell DW to mark css code in a .php
    file?
    I don't think you can.
    > Failing that, is it possible to change css properties in
    a .css file
    > dynamically on the server?
    I find the most practical approach is to use PHP to control
    which
    stylesheet is linked to the page:
    <?php
    if (isset($_SESSION['css']) && $_SESSION['css'] ==
    'pink') {
    ?>
    <link href="pink.css" rel="stylesheet" type="text/css"
    />
    <?php
    elseif (isset($_SESSION['css']) && $_SESSION['css']
    == 'blue') {
    ?>
    <link href="blue.css" rel="stylesheet" type="text/css"
    />
    <?php
    else {
    ?>
    <link href="default.css" rel="stylesheet" type="text/css"
    />
    <?php } ?>
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • How to apply  special right  to the PDF  file using the LiveCycle Rights Management Server.?

    How to apply special right to the PDF  file using the LiveCycle Rights Management Server.?
    I want  to edit bar code field data using Adobe Reader. Bar Code field was designed and data was changing using Acrobat X1 Professional (Trial Version). But can't do so in adobe reader.

    I think that product has nothing to do with it. You would use LiveCycle Reader Extensions.

  • I have a new laptop that i need to reinstall my CS5.5 onto but i brought the upgrade version, my origonal cs4 doesnt have a serial code and i cant download the CS5.5 without it...help????

    I have a new laptop that i need to reinstall my CS5.5 onto but i brought the upgrade version, my origonal cs4 doesnt have a serial code and i cant download the CS5.5 without it...help????

    If you registered CS4 then you might be able to find the serial number for it in your Adobe account online.  If not, you still might be able to get someone in chat to assist you with getting it.
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • How to check the resolution of a pdf file using Acrobat 9 pro?

    How to check the resolution of a pdf file using Acrobat 9 pro?

    PDF files don't have one resolution, but may have none or many different resolutions, one per image. You can check the maximum/minimum resoluion with preflight in Acrobat Pro, but not in Adobe Reader.

  • How to read the content of ms-word file use pure java???

    how to read the content of ms-word file use pure java???

    hi,
    check this: http://jakarta.apache.org/poi/

  • How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    How do I open a pdf book cover file using Acrobat XI into Indesign CC?  Everytime I try, it says I am trying to open a file that has been saved wrong.

    PDF files cannot be natively opened in InDesign. They can only be placed as graphics.

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • How to extract data from Essbase to Flat File using ODI

    Hi,
    Anyone know how to extract data from Essbase to Flat File using ODI?
    Thanks in advance.
    Regards,
    Sumardi

    Hi,
    Have you read through :-
    Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
    Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
    If you have read them and are still have a problem at what stage are you having the issues?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I print stuff from the 'Help' file using my MacBook Air?

    How can I print stuff from the 'Help' file using my MacBook Air?

    Open the Help viewer, select a category then from the menu bar top of your screen, click File > Print

Maybe you are looking for

  • How to copy a standard search help to another field

    Hi All, I have a BSP screen in that for one input field i need to copy the standard search help for the Business Partner. Could any one guide me how to copy the standard search help for the business partner into the input field in the BSP screen. Tha

  • Problem with installing Adobe Reader.

    I have just recently tried to install Adobe Reader onto my new laptop and it has Windows 8 operating systems. I encounter my problem when the installation tries to retrieve information from my laptop and an error saying, "Installation encountered err

  • I am unable to set up my microsoft outlook for email

    I am unable to set up Microsoft Outlook on my I pad.  After I put in my email address for outlook it asks for a password and it will not  take my apple password.  Am I supposed to use something else?

  • Flash video won't play in captivate project

    I'm learning adobe captivate... when i add a .flv file to my project, it just comes in as a grey box and doesn't play - i've added it as a progressive download video from my hard drive and i already am sure it's injected with metadata... help!!

  • Why time machine cannot backup applicaitons

    why?