Class or Id CSS Image swap

Please watch my CSS image swap. I wonder if I can use an ID rather than in a class and get the same results. If so, how do I change the code?

http://kcfi.biz/swap.html

{#kfcard}

height: 171px;

Width: 316px;

margin: 0;

padding: 0;

background-image:URL(/assets/kfcard/kfcard2.PNG);

}

#kfcard a {}

Display: inline-block;

}

#kfcard img {}

Width: 100%;

height: 100%;

border: 0;

}

#kfcard a: hover {img

visibility: hidden;

}

http://kcfi.biz">/assets/kfcard/kfcard1.png" width = "316" height = "171" >

Tags: Dreamweaver

Similar Questions

  • Substitutes for image swap?

    I want to put a set of thumbnails on a page, so that when the mouse is over a corresponding enlargement appear to change when the mouse is over an another miniature.

    I managed to get this working with the behavior of the image 'swap' of DW, but I wonder if there is a better solution.

    A particular problem in the 'swap' image is that all large images must have the same report of the height and the width as the image of start they get deformed to match this dimension.

    FancyBox 2.1 (the last worm) has many more capabilities than the older ver 1.3 that I used in my demo.  Use the function code works.

    To change the background color (border), open the jquery.fancybox.css file:

    {.fancybox-skin

    position: relative;

    Background: #555; / * This command sets the border color * /.

    color: #444;

    text-shadow: none;

    -webkit-border-radius: 4px;

    -moz-border-radius: 4px;

    border-radius: 4px;

    }

    Nancy O.

  • Text of the position under CSS image gallery

    I do a basic css image gallery that I learned from W3

    the CSS and HTML is listed below

    I've set up and it works fine, I just want to put some text in the Gallery, I'm not legends sense or under images or something like that... I'm done with the image gallery I want to start a new paragraph.

    I tried just to start a new after the Gallery of images with the < p > tags and it lines up right next to the image gallery. I used the < br > tag and still snaps at his side. I can operate using about 6 < p > tags with them, but I know there must be an easier way, then that, just get under the inbetween image gallery.

    Anyone know how?

    Thank you

    < html >

    < head >

    < style type = "text/css" >

    div.img

    {

    margin: 2px;

    border: 1px solid #0000ff;

    height: auto;

    Width: auto;

    float: left;

    text-align: center;

    }

    IMG div.img

    {

    Display: inline;

    margin: 3px;

    border: 1px solid #ffffff;

    }

    div.img a: hover img

    {

    border: 1px solid #0000ff;

    }

    div.DESC

    {

    text-align: center;

    Police-weight: normal;

    Width: 120px;

    margin: 2px;

    }

    < / style >

    < / head >

    < body >

    < div class = "img" >

    < a target = "_blank" href = "klematis_big.htm" >

    < img src = "klematis_small.jpg" alt = "Clematis" width = "110" height = "90" / > "

    < /a >

    < div class = "desc" > add a description to the image here < / div >

    < / div >

    < div class = "img" >

    < a target = "_blank" href = "klematis2_big.htm" >

    < img src = "klematis2_small.jpg" alt = "Clematis" width = "110" height = "90" / > "

    < /a >

    < div class = "desc" > add a description to the image here < / div >

    < / div >

    < div class = "img" >

    < a target = "_blank" href = "klematis3_big.htm" >

    < img src = "klematis3_small.jpg" alt = "Clematis" width = "110" height = "90" / > "

    < /a >

    < div class = "desc" > add a description to the image here < / div >

    < / div >

    < div class = "img" >

    < a target = "_blank" href = "klematis4_big.htm" >

    < img src = "klematis4_small.jpg" alt = "Clematis" width = "110" height = "90" / > "

    < /a >

    < div class = "desc" > add a description to the image here < / div >

    < / div >

    < / body >

    < / html >

    Add the following code after the last image


    GRAMPS

  • CSS image zoom

    I'm looking for a code to help me with css image zoom. I have a portfolio of the miniatures page... I would like to than the images to enlarge when hovered over. And, if possible, with a beautiful white shadow of border and drop can someone direct me to resources for this or guidance? I'm not a simple coder so much better! Thank you.

    Use the tools below and correction of errors in validation of your code.  Add a document type declaration (DTD) in your HTML pages.  Without a DTD, pages make in Quirks mode, which can create unwanted surprises.

    In DW Hit file > convert , and then select a type of document that corresponds to your coding skills - probably 4 HTML Transitional.

    HTML Validator - http://validator.w3.org

    CSS Validator - http://jigsaw.w3.org/css-validator/

    Tutorials HTML & CSS - http://w3schools.com/

    I must mention that you have references to special scripts and stylesheets for IE4 and NN4.  These obsolete browsers for several years now.  You don't need anything like that in your web pages.

    Finally, if I were you, I opened a new basic HTML document.  Start working on your image on this page gallery problems.  Validate the code.  Present your menus and other content a little at a time, and then validate your code.  It is much easier to fix a problem at a time instead of trying to solve all the problems at the same time.

    Good luck

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB
    www.Alt-Web.blogspot.com

  • Problems with CSS/Images accented export in CS4

    Platform Windows, CS4, 10.03 Fireworks

    I installed CSS/Images improved export stuff, but I can't seem to make it work for the following scenario.

    I have a rectangle rounded with a drop shadow and a header at the top content area Central and bottom footer. This is my layout of the desired target. Very very basic.

    1. I have to draw the rounded rectangle using the antiderivative of r - r and give it a drop shadow.
    2. Cut the top of the page header - assigned as a bkgd image.
    3. Cut a small Center for my dynamic content section and assign it as bkgd is repeat.
    4. Cut the foot of page down, assign as a bkgd image.

    fw1.png

    1. CSS export.

    fw2.png

    The resulting HTML code is not what I expect. No matter what I do, in the Middle, repeating the area seems they are assigned as the background for the external div that is generated for the rounded rectangle as you can see here in the capture of the HTML resulting in IE 8.

    fw3.png

    I follow the blogs on these techniques and this technique "tranche 3" is supposed to be supported and FW is supposed to understand what I'm trying to do, but I can't seem to make it work. Can you shed some light on it, or provide the steps to accomplish this quite simple example? I have attached the files PNG, HTML, and CSS resuting.

    The article I am referencing in particular is located here: http://www.adobe.com/devnet/fireworks/articles/standards_compliant_design_03.html and is titled, create web designs with Fireworks CS4 standards.

    Thank you

    Bob

    Try to use rounded rectangle and no rectangle tool and also to avoid the background transparent.

  • Name the image swap - can't find it in the tag Inspector.

    Hello

    I followed a description line how to swap images (mouseover) for a hypertext link. The article said that swap images work better if the images are 'appointed' which is one attribute other than the name of the image file. I was able to appoint the first image, but I've never had a window which allows me to name the image swap. The substitution effect works fine, but I want to follow best practices if the swap image must also be named.

    Where can I get the menu for naming image swap?

    Thank you

    Tom

    Just name the image of the trigger. Select the trigger, apply the
    behavior, find and select the incoming image (by file name!), and then click
    Ok.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    ==================

    "tomwood2" wrote in message
    News:g603ub$1of$1@forums. Macromedia.com...
    >

    Quote:
    Posted by: newsgroup user
    > Select a picture. Look at the property inspector. There is a field called
    > 'Name '. Use it. Or just add the 'name' attribute manually.
    >
    >
    >

    >
    > It's worth, I can't understand how to "select" the image that is
    > the
    > second image. Here is the code after you apply the swap image behavior:
    >
    >
    > onmouseover = "MM_swapImage ('smile',", ' images/kiss120x90.png', 1) ""
    ' > MM_swapImgRestore "/ >
    >
    > I'm swapping in a kiss when the mouse is over a smile. After
    > Insert > Image
    > and insert the first image, images/smile120x90.png, I can select and
    > name
    > It "smile." But hovering the cursor over images/kiss120x90.png inside that
    > code of conduct does not select this image.
    >
    > Thank you,
    >
    > Tom
    >
    >
    >

  • Bearing with image swap - how to change the cursor?

    Hello
    I have a simple page which is just a series of slices of a photoshop image jpg. One of the slices is an image of a button, and when wriggle on, I have a behavior "on mouseover, swap image" applied and "on click, go to the url. I'd like the cursor to suddenly change hands, but it does not work. I'm not very familiar with the coding side of things. I do it all to the design screen. Does anyone know what I need to do to change the cursor? Thank you!

    In the behaviors window choose onclick, onmouseover and of .  That will bring the hand up. (She will wrap your image in a tag).  You may also add this css:

    an img {border: none ;}}

    to get rid of the blue border which may appear around the image.

    Hope that helps.

    -- 
    
    E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
    --
    
  • Cannot get &lt; LI &gt; to display a customized with CSS image

    Here's my CSS using Dreamweaver CS4. I have validated the image is at the place and on the server.  It does not locally or on my server.

    {.boxbullets}
    do-family: Tahoma, Geneva, without serif.
    do-size: 8pt;
    make-weight: bold;
    Color: #000;
    list-style-position: outside;
    list-style-image: url(images/bullet.jpg);
    list-style-type: disc;
    }

    I use it so as

    < class li = "boxbullets" > September 16 and 17 < /li >

    But all I get is a black ball instead of my image

    Apply the class to the

      tag and not to the individual
    • Tags.

  • Bearings without an image swap

    Hi there - I would like preamble saying that I already have a good amount of research on this topic with no result and I use the pool of shared knowledge as a last resort before I handcode all just this in CSS.

    I wonder if I can implement some sort of effect of substitution for my site in fireworks without a swap of the traditional image. Rather, I just want to change the background color of a div (or what will be a div after that I have cut it and export all CSS/HTML).

    I hope I'm explain.  I guess that, normally, I would do something like -

    normal state

    .cool_div {background: #333333}

    State Overview

    .cool_div {a: hover {}}

    background : { #778A 63}

    }

    Does make sense? I would basically Fireworks to set up automatically instead of considering it a reversal of the image. I'll have to handcode this? Not a big problem, I was wondering of fireworks offers this kind of compatibility.

    For now, the only way, using Fireworks CS4, export an effect of substitution using div and css tags, is to use the 'Link' to the HTML of the common library (only of the text). You must change the exported more css file to get an effect like the change of context.

  • Image swap with rerouting Menu

    Does anyone know if it is possible to Exchange images or text with a jump menu, please?

    A lifetime of thanks in advance :-)

    Mike

    Thank you all very much for your help. In the meantime, I found a tutorial at www.communitymx.com to swap images with a menu of rerouting. However, I had to also Exchange related text in a text field at the same time. I managed to work on the party by myself (see code below). It is probably not the best way to do it, but it works. There also preload images.

    By the way, Mick, is the simplest code for work I've come across. Thank you.

    The code I used was included in a model for a test auction on eBay and works very well. Okay, it could probably do with some CSS control.

    Here is the eBay URL.. It will be taken down in the coming days.

    Here's the code I used. As you can see, I used the TITLE attribute of the tag OPTION to populate the text field with the text required.

    Thanks again to you all.

    Mike

  • CSS image opacity fades to black transition

    In December, I created an image of transition with css. During the rollover image is transparency/opacity would go to zero, while the image behind it would show through. It worked, so now (in the last 2 weeks) it turns black, appears to zero opacity, showing the image in and then made another fade from black to the image. In my research to find an answer, I came across this same problem happening on other sites as well. Opera, Chrome and IE (no just transition Exchange images) works correctly.
    http://www.thelifebalance.com
    Place the cursor on the image of the top of the flowers

    Have you tried disabling hardware acceleration to see if that is the cause?

    See also:

  • Navigation of an image in a document, CSS - Image missing info?

    Hello Adobe community.

    My version of Dreamweaver is Dreamweaver CC Version 13.0 Build 6390.

    My OS is Windows 7 Ultimate x 64

    Previously, in DW 5.5, if I browsed an image in a CSS document and selected, there an information panel which immediately showed me the dimensions of the image. This feature is not exsist more in DW CC. Is there another way to do this? Or do I have to use a different method whenever I want to get the width and height of an image?

    Thank you

    Andrew.

    Hi André,.

    Follow the steps below.

    (1) click on organize in the file dialog box select.

    2) go to page layout and select the details pane.

    You will get the details as shown below.

    Edit: Make sure you have also allowed the 'display the preview pane' be placed prominently in the image above.

    Thank you

    VIANEY

  • CSS image override for poplets?

    Hi people, I have difficulties the substitution of a CSS property.  I poplets where I want a shadow to contour and box, but I can't seem to override the default without border:

    I use the stylesheet module:

    .poplets {border: 1px solid #333! important;}

    box-shadow: 2px 2px 2px #999! important;

    / * border-top: 1px solid #eee; * /

    top of the margin: 36px;

    Padding: 9px 0;

    }

    .poplets img, .poplets img {a}

    border: 1px solid #333! important;

    box-shadow: 2px 2px 2px #999! important;

    }

    http://Joden.BusinessCatalyst.com/   Click on the first image down to see the poplet area.

    It's on line 1

    IMG, an img {border: none ;}}       and I can't replace it's only meant to be the default...

    He had put things in your main styles css because it is overiding and is your primary CSS file - http://joden.businesscatalyst.com/css/style.css

  • Image swap

    I created a div with the swap image behavior. But when I have to scroll through the options click on a certain go I do not see the image because the page back. I have to behavior click the swap image and swap image restore right-click. How can I avoid this?

    Your problem will be resolved if your page does not have to scroll up, right?

    In this case, change this:

    "" " #" >test/002T9X6I0975_t.jpg "alt =" "width ="96"height ="64"onclick ="MM_swapImage('foto','','test/002T9X6I0975.jpg',1)"onmouseout ="MM_swapImgRestore()"/ >"

    to do this:

    "" " #" >test/002T9X6I0975_t.jpg "alt =" "width ="96"height ="64"onclick ="MM_swapImage('foto','','test/002T9X6I0975.jpg',1)return false;"onmouseout ="MM_swapImgRestore()"/ >"

    It should above all to solve your problem.

  • Problems CSS Images not showing Up on Web pages

    Hello world

    After downloading Dreamweaver CS5-built and Style.CSS site, Web pages, the pages do not display images that are contained in the CSS file.

    Please can someone help?

    It appears correctly in the local webbrowsers through dreamweaver, but every time that I load them up to a server all files are transferred but image do not seem to appear on the web page.  I check that the side jpg files server and they all seem to be there.

    I'm so confused and don't really know what to do.  I have check images with firebug and it say

    Could not load the given URL

    I hope someone can help. I look forward to the advice on that.

    Marvin

    1. you must send your SpryAssets Dreamweaver folder to your remote server.

    2. There is no such thing as http://harpers.x10.mx/images/Headers/harpersheader01.jpg .

    So either

    (a) the image has not been uploaded, or

    (b) it has been downloaded but in the wrong folder on the server, or

    (c) the path in the link is wrong (check the CaSe Sensitive - for example headers or headers?)

