Link to site-root relative style sheet not working CS4

I am trying to define links to site-root relative external style sheets - as I believe that IE conditional comments prevent Templates from correctly updating the links. The styles are not being applied when I use any href path begining with "/".  So, the following do not work:
<link href="/styles/myStyleSheet.css" rel="stylesheet" type="text/css" />
<link href="/myStyleSheet.css" rel="stylesheet" type="text/css" />
Dreamweaver can open the css file from a right-mouse click and even give me warnings about css properties as a tool-tip as I hover over the file. The styles are applied fine with document relative paths:
<link href="../myStyleSheet.css" rel="stylesheet" type="text/css" />
Any ideas?
Jeff

Close your meta tag.
<meta name="description" content="blah, blah, blah...>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Style sheet not working in Internet Explorer

    Hello Experts
    Please have a look at this. It is working fine in Firefox.http://www.themildmayarms.com
    Here is my Style Sheet linkhttp://www.themildmayarms.com/index.css
    The style sheet is definitely uploaded. The other pages have a different style sheet and are working fine in both browsers.
    I have validated the site and am getting this:
    Line 13,         Column 1:     unclosed start-tag requires SHORTTAG YES<link href="index.css" rel="stylesheet" type="text/css">

    The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature)       but its use is not recommended.       In most cases, this is a typo that you will want to fix. If you really want to use shorttags,        be aware that they are not well implemented by browsers.
    Stuck! Please help.
    Thank you in advance.

    Close your meta tag.
    <meta name="description" content="blah, blah, blah...>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • InDesign CS5.5 Style sheets not working properly

    Hello,
    I'm checking out a trial version of InDesign CS5.5 and am creating some paragraph style sheets that don't seem to be working. When assigning the latest style I've created to a paragraph, it changes the color I've spec'd, but not the typeface. I open up the style to make sure I've selected the typeface, and it's in order. It just won't style the paragraph with it. What might be going on?
    Thank you in advance for any advice. It's making me crazy.

    @Helenac:
    to force a paragraph style with all defined attributes to a paragraph regardless of local formatting and applied character styles, hold the "alt" + "shift" keys when applying the paragraph style.
    If you want to preserve character styles and overwrite local formatting, then hold the "alt" key when applying the paragraph style.
    Uwe

  • CSS Style sheet not working in DW4

    I am new to Dreamweaver CS4 and have been following the tutorials for Beginners on Adobe TV.
    I have used a Standard Layout, 2 columns, Header, Footer, Sidebar.
    I have created and saved the CSS Style Sheet as suggested in a folder with the CSS panel.
    I have made changes to the web page with CSS and can see the changes in Design View on my screen.
    However, when I view my trial site in a browser, none of the Style changes are visible. Looking at the XHTML code,
    the path to the CSS Style Sheet appears to be correct. What am I doing wrong?

    Close your meta tag.
    <meta name="description" content="blah, blah, blah...>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • CS3 to CS4 - Style Sheets not working

    I created some writer templates in Microsoft Word by exporting styled text from a CS3 document to an rtf. I modified the style sheets in Word to be a generic font (Times) and made all the text black; however, the text still had my Indesign style sheets attached. I've been using these Word documents for about a year with freelance writers and they've been working great. I don't have to apply all those styles; when I place the text from Word to Indesign, the Indesign attributes take over.
    However, when I recently saved my Indesign files in CS4 and placed text from the Word documents, all the Indesign style attributes do not take over. In other words, the font stays in Times rather than change to the font assigned in my Indesign style sheet. Some attributes do work, the color changes from black to white, etc., but the font is not changing.
    Has anyone else had this problem?

    >
    > New
    > www.plasticauxiliaries.com/unadyn/default.htm
    >
    a guess- renaming the files so they don't start with a . and
    DO have .css
    file extensions will probably fix this.
    http://www.plasticauxiliaries.com/unadyn/CCS/
    [To Parent Directory]
    7/13/2006 11:07 AM 304 .headline
    7/13/2006 11:07 AM 139 .headline_jobs
    7/13/2006 11:07 AM 501 .indented_text
    7/13/2006 11:07 AM 154 .subheadline
    7/13/2006 11:07 AM 134 .table_headline
    7/13/2006 11:07 AM 132 .table_select
    7/13/2006 11:07 AM 138 .table_subheadline
    7/13/2006 11:07 AM 261 .text
    7/13/2006 11:07 AM 155 .text_italic

  • Safari 3.0.2 - User Style Sheet not working at all

    Well, at least 3.0.2 doesn't crash when using a custom style sheet, nor does it display a Javascript error.
    But, that's probably because it doesn't work at all! I tried loading a custom sheet that would block ads, but it didn't work. So I set a test one that should block all images. Doesn't work either.
    My test stylesheet consists of:
    test.css:
    img { display: none ! important; }
    and the settings in the preference file are:
    (C:\Documents and Settings\me\Application Data\Apple Computer\Safari\WebKitPreferences.plist)
    <key>WebKitUserStyleSheetEnabledPreferenceKey</key>
    <true/>
    <key>WebKitUserStyleSheetLocationPreferenceKey</key>
    <string>C:\Documents and Settings\me\My Documents\test.css</string>

    Unfortunately, the custom style sheet "feature" is still horribly broken, even in the latest 3.0.3. Setting a file in the preferences still doesn't set the correct URI in the preferences (either that, or Safari still doesn't know how to use a Windows file path to locate the style sheet).
    I'm also encountering problems where Safari will crash when using an ad blocking custom stylesheet.
    Also, when having the custom stylesheet set, trying to use the "Inspect Element" feature will crash Safari.

  • How to make site root-relative links work in DW and Server both?

    See details on buggy DW image link behavior, below. My question is:
    1) how to make site root-relative links work in DW and Server both? Or…
    2) how to reliably automate the change of several hundred legacy root-relative links of the form
    /images/image.jpg  to document-relative?
    That is, to
    ../images/image.jpg or
    ../../images/image.jpg or
    ../../../images/image.jpg etc…depending on where the directory is.
    The old format (/images/image.jpg ) used to work fine in my previous DW 8 configuration but appear grey in DW after “upgrading” to DW cs5.5 mac. (they look fine on the server, but it’s hard to edit image-heavy pages locally when they are all grey).
    I tried changing the files to how DW creates root relative links now:
    /public_html/images/image.jpg, which is a very easy, attractive root flow since there’s a one-to-one mapping. These look great in DW but are broken on the server!
    I looked at the “advanced” site setup, and it looked like it might be possible to nuke the /public_html/ part of my server info…but it also looked like there was the potential for doing damage changing these settings, which are automatically generated from our server connection settings, which seem to work.
    The “links relative to document/ site root” toggle…does that change how DW interprets existing links, or just change the default when you are adding a link?  I have made 80% of the file links document relative…before wondering if root-relative isn’t better?
    It sure seems less ambiguous for all those images if theres a way to make root relative work for DW design view, DW link check, and server.
    Summary of buggy behavior: (see test with images here)
    "old style" site root link
          /images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: "external link" (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a (existing format)
    "new style" site root relative link
          /public_html/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: broken
          Ease of switching: easy
    Document relative link
          ../../images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: good
          Link check in DW: good
          Browser: good
          Ease of switching: hard (how to automate?)
    Absolute link
          http://www.oasisdesign.net/images/img_book/WScover120x150_NEW.jpg
          Design veiw in DW: broken (grey w/ broken icon)
          Link check in DW: external (i.e., uncheckable, + file could appear orphaned)
          Browser: good
          Ease of switching: n/a...not a real option
    Thanks!
    Similar discussion on "/"

    Hello again Jon!
    Thanks for jumping on this.
    All clear and understood about where publc_html is etc.
    No contemplation of nuking the actual public_html directory on the server, just the "/public_html" text string at the start of the DW-generated links.
    "/public_html" is automatically added to the front of the link in DW if I create the link with any of the GUI tools, if I have "site root relative" selected. And ""/public_html" ends up in the code, and gets uploaded that way to the server, where it (obviously) doesn't work.
    Doesn't sound like it is supposed to work this way. Also, what seems to be the usual root relative format (/images/image.jpg) shows as a broken link in the GUI and an external link in the DW link check. All this togther makes me thinkI have some obscure setting incorrect?
    The setting that caught my eye is manage sites/ site setup/ advance settings/ local info/ web url,  which is automatically set to http://www.oasisdesign.net/public_html/
    it gives an option to change it but it makes every effort to make this NOT look like something users should mess with:
    Having gone through the more careful thought process during this post, I'm ready to do the experiment of changing the remote server web URL (why is it wrong by default?)...think I'll eat dinner first so there's 45 min to avert disaster if anyone knows this to be a bad idea!
    Art
    PS--don't  have a local testing server...don't think this will solve the GUI broken link/ link shows as external problems.
    Is there an easy, automated way to change links sitewide from document to root relative?

  • Paste and match style does not work in some cases

    Dear Sir
    My "Paste and Match Style" does not work with some sites.

    What happens if you put table Table_1 into the Analytic View?
    Also go ahead and and update HANA, Rev.60 is very old by now.

  • I was downloading podcast video in my itouch using wifi, but suddenly my wifi got disconnected and now there is a link in my podcast list which on opening uses wifi to play that video. I want to delete that link. Right to left swapping is not working.

    I was downloading podcast video in my itouch using wifi, but suddenly my wifi got disconnected and now there is a link in my podcast list which on opening uses wifi to play that video. I want to delete that link. Right to left swapping is not working.

    I bet this is too late but...
    Are you trying to print through the airport express wirelessly or the built in wireless of the lexmark? If you want to use the airport express, there is no need to mess with the wireless printing on the lexmark at all. The airport express will be easy to set up, all the wireless setups through the printers are a pain.

  • Style selector not working...

    Why does the mx|ToggleButtonBar style selector not work in the following code?
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the Halo TabNavigator layout container. -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/halo">
         <fx:Style>
              /* Not working */
               mx|ToggleButtonBar{
                   buttonStyleName:"mytoggleButtonBarButtonStyle";
                   firstButtonStyleName:"mytoggleButtonBarButtonStyle"
              /* okay */
               #tbb{
                   buttonStyleName:"mytoggleButtonBarButtonStyle";
                   firstButtonStyleName:"mytoggleButtonBarButtonStyle"
              .mytoggleButtonBarButtonStyle{
                   skin: ClassReference("skins.custButtonSkin");
         </fx:Style>   
         <s:VGroup>
              <mx:ToggleButtonBar id="tbb">
              <mx:dataProvider>
                   <fx:Array>
                        <fx:String>Flex</fx:String>
                        <fx:String>Flash</fx:String>
                        <fx:String>ColdFusion</fx:String>
                   </fx:Array>
              </mx:dataProvider>
         </mx:ToggleButtonBar>
         <mx:ToggleButtonBar id="tbb2">
              <mx:dataProvider>
                   <fx:Array>
                        <fx:String>Flex</fx:String>
                        <fx:String>Flash</fx:String>
                        <fx:String>ColdFusion</fx:String>
                   </fx:Array>
              </mx:dataProvider>
         </mx:ToggleButtonBar>
         </s:VGroup>
    </s:Application>

    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the Halo TabNavigator layout container. -->
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/halo">
         <fx:Style>
         @namespace mx "library://ns.adobe.com/flex/halo";
              @namespace s "library://ns.adobe.com/flex/spark";
              /* Not working */
               mx|ToggleButtonBar{
                   buttonStyleName:"mytoggleButtonBarButtonStyle";
                   firstButtonStyleName:"mytoggleButtonBarButtonStyle"
              /* okay */
               #tbb{
                   buttonStyleName:"mytoggleButtonBarButtonStyle";
                   firstButtonStyleName:"mytoggleButtonBarButtonStyle"
              .mytoggleButtonBarButtonStyle{
                   skin: ClassReference("skins.custButtonSkin");
         </fx:Style>   
         <s:VGroup>
              <mx:ToggleButtonBar id="tbb">
              <mx:dataProvider>
                   <fx:Array>
                        <fx:String>Flex</fx:String>
                        <fx:String>Flash</fx:String>
                        <fx:String>ColdFusion</fx:String>
                   </fx:Array>
              </mx:dataProvider>
         </mx:ToggleButtonBar>
         <mx:ToggleButtonBar id="tbb2">
              <mx:dataProvider>
                   <fx:Array>
                        <fx:String>Flex</fx:String>
                        <fx:String>Flash</fx:String>
                        <fx:String>ColdFusion</fx:String>
                   </fx:Array>
              </mx:dataProvider>
         </mx:ToggleButtonBar>
         </s:VGroup>
    </s:Application>

  • How do I get the nested style sheets to work in the paragraph style sheets?

    How do I get the nested style sheets to work in the paragraph style sheets?

    Hi Denise, we need more information on what you are trying to do before we can help on your specific issue.
    You can look at this document, which covers nested styles: http://help.adobe.com/en_US/indesign/cs/using/WSE33E49F9-94CE-4043-AA51-4761408A63F4a.html

  • Css style sheet not linking

    I am fairly new to dreamweaver and css. I have created an
    html page and I created an external css style sheet for it. When I
    preview it in my browser, it works, but when I FTP it and check the
    site on the server, the html page doesn't "refer" to the css page
    that I created. I checked my remote view of the server, the style
    sheet is there and the source for the web page says that it should
    be refering to it.
    Here's the link to my page. It's a school project. I only
    have the first page created for it so even tho there are rollovers,
    there are no pages linked them, so just ignore that.
    http://alliterationstudio.com/silverspark/index.htm
    if you go to the main page on my site
    http://alliterationstudio.com
    you will see that I have a couple of other projects up there too.
    If you go look at the arts and crafts page you will see that it has
    a style sheet that links just fine to it, and I created it in the
    same way. I'm at a loss here, since I'm really new to this web
    design stuff.
    BTW, I'm using Dreamweaver MX 2004 right now. I'll upgrade as
    soon as I get my new computer, but either way, I don't think that
    using an earlier version of the software is what is creating the
    problem, right?
    Thanks for the help,
    Staci Stubbs

    On 07 Apr 2007 in macromedia.dreamweaver, stacistubbs wrote:
    > Here's the link to my page. It's a school project. I
    only have the
    > first page created for it so even tho there are
    rollovers, there are
    > no pages linked them, so just ignore that.
    >
    >
    http://alliterationstudio.com/silverspark/index.htm
    http://alliterationstudio.com/silverspark/silversparkstyle.css
    returns a
    403 (Forbidden) error. An imaginary stylesheet whose name I
    entered
    returned a 404 (File not found). In the other project which
    had an
    external stylesheet, there was no problem. So - it sounds
    like a
    permission issue on silversparkstyle.css. I'm not sure if
    MX04 has a
    file permissions 'thing' built in; if not, you'll either have
    to get an
    FTP client which does file permissions (FileZilla for Windows
    http://filezilla.sourceforge.net/
    does), or use a terminal app (SSH, like
    putty, in preference to Telnet) to log in and change the
    permissions.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Style sheet not linking is frame

    Hi,
    I have a frameset with three fames. Each of the frames links
    to a style sheet called site.css via and included file. None of the
    frames are linking the style sheet, but if I load each file
    independently they work fine
    it works like this...
    All frames include the line <cfinclude
    template="header.cfm">
    Inside header.cfm is the line <link href="styles/site.css"
    rel="stylesheet" type="text/css">
    Inside the frames I cannot select css tyles. It says
    New/Attach style sheet etc.
    I have another website where I use EXACTLY the same concept.
    I've compared the code line by line and they are identical.
    Anyone have any ideas why the style sheet isn't linking
    properly?
    thanks
    Tanya

    Hi Lad -
    CSS is completely unreliable with the multitude of  different email clients.
    The attached capture of your email message to me has your  image.somehow
    Just host your image on your server with a full link to it  (as I do)
    and use inline styling for your text .
    Here's a link to a recent HTML email I coded
    http://www.adlerhealth.com/ad011609/ad011609.htm
    You can view the source code

  • Css layout or style sheet not showing table layout

    When I was working on my website I noticed that my tables don't show up in the browser of my site, they do however, show up in the dreamweaver design so I am wondering if when I was making changes somehow to the site if something in the css layout or style sheet got deleted.  Could someone please take a look at it and please tell me what needs to be fixed, I am not at all familiar with css so I need all the help I can get on this here is the link.  Thank you! http://angelcoilbartlett.com/index.html

    In your HTML document in Code View, remove the following embedded CSS code. This is competing with external  style sheet code and causing your site havoc.  In the future, don't create any more new styles.  You don't need them.  Stick with the established styles set up by the original designer and you will have way fewer problems.
    DELETE ALL OF THIS NONSENSE:
    <style type="text/CSS>
    <!--
    .style1 {     font-size: 12pt
    .style3 {     font-size: 18pt;
         color: #000000;
    .style6 {font-size: 12pt; color: #000000; }
    .style8 {     color: #000000;
         font-size: 14pt;
    .style9 {
         color: #990000;
         font-weight: bold;
    a:link {
         color: #666666;
         text-decoration: none;
    a:visited {
         text-decoration: none;
         color: #666666;
    a:hover {
         text-decoration: none;
    a:active {
          text-decoration: none;
    .style10 {color: #000000}
    body,td,th {
         color: #666666;
    .style7 {font-size: 12pt;
         color: #000000;
         font-weight: bold;
    .style12 {color: #666666; font-weight: bold; }
    .style14 {color: #000000; font-weight: bold; }
    .style13 {color: #666666}
    -->
    </style>
    If you want to continue working with web pages, you owe it to yourself and your employer to learn basic HTML and CSS so you can get yourself out of jam when things go wrong.
    Start learning here:  HTML & CSS Tutorials - http://w3schools.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Images missing / style sheet not uploading

    i upgraded to Firefox 12 and now many images are missing on webpages and it's like the some style sheets are not uploading
    no themes in Gmail, no Google logo, just a white page full of links in facebook
    Everything is fine in other browser.
    I DID restart without the plugins, everything is up to date, This is a new computer,windows 7
    thank you for any help - I am looking everywhere, but seems like I am the only one with this problem

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *https://support.mozilla.org/kb/Images+or+animations+do+not+show

Maybe you are looking for

  • Can't get past 10%

    Hello, I am trying to get up and running with ThinApp Factory, but cannot get it to virtualize one single application. For example, I am trying to thinapp an older version of Firefox (3.6). When I go through the motions of creating the package, the p

  • How to mark my old questions as answered?!

    Hi, For some reason my old topics are not linked to my account: 792341 After forum was renewed I've got absolutely empty account (Alex.UA) without points and topics. Is there any way to link my old stuff so I could mark questions as answered and assi

  • Anyone successfully sync with a 1.1 USB Port?

    I have a four year-old iMac with a 1.1 USB port. Is it absolutely necessary to have a 2.0 USB port or can the iPhone by synced with a 1.1? iMac   Mac OS X (10.4.10)  

  • Unix command to know port is open and not used

    Is there any command that i need to use to see followings : 1) Port is open 2) Port is not used by any application. Please give an example of the results as well. 1) if port is open 2) if port not open 3) If port is used 4)if port is not used.

  • File Permission Denied

    Hello again! I have now come across the problem of being denied permission to open certain directories on my computer. If I am logged on as root that does not happen but when writing the program not everyone will be logged on as root. So, I guess wha