CSS needs PHP to execute in order to render in Dreamweaver CS6

When I view my web pages while in Dreamweaver, I need a piece of PHP code ( called ws_general.php ) to execute in order for the CSS to render.
The pages do look fine when in a browser but I would like to solve this to better test my pages while in Dreaweaver.
I have looked through various solutions but with no luck.
I am using:  Windows 7 SP1
Dreamweaver CS6, build 5842
Thanks

Murray,
The raw code at the top of my page is as follows:
<!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>Jim Calvert Photographer - My Images</title>
    <meta name="description" content="Photography has been a modest pastime for most of my adult life but recently became a serious passion.  I feel very much at home outdoors in natural surroundings and enjoy the rewards of all-season photography">
    <meta name="keywords" content="Jim Calvert, wildlife, photography, landscapes, Mississauga, Canada ">   
    <meta http-equiv="content-language" content="en-ca">
    <meta name="copyright" content="Jim Calvert Photographer">
    <meta name="company" content="Lanmax Computer Solutions Inc.">
    <meta name="robots" content="index, follow">
    <meta name="Language" content="English">
    <link rel="stylesheet" type="text/css" media="all" href="ws_css/ws_general.php">                     <<<<<<<<<<<< this is the php that needs to run !
    <script type="text/javascript" src="ws_javascripts/rotator.js"></script>