Maybe you are looking for

  • Satellite L650 no sound from speakers or phones

    I.ve just had my first problem with my Toshiba Satellite L650 - particularly serious, because I rely on it for all my music playback! Normally I can plug and on the headphone jack on my stereo, speakers cut out and I get HiFi glorious while it is ins

  • Re: Satellite A300 cannot start, cannot use the factory recovery

    Hi all, I have a Satellite A300, which gave me problems in the past few weeks... I use Windows Vista There are about 2 months in the beginning of the laptop problem, it restarts itself automatically before enter in windows (while in the windows loadi

  • Migration wizard - Time Machine on Windows sharing

    Hello guys,. I made a backup of my MacBook (Yosemite) via the time machine on a windows share ("smb://asus/TimemachineMacbook"). Inside the action, there is my folder (respectively image) "TimeMachine.sparsebundle". Everything went successfully. I ma

  • Satellite A505-S6922 - how to install Windows 7 drivers?

    I have an A505-S6992 and I try to do a clean install of Windows 7 Ultimate. I created the recovery with drivers and applications disc. In what order should I install and how to install Windows 7 ultimate? I tried to install by going just to the botto

  • OfficeJet 6500 a +: [El Capitan] duplex resets and unusable scan to PC option

    Hi all I encounter a bug very annoying with the latest driver for my Officejet 6500 a + (E710n) on MacOS El Capitan. I equipped module two-sided to two-sided printing from the printer and enabled this option in the printer to use. Hoever, every time