Lost my CSS styles

I run a website for a non profit organisation. I am not a
guru. We use Dreamweaver as our editor.
I have recently used SSI to include common header and footer.
It is working well.
Yesterday I started tutoring one of my colleagues to make and
maintain some of the pages.
He brought his laptop to my home and we downloaded the pages
from the site.
The problem is that the 'included' pages do not render on his
machine. The CSS references are in the header which makes editing
impossible. Is there an option that I have missed?
Thanks,
Robin Chapple

You must not have <html>, <head>, or <body>
tags in any fragment that is
included into another page. You seem to have those tags in
both of your
includes.
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
==================
"yallambie" <[email protected]> wrote in
message
news:[email protected]...
> Malcolm,
>
> The problem was caused because I did not use the "Attach
Code" properly.
> What
> you saw was the footer code duplicated and separated by:
> ============
> where I had attempted to attach header and footer.
>
> Here is the header by itself:
>
> Robin
>
> <!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="Page-Enter"
content="blendTrans(Duration=1.0)" />
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <title><%= title %></title>
> <link href="
http://www.rotary9790.org.au/css/text7088.css"
> rel="stylesheet"
> type="text/css" />
>
> </head>
> <body>
> <table width="100%" border="1" align="center"
cellpadding="0"
> cellspacing="0"
> bordercolor="#330099" bgcolor="#FFD7D7" class="time">
> <tr align="center">
> <td width="16%"><a name="top"
id="top"></a>   <a
> href="#search">Search here</a> </td>
> <td width="16%" height="25"><a
> href="
http://www.rotary9790.org.au/info/speakers/index.asp">Speakers</a></td>
> <td width="16%"><a
> href="
http://www.rotary9790.org.au/0708/main/index.asp">Main
Index
> </a></td>
> <td width="16%"><a
> href="
http://www.rotary9790.org.au/db/index/ClubsIndexlist.asp">Clubs
> Index
> </a></td>
> <td width="16%"><a
> href="
http://www.rotary9790.org.au/0708/main/whatsnew.asp">&quot;What's
> New?&quot; </a></td>
> <td width="16%"><a
> href="
http://www.rotary9790.org.au/0708/main/calendar.asp">Calendar</a></td>
> </tr>
> </table>
>

