How do I change the background image for a single tab on the navigation bar

I'm creating a movie website for TDKR and for the navigation bar, I intend to have a different character for each tab. However, I'm having trouble putting a single image each separate tab. Instead one image appears on each of the tabs. Here's an example of the source and CSS.
<td width="200"><ul id="navigation"><br />
      <li><a href="../pages/index.html">Home</a></li><br />
      <li><a href="../pages/cast.html">Cast</a></li><br />
      <li><a href="../pages/pictures.html">Pictures</a></li><br />
      <li><a href="../pages/soundtrack.html">Music</a></li><br />
      <li><a href="../pages/interview.html">Interviews</a></li><br />
      <li><a href="../pages/links.html">Links</a></li><br />
    </ul>
    </td>
#navigation {
          list-style-type: none;
          padding: 0px;
          margin: 0px;
#navigation li {
          margin: 0px;
          padding: 0px;
          list-style-type: none
#navigation li a:link, #navigation li a:visited {
          display: block;
          width: 200px;
          height: 100px;
          text-decoration: none;
          text-align: center;
          line-height: 100px;
          font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
          font-weight: bold;
          -webkit-transition: 1000ms ease;
          -moz-transition: 1000ms ease;
          -ms-transition: 1000ms ease;
          -o-transition: 1000ms ease;
          transition: 1000ms ease;
          color: #648AAE;
          background-repeat: no-repeat;
          background-image: url(../Images/gifs/Batman-still-2.gif);
          background-position: center bottom;
          text-transform: uppercase;
          letter-spacing: 0.79em;
          border-radius: 5px;
#navigation li a:focus, #navigation li a:hover, #navigation li a:active {
          color: #000000;
          background-image: url(../Images/gifs/Batman-animation-2.gif);
          background-repeat: no-repeat;
          background-position: center bottom;
          background-color: #454545;
          border-radius: 25px;
So, how do I put a single image on each tab (home, cast, pictures, etc). Thank you for your help in advance.

Assign a class to the item and use CSS to apply an image as in
<li><a href="../pages/index.html" class="home;">Home</a></li><br />
<li><a href="../pages/cast.html">Cast</a></li><br />
<li><a href="../pages/pictures.html">Pictures</a></li><br />
<li><a href="../pages/soundtrack.html">Music</a></li><br />
<li><a href="../pages/interview.html">Interviews</a></li><br />
<li><a href="../pages/links.html">Links</a></li><br />
and the CSS
#navigation li a:link.home, #navigation li a:visited.home {
     background-image: url(../Images/gifs/Batman-still-2.gif);

