Link Spry 2.0 #Menubar to style sheet

I have a Spry 2.0 vertical menu bar.  As you know, the css styles for the menubar takes up a lot of space in the header of the source code.  I would like to have a link to it in a separate css style sheet.  How do I do this.  In the widget scripting?
Jeannette

Okay, I got it to link.  I just put a link to the style sheet in the header and it found it.  The problem I am having now is getting it to act right. I'll keep working on it.

Similar Messages

  • Using a style sheet with hbj:link

    Hi guys,
    I'm looking for a way to use a style sheet that I've created in my jsp with an hbj:link tag. Here's my style sheet:
    <STYLE type="text/css">
    a.button
    a.button:active, a.button:focus, a.button:hover
    </STYLE>
    Here's my link:
    <hbj:link
         id="<%=linkId%>"
         text="Sign Me Up"
         tooltip="<%=toolTip%>"
         onClick="signupLinkClick"
         linkDesign="REPORTING"
         >
    </hbj:link>
    I've tried wrapping an <a href="#" class="button"> tag around the hbj:link tag, but that didn't work. Any ideas?
    Thanks!
    -Stephen Spalding
    Web Developer
    Graybar

    Hi,
    there is a possibility to change the default style, but is not really clean. The browser when rendering a tag uses the last defined style for this tag. So you can redefine it. I used it in a DynPage, it worked ok.
    First run the iview with standard style (normally). Look into the sourc of the page and find your "Sign Me Up" link. Check the class of the <a> tag. For instance it is a "urLnk".
    Now just modify your style definition:
    <STYLE type="text/css">
    urLnk.button {
    padding: 2px 10px 3px 10px;
    border: 2px outset #cccccc;
    background: #C0C0C0;
    color: #000;
    font-size: 11px;
    text-decoration: none;
    height: 19px;
    vertical-align: bottom;
    urLnk.button:active, a.button:focus, a.button:hover {
    border: 2px inset #c0c0c0;
    vertical-align: middle;
    background: #cccccc;
    color: #000000;
    text-decoration: none;
    </STYLE>
    and so on...
    Hope this helps,
    Romano

  • 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

  • Link to External Style Sheet

    How do I link a report to an external style sheet?

    I am assuming you're working within a Defined Local Site Folder.  If not, go to Site > Manage Sites > New...  
    For further details:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WS753df6af718a350a60097e0f131686fa2b4-7ff e.html
    How to attach external CSS files to your HTML pages.
    http://alt-web.com/DEMOS/DW-Link-Stylesheet.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Very strange problem! Disappearing Css Style Sheets plus 404's

    I am creating a fairly simple form and am new to php mysql and jquery. However, I am moderately skilled in css and html.
    I am on a mac with Snow Leopard using dreamweaver CS5. The problem started this morning when I uploaded a preliminary version of my html form page and a php script page.
    Having previewed it with no problems on my local system, I thought my main challenge would arise from stumbling my way through ironing out the scripting. I still have that to look forward to.
    The first anomaly that occurred was that I kept getting 404 errors. After hours of tinkering around and uploading many trimmed down modified variations of the html file, I finally got past the 404 error page.
    However, it only would appear without my css styles. The file was originally linked to a previous css style sheet and is linked to a new one on local system.
    After doing some firebugging, I discovered that my newly uploaded (20 times) html file was still linked to the previous phantom, css style sheet on the server as well as a previous php file that I had linked to in development stages.Both of which are not on the server. So I uploaded the whole bunch of them again and got the same result. Nothing changed. All the css styles are still there but not.
    I know what you're thinking, it's impossible.
    The only explanation I can come up with is that my linux apache server is putting my files in a nonexistent temp folder. And for some reason the my site.css file is not being overwritten or removed at all.
    I then uploaded new versions of the html file with different names, thinking on an off chance that the file name 'contactform' might have something to do with the problem.
    You know what happened the newly named files triggered a 404 once again.
    It doesn't make since to me! I am totally stumped!
    My site is http://www.zoeinjewels.com and the page in question is http://www.zoeinjewels.com/contactform.html
    I am really behind schedule so your help would be most appreciated.
    Thanks

    Your CSS file as wel as both of your JS files are corrupt.
    Re-upload these three files and your problem is solved.
    To give you an idea of what your online CSS file looks like
    http://www.zoeinjewels.com/contactform.html
    http://www.zoeinjewels.com/_ccs/contact3.css
    <!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>404.shtml</title>
    <link href="_ccs/errorpage.css" rel="stylesheet" type="text/css" />
    </head>
    <div id="wrapper">
    <div id="header">
    <h1><span></span>File Not Found<a name="top" id="top"></a></h1>
    </div>
    <div id="blback">
    <ul id="nav">
    <li><a href="#" class="Home">Home</a>
    <ul>
    <li><a href="index.html">Home</a></li>
    </ul>
    </li>
    <li><a href="#">Welcome Lounge</a>
    <ul>
    <li><a href="welcome/index.htm" title="Entry Lounge">Entry Lounge</a></li>
    <li><a href="aboutzoein/index.html" title="About Zoein">About Zoein</a></li>
    <li><a href="aboutzoein/shunyata/aboutshunyata.html" title="About Shunyata">About Shunyata</a></li>
    <li><a href="aboutzoein/media-book/index.html" title="In The Press">In The Press</a></li>
    <li><a href="aboutzoein/media-book/peoplespeak.html" title="People Speak">People Speak</a></li>
    </ul>
    </li>
    <li><a href="#" class="JewelGallery">Jewel Gallery</a>
    <ul>
    <li><a href="jewelgallery/p27.htm" title="Z Garlands">Garlands</a></li>
    <li><a href="jewelgallery/p51.htm" title="Z Rings">22k Rings</a></li>
    <li><a href="jewelgallery/p01.htm" title="Z Bracelets">Bracelets</a></li>
    <li><a href="jewelgallery/p79.htm" title="Z Pendants">Pendants</a></li>
    <li><a href="jewelgallery/p79.htm" title="Z Brooches">Brooches</a></li>
    <li><a href="jewelgallery/p09.htm" title="Z Earrings">Earrings</a></li>
    </ul>
    </li>
    <li><a href="#" class="ContactCenter">Contact Center</a>
    <ul>
    <li><a href="contact.html">Bali Studio</a></li>
    </ul>
    </li>
    </ul>
    <div id="content_r">
         <h6><span></span>
         <div id="title">Sorry, the file you were looking for could not be found. It may have moved to a new location. Please use the navigation menu above to help you locate the file.</div>
        </h6>
          <div id= "topimage"></div>
       <div id="notfound"></div>
        <div id="text">
    <p>"Sacred Geometry is the foundation of their jewelry designs and symbols are drawn from all the different traditions the world has to offer. Each precious piece endeavors to express three symbolic levels-the common, the educated and the spiritual-with careful selection of each stone to reflect meaning and value... The design and creative process is not a brief one. Each conscientious step reflects a careful and significant thought process. According to Shunyata "Every moment isinspired by the wealth, rhythm and miraculous spectrum of creation."</p>
    </div>
    </div>
    </div>
    </body>
    </html>
    I hope this helps.
    Ben

  • How can I get the link not to override my style sheet formatting?

    I have an html page with text that has a style sheet applied
    to it. When I insert a link into parts of the formatted text, the
    style sheet formatting is lost in the linked text (the text for
    mylars, shapes and number shapes becomes smaller: see code below).
    How can I get the link not to override my style sheet
    formatting?
    Here is the html code I am referring to:
    <span class="bodyheader20pt">Fall into winter's biggest
    celebration with our New Year's Day <a href="
    http://www.usballoon.net/web/default.asp?pagename=mg_cls&mg=A9&mg2=&cl=A4&sc=184&PageNumbe r=1"
    style="text-decoration:none">mylars</a>, <a href="
    http://www.usballoon.net/web/default.asp?pagename=mg_cls&mg=A9&mg2=&cl=L2&sc=184&PageNumbe r=1"
    style="text-decoration:none">shapes</a>, and 2-0-0-9 <a
    href="
    http://www.usballoon.net/web/default.asp?pagename=mg_cls&mg=A9&mg2=&cl=L2&sc=166&PageNumbe r=1"
    style="text-decoration:none">number
    shapes</a>.</span>
    I am using Dreaweaver CS3 on a Mac running OSX
    10.4.11.

    Show us this rule --> bodyheader20pt?
    Also, having this in your three anchor tags -
    style="text-decoration:none" -
    will prevent your anchors from displaying any stylesheet
    style for
    text-decoration.
    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
    ==================
    "ellfwar" <[email protected]> wrote in
    message
    news:geqiph$foq$[email protected]..
    >I have an html page with text that has a style sheet
    applied to it. When I
    > insert a link into parts of the formatted text, the
    style sheet formatting
    > is
    > lost in the linked text (the text for mylars, shapes and
    number shapes
    > becomes
    > smaller: see code below).
    >
    > How can I get the link not to override my style sheet
    formatting?
    >
    > Here is the html code I am referring to:
    > <span class="bodyheader20pt">Fall into winter's
    biggest celebration with
    > our
    > New Year's Day <a
    > href="
    http://www.usballoon.net/web/default.asp?pagename=mg_cls&mg=A9&mg2=&cl=A4&
    > sc=184&PageNumber=1"
    style="text-decoration:none">mylars</a>, <a
    > href="
    http://www.usballoon.net/web/default.asp?pagename=mg_cls&mg=A9&mg2=&cl=L2&
    > sc=184&PageNumber=1"
    style="text-decoration:none">shapes</a>, and 2-0-0-9
    > <a
    > href="
    http://www.usballoon.net/web/default.asp?pagename=mg_cls&mg=A9&mg2=&cl=L2&
    > sc=166&PageNumber=1"
    style="text-decoration:none">number
    > shapes</a>.</span>
    >
    > I am using Dreaweaver CS3 on a Mac running OSX 10.4.11.
    >

  • 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>

  • 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

  • Link style sheet to .html file?

    Hey dreamweaver community i'm really new to dreamweaver but have a slight grasp.
    But i am creating a website (ethicistbeats.com). I have a design by using a css. style sheet and everything looks good in dreamweaver safari preview (on a mac), but when i upload it to my ftp client my designs/ format of my page does not show up, at all.
    If you guys could reply and try to help me out that would be cool. i tried talking to one pf my friends who took a class on html code, but he couldn't help me.
    Anyways, thanks in advance.
    If you guys need more info about code and stuff i'll gladly upload it. Just again i'm new to this so i don't really know much... i just dove into dreamweaver like a need a webpage, not much help, but my site wasmade from a template - not sure if that helps.
    Peace.

    Unfortunatly, you have quite a mess on your hands.  First you have embedded css above the external style sheets, which takes away one of the big advantages of embedded css, namely to override any rules in the external style sheet.
    <style type="text/css">
    .A {
         color: #E12000;
    .b {
         color: #000;
    </style>
    But that is peanuts to the other probelms,
    Your style sheets are not css files, they appear to be an html file.  To create an external style sheet, go up to File | New | CSS and a new CSS blank file will be created.  Paste your css rules into it.
    You have
    <link href="http://www.ethicistbeats.com.css" rel="stylesheet" type="text/css" />
    While I suppose you could link using an absolute link, I dont see an advantage,
    but it would be more like
    <link href="http://www.ethicistbeats.com/stylesheet.css" rel="stylesheet" type="text/css" />
    a better way would be
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    This is not a style sheet, but another html file.
    <link href="Index.html.css" rel="stylesheet" type="text/css" />
    Take whatever css is in the files and put them into a new css file.
    Start there, but there is more work to do.
    gary

  • Link error to style sheet

    Hi,
    Could you have a look and see why I am getting an error in my link to the style sheet.
    http://www.bench-buddy.ca
    It says:
    Found 3 errors in oneColFixCtrHdr.css  Affects: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Netscape 8.0; Opera 8.0, 9.0; Safari 2.0
    Thank you,
    Em

    It says:
    What says???
    This is your page thru the validators, see if that helps.
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bench-buddy.ca&charset=%28detect+automa tically%29&doctype=Inline&group=0
    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.bench-buddy.ca&profile=c ss21&usermedium=all&warning=1&lang=en
    Gary

  • Unexpected error when linking CSS style-sheet

    I have been working on this site for over a month now. I have
    a linked external CSS style sheet and everything has been working
    seamlessly between Dreamweaver and the web. Today, I tried to
    create a template and then disliked it, so I deleted it. After
    doing that, my CSS rules were no longer displaying properly EVEN
    THOUGH my formatting and everything has remained the same.
    I have a feeling there is something cached behind the scenes
    that is messing this all up. Community assistance is greatly
    appreciated. This is not the first time I've been unable link a CSS
    stylesheet.

    upload the page and post a link, please.
    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
    ==================
    "rausch_g" <[email protected]> wrote in
    message
    news:f7im8a$7u4$[email protected]..
    > This is not a display issue with the toolbar. There is
    clearly a
    > stylesheet
    > attached in the header; however, in Dreamweaver when I
    look in the
    > "properties"
    > panel while in CODE VIEW, it says there are no styles
    and no attached
    > style
    > sheet. When I try to attach my style sheet, it says, "An
    unexpected error
    > occured while trying to read style-sheet information."
    There are no
    > errors on
    > my style sheet, so I am unsure how to fix this.
    >

  • 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

  • Problem linking css style sheet

    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 CFTtemp.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.  This css sheet works in other sites.
    screen shot attached

    Perhaps some CSS statement in the stylesheet is trying to import your stylehseet! Thus the recursive warning. Look for "@import" statements and see if its trying to import the stylesheet. Then either comment them out (/*your old CSS*/) or remove it. Save. And see if that solves it. But not being able to see your whole stylesheet, this is only a guess.

  • Linked style sheets

    is there a way to create a style sheet (paragraph, character styles) that you can link to in multiple documents? And then you only have to change one document to affect all the other documents?

    Not that I know of without scripting.
    The character style flyout menu to load character styles does not even replace existing ones. Only method I know of is to make a text box with a sample of all your character styles, then paste that into each document and redefine each character style individually.

  • Linking Cascading Style Sheets to a Servlet

    Can anyone tell me if it's possible to include a Cascading Style Sheet in a Servlet? I know this can be done in a JSP file. But I need to be able to do this in a Servlet.
    Please point me in the right direction if this is possible. Below is the sample code that I wrote, but it doesn't work.
    cssURL = "../jsp/drawingsQueryCSS.css";
              RequestDispatcher dispatch = getServletContext().getRequestDispatcher(cssURL);
              dispatch.include(request, response);
    I appreciate your help,
    Dar

    It looks like you are trying to copy the contents of the CSS file into your servlet response. Why not just write out a link to the CSS file in the header of your HTML? Mine looks like this:
    <meta http-equiv="Content-Style-Type" content="text/css"/>
    <link href="../nav_style.css" rel="stylesheet" type="text/css"/>

Maybe you are looking for

  • OS X Mavericks won't download.  Why?

    Thanks to a member of the community, I found OS X Mavericks (I'd forgotten that Macs had a separate app store).  Before writing I'd already checked my system should accept Mavericks: Genius told me my computer was compatible (had a new battery put in

  • Nokia Lumia 2520 USB 3.0

    Looking for a functioning Micro USB 3.0 adapter for the 2520. I've tested different cable adapter. The most are working, but without the full USB 3.0 power. I get only 2.0 speed. Does anyone have a suggestion for me much light?

  • How can I get my iPod to connect to the app store again?

    Hi, my iPod touch 4th generation is not connecting to the app store. I put an app i would like to get and it loads for a few minutes and then says cannot connect to app store. Does anyone have any ideas of what I can do?

  • Connect oracle forms to sql server 2000

    Kindly tell me what kinds of scripts i have to install in SQL Server.

  • Ever since I installed IOS 8, I cannot upload photos

    Ever since I installed IOS 8, I cannot upload photos to Kijiji.