Similar Messages

  • Lost CSS style rendering

    Help!
    I've read the FAQ regarding toggling CSS styles as I've lost/inadvertanly switched off the detail in the design pane leaving me only with the code. This was the advice:
    Sometimes, though, your CSS looks completely wrong or isn't displayed at all. Usually, this happens if you have accidentally turned off the display of styles, or if you have selected an option other than Screen Media Type in the View > Style Rendering submenu or the Style Rendering toolbar. Make sure Display Styles and Screen Media Type are selected (they should have checkmarks against them like this:
    However, I'm running an old version - DreamWeaver MX 2004 v 7.0.1 - and it doesn't have Style Rendering etc. under the View tag. Please tell me what I must do. (Don't say upgrade!)
    Thanks
    Les

    in a couple of pages I cannot see any text or image items in the Design View
    Use the validation tools below and fix reported errors.
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.

  • Template link to css styles lost

    Hi, why, when I create a new page based a template, does the link to the css style sheet become broken?
    I can see in the code of the new page that ".."  is missing from the "../" in the url to the style sheets – but the template has the correct links in place.
    Previous pages buolt using the same template(s) work fine.  This appears to be a problem that has just occurred.
    If anyone hs any clues, that would be much appreciated.
    RP

    All sorted!  Copied all existing files to a new folder, then Site > New Site, chose the new folder, recreated the site cache and hey presto!
    I managed to do something myself!
    Hope this helps somebody else in the same fix!
    RP

  • CSS Style Sheet Link Recursive Error?

    I am trying to link a css style sheet to a new root file. When I try to link the css sheet I get an error - A recursive style import was found while trying to add Check Magazine.css. Please resolve this error by editing the file in an external text editor and try again.
    What does this mean?  I looked up recursive style everywhere and there is no explanation.  I don't know how to fix.  The answer I found on these forums mentioned an @import statement error but I dont even have any @import statemensts in my style sheet this style sheet is part of the Getting Started tutorial on this website.
    @charset "utf-8";
    #container{
    width: 968px;
    background: #FFFFFF;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    This is my code, can you help?

    This is my index.html code, I am so lost as to what to do to get rid of this stupid error.  My style sheet is not linked so of course it is useless and I have to code on both documents since the code doesnt show up automatically on the Style sheet when I add something to the index page
    <!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>Check Magazine</title>
    <style type="text/css">
    <!--
    #banner {
    background-image: url(images/banner.gif);
    height: 100px;
    width: 968px;
    #main_image {
    background-image: url(images/main.jpg);
    height: 376px;
    width: 968px;
    #left_column {
    float: left;
    width: 316px;
    #column_container {
    float: left;
    width: 652px;
    #right_column {
    float: right;
    width: 316px;
    #center_column {
    width: 316px;
    margin-left: 10px;
    -->
    </style>
    </head>
    <body>
    <div id="container">
      <div id="banner"></div>
      <div id="main_image"></div>
      <div id="left_column">Content for  id "left_column" Goes Here</div>
      <div id="column_container">
        <div id="right_column">Content for  id "right_column" Goes Here</div>
        <div id="center_column">Content for  id "center_column" Goes Here</div>
      </div>
    </div>
    </body>
    </html>

  • Why cant I see my CSS styles in the new Admin Editor?

    Why cant I see my CSS styles in the new Admin Editor?

    Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • NullReferenceException when using Razor "@" inside of CSS styles

    Issue:
    Receiving "Object Reference Not set to an instance of an object" when I hit ctrl-v in CSS styles
    Steps to Reproduce:
    Open Visual Studio Ultimate 2013
    Create new ASP.NET Web Application (Create directory for solution)
    Choose MVC (Auth is Individual User Accounts)
    Open Shared/_Layout.cshtml (I can reproduce the error by following the below steps in any .cshtml file)
    DO NOT SAVE FILE CHANGES AT ANY POINT (though I've noticed this makes no difference)
    Add <style> </style> just before </head>
    Add #foo {color: red;} inside of <style>
    CSS syntax highlighting still works at this point
    Add razor syntax @ symbol to color: red;
    #foo {@color: red}  
    CSS syntax highlighting is lost
    Add #bar {color: green;}
    Highlight #bar {color: green;}
    Hit ctrl-c to copy
    hit ctrl-v to paste clipboard anywhere BUT inside of <style></style>
    Pasting outside of <style> should still work.
    Now hit ctrl-v and paste clipboard inside of <style></style>
    shoudl receive Error message: Object reference not set to an instance of an object
    Undo (ctrl-Z) should no longer work at this point
    NOTES:
    Copying from outside of visual studio and pasting inside the <style> tag in _Layout.cshtml should nto produce an error
    Last thing, it does not matter if I am using the @ symbol in valid CSS (background: @url(...)) or invalid CSS (color: @red)
    Trying to escape the @ symbol (background: @@url(...)) mnakes no difference.
    Info:
    Microsoft Visual Studio Ultimate 2013 version 12.0.21005.1 REL
    .NET Framework version 4.5.51650
    Windows 8.1 Enterprise v6.3.9600 Build 9600
    Nuget Packages installed - only what is installed by default when creating new MVC ASP.NET Web Application

    Hi jonathanthomas,
    Since this issue is related to the web development,
    you could ask this question in the ASP.NET forum:
    http://forums.asp.net. If then, you could get
    an answer more quickly and professional. Thanks for your cooperation.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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 &amp; 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

  • Can't figure out how to rename css style in mx

    Hello,
    I can't figure out how to rename css style in mx. I have the
    style selected in the proprety inspector. Is there supposed to be a
    rename option at the bottom of the same dropdown box? There is
    option to edit style and a few others in same dropdown box... but
    no rename option. Please be specific... I have looked it up on the
    internet... but still cant find the option.
    Thanks,
    PoJ

    Do a Find and Replace to find name1 and replace with name2.
    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
    ==================
    "computerpain" <[email protected]> wrote in
    message
    news:ed43p3$m9h$[email protected]..
    > Hello,
    > I can't figure out how to rename css style in mx. I have
    the style
    > selected
    > in the proprety inspector. Is there supposed to be a
    rename option at the
    > bottom of the same dropdown box? There is option to edit
    style and a few
    > others in same dropdown box... but no rename option.
    Please be
    > specific... I
    > have looked it up on the internet... but still cant find
    the option.
    >
    > Thanks,
    > PoJ
    >

  • Cannot view css styles in design view

    Is there a way to get Dreamweaver to display style in design
    view when the css files are in virtual folders?
    Have tried using ASP (Vbscript) snippet to write in the
    server URL and using Liveview, but still doesn't display. It
    appears that DW only recognizes hard coded relative links or hard
    coded full URLs.
    Browser displays these documents with no errors.
    Please Help! I have users who will be confused attempting to
    edit the documents without visible style, and need to use the
    virtual folders.
    Thanks.
    Sean

    > Is there a way to get Dreamweaver to display style in
    design view when the
    > css
    > files are in virtual folders?
    Try using Design Time Stylesheets.
    Open the Design-Time Style Sheets dialog box by doing one of
    the following:
    1. Right-click in the CSS Styles panel, and in the context
    menu select
    Design-time, or
    2. Select Text > CSS Styles > Design-time.
    Regards
    John Waller

  • Safari 5.0.3 not loading CSS style sheets 1st time through

    When I go to my ecommerce site's https payment screen, the page HTML loads OK but the formatting is missing (so the screen is really messed up). If I hit the page re-load function the page re-loads with all the formatting corrected. It behaves the same with both the Mac and Widows versions of Safari 5.0.3. The problem did not occur on earlier versions of Safari (i.e., the Mac I use for testing the site worked perfectly on the now problematic page until I upgraded to the latest version of Safari).
    The problematic page works fine with all the other browsers that I have tried (IE7, IE8, Firefox, Chrome)
    My guess is that it has something to do with some @import url("css style sheet") directives that are imbedded at the beginning of the master style sheet for the page.
    This problem will stop all Safari 5.0.3 users from navigating our site so it is quite serious.
    Any help on this issues would be greatly appreciated.

    Further investigation has revealed that the following error message is being generated within Safari during the first time the that the page is loading,
    "Refused to load from document base URL. URL found within request."
    The <base> directive in the HTML, in this instance, is referring to a different URL than the one that the page is running from. The page with the problem is running on a remote server and back referencing to the home server for the <base> reference. This fails when the page first loads but seems to be accepted if a page-reload is done. It also works on all other browsers that have been tested.
    Is this related to a security setting in the browser?

  • I messed up my CSS styles, should I just start over?

    I've been working on a template for a couple weeks. And I changed a couple CSS styes by creating new ones. I didn't really know what I was doing, and now my template's navigation bar has disappeared and my main background has shortened up and is completely out of sync with the text. Is there anyway I can restore my original css styles or do I have to start completely over?
    Thank you for your help.
    EDIT:
    http://img685.imageshack.us/i/dreeamweaver.jpg/
    Here you can see a visual of what's happened. All of my pages are now like this. Do you think I can fix this?

    when I preview it in design mode in Dreamweaver the nav bar is gone and background is shortened. How is this happening?
    Viewing anything in DW's design view is not the best way to judge your website.  You should always use "Preview in browser" functionality.  I normally go to:
    File >> Preview in browser
    and select FF4 first and then IE8  (that is all I have on my machine).  These two browsers will cover 90% of the user base in this world.
    hth

  • When I try to attach my css style sheet Dreamweaver gives me an error saying that my .css file appears to be an .html file and will not attach. How do I fix this so I can attach my style sheet?

    I have built a css style sheet in Dreamweaver. When I try to attach it to my html website, it prompts me that my "css file appears to be an .html file and cannot attach". I've tried removing the /* */ as suggested by other forums, but this has not resolved the issue. I was using css style sheets with no problem 2 days ago. Now I get that error message. How do I fix this so I can attach my style sheet?

    What does the code of the CSS file look like?
    An external CSS file needs to be written in CSS only (no html tags like <html>, <body>, <head>, etc ).
    It also must have a .css file extension, if yours has a .html extension it won't work.

  • Using Column Value in CSS Style for Column in Report

    I am trying to apply a CSS style (background color) to a column in a report based on another column.
    So for the Column attributes for a specific column, I would like to be able to add this to the 'CSS Style' Field under the group, "Column Formatting":
    background-color:#BKG_COLOR#;
    It doesn't seem to be taking my column value, which is #daf2ea
    In the CSS Style Field, if I change it to: background-color:#daf2ea - then it works.
    So it doesn't seem to take my column value of #BKG_COLOR" in the CSS Style field.
    Any ideas? Do I need to use the 'HTML Expression' field instead, and how would I do that?
    Thanks,
    John

    Hi,
    that's correct, custom report templates will do.
    I find them sometimes quite limited, though. And I always ask myself "how would I do it without APEX", because there's often a lean jQuery solution that affords less coding.
    If you employ a so called "marker class" that depends on your colour value, you could begin like in the previous answer and enter the follwing into HTML Expression:
    &lt;span class="#BKG_CLASS#"&gt;#THE_COLUMN_I_WANT_TO_SHOW#&lt;/span&gt;
    That means you would not query a plain color, but some name that can act as a CSS marker, like
    select THE_COLUMN_I_WANT_TO_SHOW
          , case when THE_COLUMN_I_WANT_TO_SHOW > 100 then 'hotColor' else 'coldColor' end as BKG_CLASS
      from my_tableIn the page's Function and Global Variable Declaration, you'd enter
    function colorMyReport () {
      apex.jQuery('.hotColor').closest('td').css('background-color','#FAA');
    }And under Execute when Page Loads, you enter:
    colorMyReport();There's only one challenge, of course, when the report is paged via AJAX, because the script would only run once (on the first page shown).
    But if this is a solution for you, I'd be pleased to show you how to overcome this. Just let me know.
    Hope there is no typo in my typing, because I have to catch my train now :-)
    Bye!

  • Drag and Drop in CSS Styles Panel

    So, I am going through Dreamweaver CS5 Classroom in a Book. In lesson 6, pages 106 through109, it tells you to drag and drop rules in the CSS Styles Panel into a certain order.  I can't seem to get it to work for me.  Am I missing something?

    What do u mean by saying this?? Drag & Drop is possible for
    components example Jtree , jtable .These are placed on containers like JApplet, Applet or frame .
    So the answer is yes !
    there is a seprate package devoted to Drag & Drop.

  • How can I use this?? Custom css style.

    !http://unisonsoft.iptime.org:8000/sample.jpg!
    Please look at this image.( Dashboard -> page option -> section properties -> Custom CSS Style Options (HTML Only) -> Use Custom CSS Style)
    I want to use Custom Css Style.
    What can I do for this?
    Thank you.
    Edited by: user626249 on 2009. 7. 28 오후 10:28

    Thank you Mr.Jhon and everyone.
    My client asked me "how can I see the pages on dashboard with many CSS"
    Sorry...Actually I can`t use ENGLISH very well...
    For example)
    Page1 has two tables.
    These table`s font-size is 12pt.
    page2 has two tables too.
    These table`s font-size is also 12pt.
    In this case, I only want to change table`s font-size 10pt in page2.
    The font is set the file "/OracleBI/oc4j_bi/j2ee/home/applications/analytics/analytics/res/s_oracle10/b_mozilla_4/views.css"
    If I change this css file, page1 and page2 has same format of tables.
    So I need to change olny one page`s table font-size using Custom Css Style.
    This is my best writting...Sorry...;;;;;;;;;;;;;;;;
    Thanks everyone...If you understand me, please help me.^^
    Edited by: user626249 on 2009. 7. 29 오전 2:22

Maybe you are looking for