Image Rollovers with css

I'm trying to have an image where as you roll over it the
border colour changes. The problem is the code works in firefox and
opera but not in Internet Explorer. In Internet Explorer the hover
part doesn't work at all. Thanks in advance for any help.

IE only does the :hover pseudo-class on links.
Try making the images into links and adding the link to the
selector -
> #rightlink a img{
> border: 1px solid red;
> }
> #rightlink a:hover img{
> border: 1px solid blue;
> }
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
==================
"spd998" <[email protected]> wrote in
message
news:fhuqo2$noj$[email protected]..
> I'm trying to have an image where as you roll over it
the border colour
> changes. The problem is the code works in firefox and
opera but not in
> Internet
> Explorer. In Internet Explorer the hover part doesn't
work at all. Thanks
> in
> advance for any help.
>
> #rightlink img{
> border: 1px solid red;
> }
> #rightlink:hover img{
> border: 1px solid blue;
> }
>

Similar Messages

  • Image Rollovers w/ CSS

    I know how to make rollovers with CSS using a background
    image and browser
    text, but how would I use CSS to make rollover buttons from
    images (text and
    button are one image)?
    Brandon
    ==================
    Presentations Direct - Binding Machines, Laminators and Paper
    Shredders
    http://www.presentationsdirect.com
    ==================

    I know how to do that . . . I was hoping to use CSS though
    instead of
    Javascript.
    Brandon
    ==================
    Presentations Direct - Binding Machines, Laminators and Paper
    Shredders
    http://www.presentationsdirect.com
    ==================
    "Nancy - Adobe Comm. Expert" <[email protected]> wrote
    in message
    news:eqg14v$860$[email protected]..
    > Just have two images for each button .. one is the
    button untouched and
    > the other is the hover state. Then just use the Rollover
    Image object
    > from the Object bar and fill in the blanks. DW will do
    the rest and code
    > the swap.
    >
    >
    > --
    > Nancy Gill
    > Adobe Community Expert
    > Author: Dreamweaver 8 e-book for the DMX Zone
    > Co-Author: Dreamweaver MX: Instant Troubleshooter
    (August, 2003)
    > Technical Editor: DMX 2004: The Complete Reference, DMX
    2004: A
    > Beginner''s
    > Guide, Mastering Macromedia Contribute
    > Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced
    PHP Web
    > Development
    >
    >
    >
    >
    > "Brandon" <[email protected]>
    wrote in message
    > news:eqg076$74j$[email protected]..
    >>I know how to make rollovers with CSS using a
    background image and browser
    >>text, but how would I use CSS to make rollover
    buttons from images (text
    >>and button are one image)?
    >>
    >> --
    >> Brandon
    >>
    >> ==================
    >> Presentations Direct - Binding Machines, Laminators
    and Paper Shredders
    >>
    http://www.presentationsdirect.com
    >> ==================
    >>
    >>
    >>
    >
    >

  • Can someone help me and explain how to affect hotspot/image map with css rules or any other way?

    i have problem with hotspot because its position cant be fixed to follow the proportion of the fixed background in different resoulutions.

    You can't affect hotspots at all with css. Here are a couple different options you have available though...
    You could try using multiple images that scale, linking each individual image, instead of hotspots.
    You could also look into "responsive image maps" to get quite a few examples of jquery/javascript run image maps that can be scaled.
    Depending on your image, (for example, if you are linking states on a map) you would be able to use SVG paths and link the paths with javascript.

  • Image rollovers with Spry fade possible?

    Does anyone know of a way to implement the Spry Fade effect
    so that the result is an image that will fade onmouseover and fade
    out onmouseout?
    Ideally I would use .hover, but this is not available, so I
    have to use onmouseover and onmouseout.
    The problem with this is that if you roll out of the image
    before the fade is complete, when you roll in again, the image
    starts the fade again and does not fade from where it had gotten
    to.
    I could use setInterval and clearInterval, but I was hoping
    that Spry would have a good, fast work around.
    Basically I want a button image that fades seamlessly when
    you rollover it.
    Many thanks.

    quote:
    Originally posted by:
    wriggs
    Does anyone know of a way to implement the Spry Fade effect
    so that the result is an image that will fade onmouseover and fade
    out onmouseout?
    Ideally I would use .hover, but this is not available, so I
    have to use onmouseover and onmouseout.
    The problem with this is that if you roll out of the image
    before the fade is complete, when you roll in again, the image
    starts the fade again and does not fade from where it had gotten
    to.
    I could use setInterval and clearInterval, but I was hoping
    that Spry would have a good, fast work around.
    Basically I want a button image that fades seamlessly when
    you rollover it.
    Many thanks.
    Hi, I have no relevant eixperience with the Spry ajax
    framework, but it can be solved with
    mootools framework easily.
    <img src="yourbutton" id="button" onmouseover="fadein();"
    onmouseout="fadeout();"/>
    <script>
    function fadein() {
    new Fx.Style( "button", 'opacity', {duration: 1000 }
    ).start(0.5,1);}
    function fadeout() {
    new Fx.Style( "button", 'opacity', {duration: 1000 }
    ).start(1,0.5);}
    </script>
    Of course you will need to set the 0.5 opacity property via
    css.
    Regards
    Bagi Zoltán

  • Image gallery with CSS menu

    I have a image gallery (slideshow) created with Flash and
    XML. My website uses a css/javasript dropdown menu for navigation.
    The dropdown menu is hiding behind the slideshow no matter what I
    set it's z-index to. Is there something in flash that lets me set
    its z-index? I could jsut drop the menu off of the page and give a
    return link but that is a workaround and I would much rather stay
    consistent with my site. Any help that could be given would be
    appreciated.
    Mark V.

    "mvanneman" <[email protected]> a écrit
    dans le message de news:
    f9ssu4$346$[email protected]..
    >I have a image gallery (slideshow) created with Flash and
    XML. My website
    >uses
    > a css/javasript dropdown menu for navigation. The
    dropdown menu is hiding
    > behind the slideshow no matter what I set it's z-index
    to. Is there
    > something
    > in flash that lets me set its z-index? I could jsut drop
    the menu off of
    > the
    > page and give a return link but that is a workaround and
    I would much
    > rather
    > stay consistent with my site. Any help that could be
    given would be
    > appreciated.
    try to embed your movie with wmode="transparent"
    lea

  • Align image left with css

    Hi, I have a simple question. I am using the following line
    in my css file to apply a background image to a canvas:
    Canvas {
    background-image:
    Embed("/images/Icons_Final/connected.png");
    What would I do to align that image to the left of the
    canvas. I can't seem to find any documentation on these specific
    types of properties within CSS. Also, if anyone could point me
    toward a nice concise list of all the properties available in
    FLEX's CSS, I would greatly appreciate it. Thanks!

    CSS is not a substitute for HTML, it is a styling
    companion… it stands for Cascading STYLE Sheets… It is
    a method to apply uniform styles to a page or all of your pages on
    your site. You still need to use the full functionality of HTML or
    graduate to PHP, SQL, or other methods of adding functionality to
    your site.
    As for animated image links… use animated .gif files
    and just apply a link to it. You will get all kinds of advice and
    opinions on whether animated .GIFs are appropriate, classy, ugly or
    tacky… but if animated links are what you want, they work.
    If you want animation in the sense of Flash buttons, buttons
    that blink, change colors, images, etc. when moused over or
    clicked, you can use CSS for this effect.
    Make 2 to 4 images with your graphics editor, sized to fit as
    background images behind text. Try 100x15 pixels to start. Then put
    this code in your CSS file for links:
    .left a:link {
    color: #FFF;
    .left a:visited {
    color:#CCC;
    .left a:hover {
    color: #FF6699;
    background-image: url(images/left-hover.jpg);
    .left a:active {
    color: #F00;
    background-image: url(images/left-hover.jpg);
    I used this to define a left side and right side set of
    links, but you could apply this to all your links or just a named
    set.
    This will produce links that can very closely approximate
    flash buttons but still maintain a text based link that can be read
    by the search engine browsers.
    Hope this is helpful…

  • Spry dataset problem. Image dimensions with css

    Hey guys.
    I'm new to spry, and not an experienced web designer with beginner knowledge in programming.
    I am using a spry data set to make a blog kind of interface. I'm using a master/detail layout from the Dreamweaver presets. I am using html, not xhtml and dreamweaver cs4.
    I want to change the dimensions of the images in the detail container. I would like to use the max-width command. I have tried using an id tag on the image detail column and using the width command on it with little luck.
    How can I do this. Using css is a must, because I'll be using InContext Editing so other users can upload images and posts. So they won't have to worry about the dimensions.
    Thanks alot.
    Helgi

    I forgot to mention one other problem
    The layout that I sketched up is the one I am going for. So a tip on how to get the text and the headings to flow around the image like shown in the picture would be greatly appreciated. Is it recommended to use tables inside div tags or spry for that matter?
    Thanks a million.

  • How to set image border with CSS Designer?

    I must be missing something obvious...
    I need to set an image border. I select the image. But I don't see any relevant inline style option in CSS Designer.
    It only lets me change <inline style> : td but there's no option for the image.
    What am I missing?
    Thanks,
    Leo

    Thanks John,
    Yes, obviously I select the image.
    However, it doesn't change anything.
    I don't get the "img" selector whatever choice I select it the Sources pane.
    What am I missing?

  • Image border with CSS

    This is probably something simple I'm missing. I want to
    create a thin border using CSS that will go around images. But it
    needs to be able to resize as needed to the particular image.
    I can obviously create a border of a particular size, but is
    there a way to create one that will resize around the image? "Auto"
    for the size just gives me a box that stretches across the page.
    -Jesse

    img { border:1px solid black; }
    This will create a thin, black border around all images
    regardless of their
    dimensions.
    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
    ==================
    "JesseLY" <[email protected]> wrote in
    message
    news:fnl6sg$jki$[email protected]..
    > This is probably something simple I'm missing. I want to
    create a thin
    > border
    > using CSS that will go around images. But it needs to be
    able to resize as
    > needed to the particular image.
    >
    > I can obviously create a border of a particular size,
    but is there a way
    > to
    > create one that will resize around the image? "Auto" for
    the size just
    > gives me
    > a box that stretches across the page.
    >
    > -Jesse
    >
    >

  • New CSS Rollovers not align same as Image Rollovers - Dreamweaver CC

    I have put together a test page replacing Javascript Image Rollovers for CSS Image Rollovers and the alignment of items in the 3 columns (DIVS) is not the same as when old style rollovers. I cannot seem to find the error in my CSS and would like another pair of eyes to see if I'm missing something. Here is the screenshot of new page from Firefox, followed by the CSS. Images are loading into #sidebar1 (left column), #sidebar2 (right column) and #MainContent. #MainContent seems off centered and #sidebar outside margins are different. Any help would be greatly appreciated.
    CSS:
    <style type="text/css">
    <!--
    body {
        font: 81.3% Verdana, Arial, Helvetica, sans-serif;
        background: #666666;
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #000000;
    .oneColFixCtrHdr #container {
        width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
        background: #FFFFFF;
        margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
        border: 1px solid #000000;
        text-align: left; /* this overrides the text-align: center on the body element. */
    .oneColFixCtrHdr #header {
        background: #DDDDDD;
        padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    .oneColFixCtrHdr #header h1 {
        margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
        padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    .oneColFixCtrHdr #mainContent {
        background: #FFFFFF;
        width: 200px;
        margin-top: 0;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 0px;
    .oneColFixCtrHdr #sidebar1, #sidebar2, #mainContent {
        text-align: center;
        width: 200px;
        padding-top: 0px;
        padding-right: 30px;
        padding-bottom: 0;
        padding-left: 30px;
    .oneColFixCtrHdr #footer {
        padding: 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
        background:#CFAF86;
        clear:both
    .teammembers #nav #teammembers a {
        color: #FFF;
    .oneColFixCtrHdr #memberdues {
        padding-right: 315px;
        padding-left: 315px;
    .oneColFixCtrHdr #footer p {
        margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
        padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
        text-align: center;
        letter-spacing: 4px;
    #container #nav {
        line-height: 2em;
        font-weight: normal;
        background-color: #CFAF86;
        text-align: center;
        margin: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-right: 10px;
        list-style-type: none;
        padding-left: 10px;
    #container #nav li {
        font-weight: bold;
        display: inline;
        padding-top: 0px;
        padding-right: 10px;
        padding-bottom: 0px;
        padding-left: 10px;
    #container #nav li a {
        color: #000;
        text-decoration: none;
    #container #nav li a:hover {
        color: #FFF;
        text-decoration: none;
    .renegadestext {
        font-style: italic;
        font-weight: bold;
        color: #000;
    .oneColFixCtrHdr #AboveMainContent {
        padding-top: 0px;
        padding-right: 20px;
        padding-bottom: 0px;
        padding-left: 20px;
    .oneColFixCtrHdr #AboveMainContent h2 {
        text-align: center;
    .oneColFixCtrHdr #sidebar1 {
        background-color: #FFF;
        float: left;
        width: 200px;
    .oneColFixCtrHdr #sidebar2 {
        background-color: #FFF;
        float: right;
        width: 200px;
    #thomasbarber {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/thomas_barber.gif);
         background-repeat: no-repeat 0 0;
    #thomasbarber:hover {
        background-position: 0px -50px;
    #thomasbarber span {
        position: absolute;
        top: -999em;
    #janetbarber {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/janet_barber.gif);
         background-repeat: no-repeat 0 0;
    #janetbarber:hover {
        background-position: 0px -50px;
    #janetbarber span {
        position: absolute;
        top: -999em;
    #karenallen {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/karen_allen.gif);
         background-repeat: no-repeat 0 0;
    #karenallen:hover {
        background-position: 0px -50px;
    #karenallen span {
        position: absolute;
        top: -999em;
    #davidboudreaux {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/david_boudreaux.gif);
         background-repeat: no-repeat 0 0;
    #davidboudreaux:hover {
        background-position: 0px -50px;
    #davidboudreaux span {
        position: absolute;
        top: -999em;
    #melbahanna {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/melba_hanna.gif);
         background-repeat: no-repeat 0 0;
    #melbahanna:hover {
        background-position: 0px -50px;
    #melbahanna span {
        position: absolute;
        top: -999em;
    #kentunderwood {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/kent_underwood.gif);
         background-repeat: no-repeat 0 0;
    #kentunderwood:hover {
        background-position: 0px -50px;
    #kentunderwood span {
        position: absolute;
        top: -999em;
    #shawntrainor {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/shawn_trainor.gif);
         background-repeat: no-repeat 0 0;
    #shawntrainor:hover {
        background-position: 0px -50px;
    #shawntrainor span {
        position: absolute;
        top: -999em;
    #eddieokonski {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/eddie_okonski.gif);
         background-repeat: no-repeat 0 0;
    #eddieokonski:hover {
        background-position: 0px -50px;
    #eddieokonski span {
        position: absolute;
        top: -999em;
    #scotthartman {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/scott_hartman.gif);
         background-repeat: no-repeat 0 0;
    #scotthartman:hover {
        background-position: 0px -50px;
    #scotthartman span {
        position: absolute;
        top: -999em;
    #titoescobar {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/tito_escobar.gif);
         background-repeat: no-repeat 0 0;
    #titoescobar:hover {
        background-position: 0px -50px;
    #titoescobar span {
        position: absolute;
        top: -999em;
    #debbiehanna {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/debbie_hanna.gif);
         background-repeat: no-repeat 0 0;
    #debbiehanna:hover {
        background-position: 0px -50px;
    #debbiehanna span {
        position: absolute;
        top: -999em;
    #robertbarber {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/robert_barber.gif);
         background-repeat: no-repeat 0 0;
    #robertbarber:hover {
        background-position: 0px -50px;
    #robertbarber span {
        position: absolute;
        top: -999em;
    #gregallen {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/greg_allen.gif);
         background-repeat: no-repeat 0 0;
    #gregallen:hover {
        background-position: 0px -50px;
    #gregallen span {
        position: absolute;
        top: -999em;
    #johnmcclung {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/john_mcclung.gif);
         background-repeat: no-repeat 0 0;
    #johnmcclung:hover {
        background-position: 0px -50px;
    #johnmcclung span {
        position: absolute;
        top: -999em;
    #miketisdel {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/mike_tisdel.gif);
         background-repeat: no-repeat 0 0;
    #miketisdel:hover {
        background-position: 0px -50px;
    #miketisdel span {
        position: absolute;
        top: -999em;
    #butchhanna {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/butch_hanna.gif);
         background-repeat: no-repeat 0 0;
    #butchhanna:hover {
        background-position: 0px -50px;
    #butchhanna span {
        position: absolute;
        top: -999em;
    #kimberlyshepherd {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/kimberly_shepherd.gif);
         background-repeat: no-repeat 0 0;
    #kimberlyshepherd:hover {
        background-position: 0px -50px;
    #kimberlyshepherd span {
        position: absolute;
        top: -999em;
    #katrinabartkowiak {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/katrina_bartkowiak.gif);
         background-repeat: no-repeat 0 0;
    #katrinabartkowiak:hover {
        background-position: 0px -50px;
    #katrinabartkowiak span {
        position: absolute;
        top: -999em;
    #michelehartman {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/michele_hartman.gif);
         background-repeat: no-repeat 0 0;
    #michelehartman:hover {
        background-position: 0px -50px;
    #michelehartman span {
        position: absolute;
        top: -999em;
    #aliciaallen {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/alicia_allen.gif);
         background-repeat: no-repeat 0 0;
    #aliciaallen:hover {
        background-position: 0px -50px;
    #aliciaallen span {
        position: absolute;
        top: -999em;
    #melissalockwood {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/melissa_lockwood.gif);
         background-repeat: no-repeat 0 0;
    #melissalockwood:hover {
        background-position: 0px -50px;
    #melissalockwood span {
        position: absolute;
        top: -999em;
    #rustyhanna {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/rusty_hanna.gif);
         background-repeat: no-repeat 0 0;
    #rustyhanna:hover {
        background-position: 0px -50px;
    #rustyhanna span {
        position: absolute;
        top: -999em;
    #karenbarber {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/karen_barber.gif);
         background-repeat: no-repeat 0 0;
    #karenbarber:hover {
        background-position: 0px -50px;
    #karenbarber span {
        position: absolute;
        top: -999em;
    #chrishillman {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/chris_hillman.gif);
         background-repeat: no-repeat 0 0;
    #chrishillman:hover {
        background-position: 0px -50px;
    #chrishillman span {
        position: absolute;
        top: -999em;
    #frankmarshall {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/frank_marshall.gif);
         background-repeat: no-repeat 0 0;
    #frankmarshall:hover {
        background-position: 0px -50px;
    #frankmarshall span {
        position: absolute;
        top: -999em;
    #dorisboudreaux {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/doris_boudreaux.gif);
         background-repeat: no-repeat 0 0;
    #dorisboudreaux:hover {
        background-position: 0px -50px;
    #dorisboudreaux span {
        position: absolute;
        top: -999em;
    #johnburkett {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/john_burkett.gif);
         background-repeat: no-repeat 0 0;
    #johnburkett:hover {
        background-position: 0px -50px;
    #johnburkett span {
        position: absolute;
        top: -999em;
    #lisaburkett {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/lisa_burkett.gif);
         background-repeat: no-repeat 0 0;
    #lisaburkett:hover {
        background-position: 0px -50px;
    #lisaburkett span {
        position: absolute;
        top: -999em;
    #andreagordon {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/andrea_gordon.gif);
         background-repeat: no-repeat 0 0;
    #andreagordon:hover {
        background-position: 0px -50px;
    #andreagordon span {
        position: absolute;
        top: -999em;
    #jeffwilliams {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/jeff_williams.gif);
         background-repeat: no-repeat 0 0;
    #jeffwilliams:hover {
        background-position: 0px -50px;
    #jeffwilliams span {
        position: absolute;
        top: -999em;
    #taylordavis {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/taylor_davis.gif);
         background-repeat: no-repeat 0 0;
    #taylordavis:hover {
        background-position: 0px -50px;
    #taylordavis span {
        position: absolute;
        top: -999em;
    #leearnold {
        display: block;
        width: 150px;
        height: 50px;
        background-image: url(images/lee_arnold.gif);
         background-repeat: no-repeat 0 0;
    #leearnold:hover {
        background-position: 0px -50px;
    #leearnold span {
        position: absolute;
        top: -999em;
    -->
    </style>

    The text isn't centered within the containers for two reasons.
    1. Their display is set to block and
    2. There is nothing telling them to be centered
    One way to fix it would be to change the <a> tags to inline-block and add text-align:center to their parents and everything should center nicely within the columns.

  • Spry Photo Gallery Image Size via CSS

    Hello!
    I´ve been customizing the spry photo gallery for a couple of time, but got my little problem when viewing it on a mobile phone. When you load up the pictures with a size of 450 x 300 px for example, put up the right xml file with it´s width and height, so the gallery shows the pictures in that size. So what I want to do is that you can specify the image size with css depending on the device you´re watching the site with. There is div in the css called "mainImage" where the size is in %. When you change it to 75% for example. The pictures are correctly shown with 75% of it´s original size, but the outline (grey background) is still in 100%. When you make this grey background transparent it´s still there and moves the caption down. I guess there have to be done some changes within the SpryImageViewer.js, but I just know very little things about JavaScript. Do you have any clues how to change this to specify the image size via CSS?
    Thank you for your help!!!
    Kind regards,
    Joerg

    I see you are still using Spry 1.5. Have you considered upgrading to 
    Spry 1.6.1?
    Also your XML is broken, if you open up your xml in a normal standards 
    complaint browser such as firefox, you will see that it doesn't render
    a normal tree view as it would do with other xml files. So i suggest 
    checking those errors out.
    Its mainly because you  forgot to close your starting tag of the 
    gallerys node. (<gallery
    base = ""
    background = "#FFFFFF"
    banner = "#F0F0F0"
    text = "#000000"
    link = "#0000FF"
    alink = "#FF0000"
    vlink = "#800080"
    before your xml starts.

  • How I can change the theme using with css

    How I can change the flex theme and images  using with css ?

    Bonjour ixixix2006
    Perhaps you will find your bonheur here:
    http://nonlinear.openspark.com/tips/scripts/localisation/index.htm
    Cheers,
    James

  • Horizontal menu with horizontal sub menu using image rollovers or similar

    Hello,
    I am brand new to web design and working on my first site.  What I lack in skills, I have in free time to learn right now : ) Please let me know if there is a tutorial or other resource that describes what I am trying to do...I've been searching for days and just can't find what I'm after.
    The design concept is a menu of main categories that apear to be floating over an object.  When you hover over one, it looks like it gets pressed down in space resulting in the next line populating with subcategories to be selected.  If you click on the main elements, you would be directed to that page - Services for instance.  If you just hovered over a main category, you would be presented with a list of sub-categories that behave in the same fashion.  If you then clicked on one of the sub-categories, you would be taken to that specific page.
    Here's a sequence of images that show what I'm after.
    I built all this in Illustrator as described in a Lynda.com tutorial.  I then exported slices to dreamweaver and started building content.  Each of the categories and sub categories is a separate slice with images built for the rollovers.  I was able to build the main categories and get them to visually sink upon using an imageswap...now I'm stuck on how to get the second line to behave as I described.
    This is a fun learning experience.  Let me know if there is a better way to achieve the design.  I just stared investigating SSIs as well and see the value in having this menu in just one place, referenced into all my subsequent pages.  I have successfully embeded an SSI footer with rollovers on my page, but this menu problem is really tough for me.
    I really appreciate any pointers.
    Thanks,
    Jeff Prince

    I tried building a Spry Horizontal menu to get what I want, but I had no success there.  Any tips for that?
    On a separate note...I do not know if it is proper to use a 'tabbed panel' for my menu project, but it seems to work fine.  I have built both the top (main category) and bottom (sub category) lines of my menu using spry with .png image rollovers.
    Now I just need to find out how to make the main category button rollover stay 'down' while browsing the subcategories.  I would also like to get the subcategories to populate upon mouseover of the main category, without requiring a selection.  Now that would be slick : )  In my example above, the 'services' title should be depressed while in that submenu and look like 'landscape design'.
    One minor problem is the space created between my subcategory images.  I can't find the .css or .js that is creating that space.  I've really trimmed down all the .css and do not know where else to hunt.
    Thanks for any advice,
    Jeff

  • CSS disjointed rollovers with animation?

    im redesigning my site and for some reason my rollovers arent working. the top two thumbs are active.. nike and coke:
    http://www.toddheymandirector.com/SPOTS/index_2010.html
    would it make sense to try this in CSS? and can CSS do disjointed rollovers with animated gifs?

    They work for me, but you are not doing yourself a favor by letting the QT file auto-play. It will block UI interavctivity in many cases. As for you otehr question - an image is an image. CSS doesn't care whether the format in itself is animated or static.
    Mylenium

  • Do do you use lightbox with CSS rollovers?

    Hi,
    I want to use lightbox with CSS rollovers. I can implement it ok with a sinlge thumbnail but I can't get it to work using the rollovers?
    I want the tumbnail image to be tinted, then when you hover over it it goes to the normal colour image (I have done this and its fine).
    But when I try to activate the lightbox through the rollover it doesn't work.
    Can anyone help please?
    Not too advanced here...lol!
    Regards,
    Martin

    Short answer:  Yes, it is possible.
    See this link for a working demo:
    http://alt-web.com/GALLERY/Photo_Gallery.html
    For better answers, you'll need to post a link to your page.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • Standard Report with IDOC Number and PR number

    Hi My client need the Standard report with the combination fields of "  Purchasing Number , Requirements tracking number in PR, IDOC number , IDOC Processing status. " (Our PR will generates through IDOC from other system via XI interface)

  • How can I convert a numbers' file from iPad to an excel file on macbook pro?

    When I try to open a numbers file from my ipad mini in macbook pro, it appears unformated. How can I solve this situation? I don't have numbers on Macbook pro...is it necessary?

  • R/3 Vendor details in SRM- Report

    Hello all, We have a requirement for creating a report in SRM, which brings in details from R/3 vendor master. This will be a custom report and it would be run by users. The selection and display fields are all from R/3 (LFA1 and LFM1). Can you pleas

  • Parent Child [MSAS cube is not working in BO]

    Hi Does anyone know if the BO is prepared to work with the Parent Child concept? I'm asking that because I've created a universe connected into a MSAS cube and it's not working for hierarchies designed using the parent child concept. When I include t

  • Budget - K022  - PROBLEM IN CURRENT BUDGET

    Hi guys, i have an issue while entering the over all budget in KO22. When i enter over all budget the "current budget  column "is having an impact. (it is adjusting the variance amount  , but not over writing it) but my requirment is it shoudl overwr