Similar Messages

  • How to do the background image for a site

    Hi.
    First, thanks for reading this.
    I'm planning on using a gradient image as a background on a new site with black on the sides gradiating to blue in the middle which I created in Photoshop. The site is designed for 1024 (955) and up. How would I handle the background image so that no matter what the resolution above 1024, the visitor will see the gradient properly, meaning the blue will always be exactly in the center of the page and the image does not tile horizontally? (I don't want it to repeate from left to right when someone's resolution is really high)
    I have seen a couple of sites that use solid images that appear to stretch the background image depending on the resolution, but have not been able to figure out the CSS code. In my case, I can have a single image that's say 5 pixels high, whatever width I need for the maximum (reasonable) resolution, and let it repeat from top to bottom.
    Thank you.
    MFitz721

    Thanks for your reply, SnakEyez02 .
    Another concern is wide-spread compatablilty on the largest number of browsers and PDAs possible, so it sounds like using the method you suggested would not be an option. What would you say is my next best option? Should I just design it for 1024 pixels wide (or perhaps 1440) and let what happens happen?
    Thanks again.
    Fitz21

  • How do you change a background image in an HBox control via actionscript?

    Hi All,
    I would like to change the background image of a HBox control
    when the user clicks on a tab (tabnavigator control). I call a
    function on the 'activate' method of a VBox control, within the
    TabNavigator. So for each of the tabs when a tab is selected an
    appropreate image is displayed in another part of the screen.
    Thanks for any insights/help
    regards
    Davej

    Binding a string variable and using the show() event instead
    of the activate event will work. See Below
    <mx:Script>
    <![CDATA[
    [Bindable]
    private var mystring:String = new String();
    private function dispAssocIMG(f3rd:String):void {
    mystring = f3rd;
    ]]>
    </mx:Script>
    <mx:HBox backgroundImage="{mystring}" id="first3rd"
    width="567" height="336" y="209"></mx:HBox>
    <mx:HBox id="mid3rd" width="457" height="336" y="209"
    x="567" backgroundColor="#956944">
    <!-- Tab Navigator -->
    <mx:TabNavigator height="336" width="457" >
    <mx:VBox label="about me"
    show="dispAssocIMG('image1.jpg')"></VBox>
    <mx:VBox label="test2"
    show="dispAssocIMG('image2.jpg')"></mx:VBox>
    </mx:TabNavigator>
    </mx:HBox>
    </mx:Application>

  • How can I add the logo image for a single item in an RSS feed?

    Hello,
    I am an administrator of iTunes U at the University of Minnesota.
    Before transitioning new public site, we are trying to figure out how to put a logo image into RSS feeds.
    We use our server to makes xml codes to create RSS feeds for podcasts.
    We successfully put a logo image for a collection in a RSS feed, but putting a logo image for a single item did not work.
    Below is the part of the xml code for the logo image for a single item, which is created by our server. I deleted other parts of xml code for your convenience.
    <item>
    <title>Plagiarism</title>
    <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" />
    <enclosure url="http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3" length="8544508" type="audio/x-mp3" />
    <guid>http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3</guid>
    <image></image>
    </item>
    We tried both <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" /> or <image>http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimming-conta st.jpg</image>.
    Both did not work.
    Can anyone help?
    Thank you for your help in advance!!
    Seogjoo

    Haven't created too many podcasts, but in this one
    http://itunes.apple.com/us/podcast/connecticut-college-sculpture/id372414245
    or
    itpc://video.conncoll.edu/d/sculptures/index.xml
    before we included the audio files, we added the images in iTunes.
    Select the file, then go to File>Get Info, here you can add metadata, and in Artwork add an image.
    Then upload this file to your server. Works for audio files anyways.
    You don't see the image in the web podcast, but you do in iTunes after you download each item, in "Show item artwork" in lower left. Click on the image and it zooms out.

  • Can we set the Background Image for a Report

    Hi,
    I am generating a report thru the web now i want to give the background image to the report, let me know if any body knows about this.
    Thanx

    hello,
    try the before reports value of your report-level properties. add the BACKGROUND attribute to the BODY tag to reference an image-file for the background.
    regards,
    the oracle reports team

  • How can I have a background image for reference ?

    HI,
    I need to register align horizontally and vertically) about 100 images to the first. I don't want to stack or merge them. An ideal way to accomplish this would be to be able to set the first image as a background reference image for all images in the group. There would be left/right buttons so I could advance through the stack, a slider to adjust the visibility of the foreground image, and up/down & right/left arrows so I could move the upper image a pixel at a time in any direction. In this case I don't need to rotate the image, but this would also be something a person might want to control. Then I would move through the group of images, stopping on each one to align the image to the first. One at a time, or after I am done, it would save all the aligned images to a new filename and folder, without changing the transparency of the image or in any way using the background reference image. Without rotating the images, every pixel in the new image would be the same as in the original, except moved. I would start by resizing the canvas of all the images so they have a border area. This way I can move the image around and not lose any of it.
    Of course I could put the reference image in the background layer and the image to be adjusted above it on another layer. Then i can use the background as a reference by making the upper image somewhat transparent. Finially I could delete the background layer and save the image with just the adjusted layer. But this would be tedius with 100 images, even worse if there were 1000..
    Is there a reference background image capability in Photoshop CC ? Is there a better or different way to do this ? Or can Bridge do it ?

    When I first posted this I had selected Photoshop as the community. After it had posted I saw it had changed and again changed it back to Photoshop. it again reset it to Premier Pro. I don't know why. Also, I had selected Refrence image as a tag and that keeps dissappearing. Even worse, there are no replies. What's the deal ?

  • How do I set a background picture for my homepage, not just the edges but the entire screen?

    When I use other web browsers I have the ability to set a background picture on my homepage. How do I do that on Firefox?

    Is this picture to be used in a drop zone or used as the total background of a theme?  If the former it's not possible to do that as that's the nature of the drop zone .
    For a general background for the menu the image should have a 4:3 size ratio in the landscape orientatikon.  For a portrait oriented photo that would mean either cropping to a 4:3 landscape ratio or creating  a 4:3 landscape canvas and putting the portrait image in the center, edgo or wherever and using the composite image.  There will be some white space but that can be filled with a color that goes with the image.
    Of course you will need to use 3rd party image editor that an handle layers or Pages.
    Some Image Editors That Support layers:
    Photoshop Elements 11 for Mac - $79
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50
    Pixelmator - $60 
    Seashore - Free
    GIMP for Mac - Free
    Xee 2.1 - free
    You will get something like this:
    One could move the image to the right or left edge for better esthetics and have the buttons in the "white" area.
    OT

  • How do I change my Japanese Photoshop for an English one in the Design and Web Premium CS6 series?

    Hi,
    I recently purchased a Japanese version of Design and Web Premium CS6, I called Adobe and got a set of serial number for an English version. All the programs except for Photoshop were successfully translated into English.
    How do I get an English version of the Photoshop program?

    Hi Kazuya38,
    Please peform the following steps in order change the User Interface of Photoshop CS6(Japanese or any other language) to English.
    Windows:
    Navigate to the directory C:\Program Files\Adobe\Adobe Photoshop CS6\Locales\<languageSet>\Support Files
    Look for the file named "tw10418.dat"
    Rename the file extension to .back from .dat(please make sure Photoshop is closed
    Restart Photoshop.
    You need to follow the same procedure for C:\Program Files(x86)\Adobe\Adobe Photoshop CS6\Locales\<languageSet>\Support Files
    Mac:
    Navigate to the directory /Applications/Photoshop CS6/Locales/<languageSet>/Support Files
    Look for the file named "tw10418.dat"
    Rename the file extension to .back from .dat(please make sure Photoshop is closed
    Restart Photoshop
    Note: Here <languageSet> is ccorespond to your current language.
    Hope this helps.
    Let me know if you have any other question.
    Regards,
    Sumit Singh

  • How do I change a saved ID for a site and delete the old ID, using Mac OS X and Firefox 3.6.8?

    I have changed an ID at a website I use all the time. I want to delete the old ID from Firefox. When I go to the site I am offered a list of ID options when I click in the ID box on the site. I do not want the old ID to be offered to me as an option . I also have some incorrect IDs on other sites that I would like to delete. The passwords are fine, it is the IDs that I need help with.

    You can highlight an entry in the drop down list on a web page and press Shift + Delete as explained in the [http://kb.mozillazine.org/Deleting_autocomplete_entries Deleting_autocomplete_entries] article.

  • How Can Make a Large Background Image For A Website (reduced file size)?

    Hi, I want to edit a large photo so that it fits the width of the browser (I'm using a responsive layout). The image needs to be a small file size so that it loads quick enough.... My question is are their any tricks or adjustments within Photoshop where I can reduce the file size of an image whilst maintaing large image size. I heard that adding noise can reduce the file size or something? Is there any other effects that do this?
    Thanks in advance!!!

    twenty_one wrote:
    JJMack wrote:
     If I were stuck in an area that only had low speed Internet connections I would not use the web as much as I do.
    Where do you get this stuff...?   About the only thing I do strictly for fun on the internet is this and a couple of other forums. Other than that it's strictly business and I really don't have a choice in the matter. So there I sit, patiently waiting, counting 0, 1, 1, 0, 0, 1, 1, 1....
    You making my point if all you have is slow Internet connection you use the web less. You only use it when you have a real need.  You do not use it for fun or streaming video you live with the reality of what you have and use it accordingly.
    In 2003 I took a long vacation to New Zealand and Oz land.  I carried my ThinkPad with its 15" IPS 1600x1200 px Display for Photoshop and storing my images. I also use for connecting to the Internet via modem for E-mail and banking not for fun.  These days you can carry a iPod in you shirt pocket and gab a cup of coffee at a local Starbucks a use a high speed wireless in access point they provide for their customers for free.  High speed in becomming the norm in all but rual areas.

  • How to change background image for each individual page in a template?

    I've been working for hours to try to figure out how to change the background image for each individual page in a template.  I have tried making a div in the body and adding a CSS and setting a background picture.  Unfortunately even after I made it editable all templated webpages changed.  I tried looking at different forum results which didn't really help me out. http://forums.adobe.com/message/2670005#2670005#2670005.  I've also tried embeding a CSS style on the webpage instead of the external CSS which again didn't work.  I'm not sure where to go from here.  Is there a good video that explains this clearly.  Please help.  Thanks.

    Adjust inline styles to suit your needs.
    <li><a tabindex="-1" href="giving/index.html" class="MenuBarItemSubmenu" style="background:none; color:#FFF; background: #000;">GIVING</a>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How can you make a background image change to a faded state at a certain point in scroll?

    I'm referring to a technique I've seen used in Relevant Magazine's iPad app if anyone has used it. I understand having a shape behind text that has a feathered gradient and when you scroll the text the shape gradually fades out the background image. But this is not the effect I'm trying to acheive. On some of the articles in Relevant, the screen is a full image and as you scroll the type up, the entire background dims when you scroll to a certain spot.
    I've tried searching for hours, but I feel like I'm getting no where because I don't really know what to search for. I feel like it requires use of something other than what DPS is capable of. Hopefully this makes sense and I'd greatly appreciate any suggestions and help!
    Thanks!

    Try applying the feathered gradient to the scrollable content frame, not the background frame. It will appear to change the color of the background frame.

  • How can I put a vertical menu ON TOP OF the background image?

    I've taken a screenshot to describe my problem.
    http://i48.tinypic.com/10ndeg4.jpg
    I want to put the menu on top of the background image. Compare it to placing another image on top of the background image. HOW on earth can I do this?

    Did you try putting the image in a <div> and setting the background image for the <div> with CSS.  Then within the <div> place your menu.
    Just a thought.
    LJD

  • Setting background image for repeating frame in .pdf report

    Is it possible to set a background image for a repeating frame, and more specifically for a repeating frame rendered in .pdf?
    I do not see any standard property in the navigator for images of any sort and the documentation touches only on setting background images for graphs, which is not the intent in my case. I -did- add an HTML table property background="myimage.jpg" but the report is ultimately generated in .pdf format and I was not surprised to see that the image was not rendered.
    Does anyone know if setting a background image as described is even possible, and if so, how? A second but less optimum solution would be setting the image as the background for all report pages, again in .pdf.
    Many thanks.

    Hi Raj,
    Yes you can have an image in the background. Thats possible if you are using XML forms as an iview or ivew dev in WebDynpro...
    Also check this [link|regarding background color change in iview]
    Regards,
    Piyush
    Reward points if this helps!!!

  • Background-image for commandToolbarButton

    Hi,
    I want to skin af:commandToolbarButton similar to standard skinned commandbutton.
    I managed to change the background-image for the link-section, but there seems to be a other section with a background-image which is a little bit bigger than the link-section.
    But I can't find how to e.g. disable this background-image when mouse is moved over the commandtoolbarbutton.
    Here my CSS definition for the hover-action:
    ================================
    af|commandToolbarButton:hover,
    af|commandToolbarButton::link:hover,
    af|commandToolbarButton::text:hover
    background-image: none;
    border : none;
    ============================
    What's my mistake?
    regards
    Peter

    Hi,
    if you extend an existing skin then you need to use
    -tr-inhibit: background-image
    Here's a list of the valid CSS
    af|commandToolbarButton      
    Style on the root element of the af:commandToolbarButton component. This style includes the .AFDefaultFont:alias style. CommandToolbarButton supports further styling with the :hover, :depressed, :selected, :disabled, :text-only and :action-disabled pseudo-classes.
    af|commandToolbarButton::access-key      
    Style on the access key for the label of the af:commandToolbarButton component. For example, underline the access key. Includes .AFFormAccessKeyStyle:alias.
    af|commandToolbarButton::link      
    Style on the button link on the af:commandToolbarButton component.
    af|commandToolbarButton::text      Style on the button text on the af:commandToolbarButton component.
    af|commandToolbarButton::dropdown-cell      
    Style on the cell containing the dropdown icon used for the popup button of the af:commandToolbarButton component.
    af|commandToolbarButton::dropdown-icon-style      
    Style of the icon used for the popup button of the af:commandToolbarButton component. The icon is specified as a background-image in this key. To override the default icon, set -tr-inhibit: background-image in the dropdown-icon-style and define the override icon for the dropdown-icon.
    Frank

Maybe you are looking for

  • Firewire 800 iMac as the TDM monitor for my MBA thunderbolt?

    Can I use my Firewire 800 iMac as the TDM monitor for my MBA thunderbolt? Will the thunderbolt to firewire adaptor allow this to work?

  • FM to get product guid from serial no.

    Hi,                I have serial number of a product. I want to get the product guid. Is there any FM for this. I can get the product guid from serial no from this table by select statement but I was searching for any FM which I can use it directly.

  • Date validation in a master/detail view

    Hi everyone, I have a problem and I hope someone can help me. I'm trying to create a validation for my application. I have a Master/Detail view where I add rows to my database and in the rows there is a "from date" and "to date". I want to create a v

  • Corrupt Text in F4 Help After Translation into Azeri

    Hi, We have translated the field labelsof data elements from english to azeri .These are coming perfectly in all the transactions after logged in with language 'AZ'.Now when these fields are coming in the search helps the special characters are not b

  • Flex Functions or methods available in javascript

    How do i know which methods and functions of flex are available in javascript? Are there some API's or documentation where we can get these functions which are available in java script. Like how do i know that var catXAxis = FABridge.testOne.create("