<style type="text/css">
.style23 {
    font-size: 1.4em
</style></head><body onload="rotateImage('RandPic')">
<div id="wrapper">
    <div id="top">
......... etc, etc..
And the ws_general.php code is:
<?php
Burning Foliage Colour Scheme
Dark Green    #394635
Green        #6D7D59
MyGreen        #2AB305
Light Green    #B8C39E
Beige        #F1F2DB
Light Beige    #ECD77A
Light Brown    #CD9644
Brown        #8A5823
Dark Brown    #513311
Very Dark Brown #1F1306
header("Content-type: text/css");
$main_bkgd = '#1F1306';
$def_text = '#F1F2DB';
$other_text = '#ECD77A';
$link_text = '#2AB305';  /* 2010.08.23  */
$borders = '#8A5823';
$titles = '#CD9644';
$def_menu = '#B8C39E';
?>
/* Standard styles */
body {
    position: relative;
    text-align: left;
    margin: 0;
    padding: 0;
    font:62.5%  Georgia, Lucida Grande, Lucida Sans Unicode, trebuchet ms, Arial,Helvetica,sans-serif;
    color: <?=$def_text?>;
    background-color: <?=$main_bkgd?>;
    background-position: top left;
    background-repeat: repeat-x;
p {font-size: 1.2em; font-weight: normal; text-decoration: none; line-height: 1.7em; color:<?=$def_text?>; margin: 0; padding: 0 0 .7em 0; }
h1, h2, h3 {font-weight: normal; }
h1 {font-size: 1em; paddi..........etc, etc
Does this help?
Cheers

Similar Messages

  • Need details on how to move existing website to Dreamweaver CS6 and to Business Catalyst web hosting

    Hi All,
         I need assistance with transferring an existing website  - imagessays.com  -  (designed with Dreamweaver CS4) to my Creative Cloud CS6 account - and to web hosting by CS6 Business Catalyst.
       …  step-by-step instructions would be most useful.  I've got the Dreamweaver CS6 onDemand book, etc.,  ...  I guess I’m just not enough of a geek to work my way through the steps and to get my site back moving ahead online.
        Beyond that, need advice as to how to repair a couple of non-funcitonal links on the site (check out imagessays.com to see a couple of pics that don't work).  I'm looking forward to uploading more content and to do major upgrade to the site, but am unable to do so ... need technical support re how to do these simple (should be) things.
        Since setting up the website over 5 years ago, I have migrated from Dreamweaver CS3 to CS4 .... and now to CS6 ...  and from a Dell XPS 450 running Windows XP to a Mac Pro desktop running Mac OS X.
    These changes of version / machine / OS  have separated me from the ability to do the one simple thing that I need to do with this straightforward website, that is:  upload new pitchers and writins .
    I look forward to assistance and support for this.
    Thanks,
    Jim

    Hi Jim,
    These videos might help:
    Dreamweaver
    http://tv.adobe.com/watch/introducing-business-catalyst/getting-started-with-business-cata lyst-and-dreamweaver-cs6-what-is-business-catalyst
    http://tv.adobe.com/watch/introducing-business-catalyst/getting-started-with-business-cata lyst-and-dreamweaver-cs6-creating-and-publishing-sites
    I'd open a local copy of the site in Dreamweaver CS6 and use the steps described in the video
    Also, we have Dreamweaver and Business Catalyst (host) specific forums too. They should be able to help with specifics if you get stuck.
    http://forums.adobe.com/community/dreamweaver
    http://forums.adobe.com/community/business_catalyst
    Hope that helps,
    -Dave

  • How to update need by date in Purchase order using an API?

    Hi All,
    Is there any API available in 11i which can be used to update the need by date in purchase order?
    There is a API PO_CHANGE_API1_S.UPDATE_PO, but it updates only the promise date and not the need by date.
    Please help !!
    Thanks & Regards
    Anuj

    Your error comes from Sybase, so I suggest you post your question to a Sybase forum.  And be aware that Sybase does not use the same tsql dialect as sql server, so you must use their dialect (if, indeed, there is any difference in this particular situation). 
    One note - there should be no space between "N" and the Unicode string literal to which it applies in tsql.  E.g.,
    = N'Executive Chair эюя'
    not
    = N 'Executive Chair эюя'

  • Need to apply on the order based on customes

    Hi All
    I need to apply hold on orders which was created by particular customers.. For that I used "oe_holds_pub.apply_holds" API by passing parameter like
    v_hold_source_rec oe_holds_pvt.hold_source_rec_type
    DEFAULT oe_holds_pvt.g_miss_hold_source_rec;
    v_hold_source_rec.hold_id := v_hold_id;
    v_hold_source_rec.hold_entity_code := 'C';
    v_hold_source_rec.hold_entity_id := customer_id
    oe_holds_pub.apply_holds
    (p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_commit => fnd_api.g_false,
    p_validation_level => fnd_api.g_valid_level_full,
    p_hold_source_rec => v_hold_source_rec,
    p_hold_existing_flg => 'Y',
    p_hold_future_flg => 'Y',
    x_return_status => v_return_status,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data
    When I executed the program it show return_status='S' mean "success", But, when i check the Order of particular customer(IN front end) it doesn't change to 'HOLD', I need information on this API? what are the parameters we need to pass?
    Difference b/w hold_entity_code='C' and hold_entity_code='O'(is their any particular meaning for 'O' and 'C')?
    hold_entity_id: Refers for?
    Can any one send the link..........

    Hi Suresh,
    You can go to the technical settings and tick the check box Log Data Changes at the bottom of the screen.
    Hope it helps...
    Lokesh
    Pls. reward appropriate points
    Message was edited by: Lokesh Aggarwal

  • I bought the wrong update, I need a Mac-Version but ordered a Windows-Version. What can I do?

    I bought the wrong update, I need a Mac-Version but ordered a Windows-Version. What can I do?

    Since this is a user to user help forum, not Adobe support or sales, nobody here will be able to help... you must talk directly to Adobe
    Information for anyone else with a similar problem
    Adobe contact information - http://helpx.adobe.com/contact.html
    Help for Download & Install & Setup & Activation http://forums.adobe.com/community/download_install_setup
    Next link has a "Chat Now" button near the bottom http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    fighter19lisa wrote:
    that only makes it say its synced, when its not.
    No, it does not.  It transfers purchases from the iDevice to the computer.  The computer must be authorized for the Apple ID that the content was acquired with.
    fighter19lisa wrote:
    my playlists wont show up on the phone.
    Are they selected to sync?  Is Manually Manage content on the device selected?
    fighter19lisa wrote:
    i had to change my password for my aol account again and i still cannot get my email on my phone to even work
    What does that have to do with syncing content to the device?  FYI, nothing.

  • We need to check whether the order is locked or not?

    I need to check whether the order is locked or not?
    I tried to use this RFC KAUF_ORDER_READ and passed Order no.
    I manually locked the order( using Tcode -IW32) but still Function module is not returning 'X' in FIELDS flg_locked and FLG_ENQUE of the structure E_KAUF.
    the FM should return 'X' in these fields.
    Please help.
    Coudl anybody suggest me how I can check using RFC/ Table fields etc that whether the order is locked or not?

    Hi Rohit,
    Try this code. Check the flag.
    Note : Order number should have left padding of Zero
    DATA : order_tab TYPE TABLE OF ord_pre,
           wa        TYPE ord_pre,
           flag      TYPE rc27x-flg_sel.
    wa-aufnr = '000004006789'. "Order number should have left padding of Zero
    APPEND wa TO order_tab.
    CALL FUNCTION 'CO_ZF_ORDER_READ'
    EXPORTING
       flg_dialog               = ' '
    *   FLG_ENQUEUE              = 'X'
    *   OBJECTS_IMP              = ' '
    *   EXPLODE_IMP              = ' '
    *   FLG_PROT_IMP             = ' '
    *   FLG_NO_EXTERNAL          = ' '
    *   FLG_NO_BANF              =
    *   FLG_CHECK_SIM            =
    *   IMPORT_MESSAGE_ID        =
    *   CHECK_STATUS_READ        = ' '
    *   FLG_NO_GOS               = ' '
    *   FLG_CALLED_TO_COPY       = ' '
    IMPORTING
       flg_enqueue_ok           = flag
    *   FLG_ESCAPE               =
      TABLES
    *   AUFNR_DEL_EXP            =
        aufnr_tab_imp            = order_tab
    EXCEPTIONS
       ORDER_NOT_FOUND          = 1
       RELEASE_NO_CHANGE        = 2
       OTHERS                   = 3
    IF sy-subrc = 0.
      WRITE flag. "If Flag is X order is not locked
    ENDIF.
    Regards
    Rajvansh
    Edited by: Rajvansh Ravi on Nov 27, 2008 12:33 PM

  • How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    How do I reorder songs in a playlist in the new itunes??? I can no longer just click and drag. When I click, it doesn't move!!!! Need help ASAP- trying to prepare for an aerobics class and need songs in a specific order!

    Vera,
    Use View > View Options, and set 'Sort By" to "Manual Order."
    Then you will be able to drag-n-drop songs up and down the list.

  • Can I send an iPhoto book to my parents as a PDF? I need their input before I order the ibook.

    Can I send an iPhoto book to my parents as a PDF? I need their input before I order the ibook.

    You can create a PDF preview of your book, see this link:
    iPhoto, Aperture: Previewing an order in iPhoto or Aperture http://support.apple.com/kb/HT1040
    The PDF will be too large to email to your parents - copy it to a USB stick or burn it as CD or DVD and send it as a letter.  Or upload it to a server for download, your Dropbox, etc.

  • How can I view/edit the CSS rules that apply to an Order Registration Layout ?

    *Note: I am new to web design and I did not create the site that I am working on. I am also very VERY clumsy with CSS at the moment *
    I have just begun using Dreamweaver to work on a Business Catalyst site. I am attempting to edit the CSS of the layout for the Order Registration Form. The CSS is applied from the site-wide template that is assigned to the Order Registration Layout. When viewing the layout in Dreamweaver, it does not display any CSS info for the page. However, when viewing the live page for the Order Registration, it is clear that CSS is adversely affecting the layout.
    Is there a way to link the css rules from the site-wide template to the Order Registration Layout? Or should I just add a new CSS rule directly to the Order Registration Layout (possibly overriding the site-wide template's CSS)?
    Thanks!
    Nate

    I've used Firebug as well as the Webkit developer tools in Chrome and Safari which have surpassed Firebug in my opinion.  But they all suffer from the fact that the changes you make in them have to later be applied to your code which means you have to take the extra steps of trying to remember what all changes you made in Firebug and copying and pasting them back into your files.  Whereas in Dreamweaver you can Inspect, make changes directly to the code in your file, and you're done.    Not happy with the last few changes?  Undo.  Want to start completely over? File > Revert. 
    Dreamweaver has excellent tools for determining what css is being applied to an element and by what means.  And it's a more streamlined and direct workflow where you work directly in your code.   I still use Firebug and the others from time to time though.  But only for very basic "spur of the moment" testing.  And usually only when I don't have immediate access to the raw files.

  • Need to modify Standard Purchase Order Stylesheet (PO_STANDARD_XSLFO.xsl)

    Hi
    We need to modify Standard Purchase Order Stylesheet (po_standard_xslfo.xsl) . Current stylesheet generating PO like the following.
    <FOR-EACH>
    ITEM_NUM
    ITEM_DESCRIPTION
    <FOR-EACH>
    SHIP_TO_ADDRESS_LINE1 NEED_BY_DATE QUANTITY
    </FOR-EACH>
    </FOR-EACH>
    Based on this, we are getting the output like this:
    Item Num 1
    Itme Description 1
    Ship To: Needed: Quntity
    1234. A1 Avenue JUL 200
    SomeCity, CA 90706
    1234. A1 Avenue AUG 200
    SomeCity, CA 90706
    4567 B1 Avenue JUL 100
    City2 , CA
    Itme Description 2
    Ship To: Needed: Quntity
    5689. c1 Avenue JUL 200
    SomeCity, CA 90706
    Our requirement is like this:
    Item Num 1
    Itme Description 1
    Ship To: 1234. A1 Avenue, SomeCity, CA 90706
    Month: JUL AUG SEP
    Quantity: 200 200 100
    Ship To: VVV4567 B1 Avenue , SomeCity, CA 90706
    Month: JUL AUG SEP
    Quantity: 100 200 100
    So we need to add ship_to group (ITEM/SHIP_TO) .
    How can we use group by item, ship_to..
    <fo:block> <xsl:value-of select="ITEM_NUM"/> </fo:block>
    <fo:block> <xsl:value-of select="ITEM_DESCRIPTION"/> </fo:block>
    <xsl:for-each select="/PO_DATA/LINES/LINES_ROW/LINE_LOCATIONS/LINE_LOCATIONS_ROW">
    <fo:block> <xsl:value-of select="SHIP_TO_ADDRESS_LINE1"/> </fo:block>
    <fo:block> <xsl:value-of select="substring(NEED_BY_DATE,4,3)"/> </fo:block>
    <fo:block> <xsl:value-of select="QUANTITY"/> </fo:block>
    </xsl:for-each>
    </xsl:for-each>
    In the above code I need split the data by ITEM_NUM/ SHIP_TO_ADDRESS_LINE1.
    I am new to xsl-fo. I tried different ways,but ship_to_address_line1 is generating wiith each quanty and need_by_date.
    Please guide me.
    Thank you
    Raju
    Edited by: subbaraju on May 7, 2009 2:36 PM

    Hi Chandra
    Thank you very much for your suggestion.
    I tried that way, I created some sample xml file, I created sample rtf file and I generated xsl-fo file. I copied the part of code into my PO_STANDARD_PO.XSL. I am getting some error.
    I noticed PO_STANDARD_PO.XSL is xsl version 1.0 and the generated sample data is with xsl version 2.0.
    The generated code is using “for-each_group”, “sum()”, “current-group()” etc. Is these functions will work in xslt 1? Or do we need to code different way?
    We are in Oracle APPS 12.0.4.
    Thank you
    Raju
    Edited by: subbaraju on May 26, 2009 11:56 AM

  • How do I install OS X Mountain Lion in a machine that came with OS X Yosemite already?? I need to do it in order for me to keep working with some of my softwares.

    How do I install OS X Mountain Lion in a machine that came with OS X Yosemite already?? I need to do it in order for me to keep working with some of my softwares with are very expensive and can't afford to buy new versions.

    Parallels
    VirtualBox
    VM Fusion

  • How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    Okay, I've figured it out, so I'm going to answer my own question in hopes that it may help anyone else that would like to actually be able to see what they're doing when using Photoshop CC 2014 on a high resolution screen.
    1.  Open Photoshop.
    2.  Select Preferences from the Edit Menu, then select General.
    3.  Change the HUD Color Picker to Hue Strip (Medium).
    4.  Select Interface from the Preferences menu on the left side of the dialog box.
    5.  Change the UI Font Size to Large in the Text area of the Preferences dialog box.
    6.  Select Experimental Features from the Preferences menu on the left side of the dialog box.
    7.  Select Scale UI 200% for high-density displays (Windows only).
    8.  Click on OK, then Exit/Quit Photoshop.
    9.  Open Photoshop and everything should be readable.

  • I need php code for copy paste our all histroy of browser in a text page.

    I need php code for copy paste our all histroy of browser in a text page can any one send me the code please.

    You can use an application like GarageSale for doing this....
    http://www.macupdate.com/info.php/id/16035/garagesale

  • I NEED TO FIND THE PURCHASE ORDER NO.

    HAI ALL,
         I NEED TO FIND THE PURCHASE ORDER NO.
    I have MATNR (material no.), LIFNR (vendor no.), RDOC OR MBLNR (material doc.no). values of these in my internal table. Using this i need to find purchase order no. I HAVE TRIED WITH MSEG TABLE ,but purchase order no. is not stored there.
    PL. tell me TABLE NAME OR HOW TO JOIN THA TABLES OR ANY VIEWS to find purchase order no.
    If u need any clarification regarding my req. pl send mail to below address.
    [email protected]
    THANKS IN ADVANCE,
    SENTHIL KUMAR

    HAI,
        THANKS FOR UR REPLY.
    I am using 541 movement type, (which is used for subcontracting)
    my req. is for 541 movement type in which table purchse order no. and mblnr(material doc. no.) are stored.
    Thanks in advance
    senthil kumar

Maybe you are looking for