Can't create separate hover div tags

Basically, in my website, I have a nav bar with border-radius: 20px; added, whereas the hover looks don't- so on the first tab (Home) when I hover over it, I lose the roundness. To fix this, I made two things:
-css element
-and then the HTML bit
I placed the new element called "home" inside the navigation <div>. It looks like this:
                    <div id="navigation">
                           <div id="home">                                
                                    <ul>
                                      <li>
                                        <a href="../home.html.html">Home</a>
                                      </li>
                                    </ul>
                              </div>                                                                        
                            <ul>                                                                                                  
                                <li><a href="../about.html.html">About</a></li>                     <!--All of the left is for the Nav-Bar -->
                                <li><a href="../tutorials.html">Tutorials</a></li>
                                <li><a href="../contact me.html">Contact me</a></li>                       
                            </ul>                                       
                     </div>
And this, in design view, shows the menu exactly as before, except for code-wise the home button is separate. So I thought, to the CSS of it, just add border-radius. I did this and nothing. I then figured out that all the buttons were still linked to <a> so I thought, make <a2> in the css, with the same properties as a, but with border radius:
                           <div id="home">                                
                                    <ul>
                                      <li>
                                        <a2 href="../home.html.html">Home</a2>
                                      </li>
                                    </ul>
                            </div>
And this is where the problems start. as soon as I do this, the Home button loses the looks of the other buttons and hovers above, but it does have the desired rounding effect.
Please help, I am very confused and am new to this

Right, so now I've changed the HTML to this:
                           <div id="home">                                
                                    <ul>
                                      <li>
                                        <a id="home_hover" href="../home.html.html">Home</a>
                                      </li>
                                    </ul>
                            </div> 
And the CSS to this:
#home_hover
  background: #383;
  border-radius: 20px;
This does work, but my Home button is constantly "hovered over" with rounded edges. So how would I get it so that it only does this when hovering?
Thanks for your help

Similar Messages

  • Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    It is a hard one.. laptops with small drives are a pain.
    What you need is a home media server.
    Some people use a PC running itunes for cost.. but that is nothing like as good as using a Mac mini.. they make great little HTPC device.. you can plug in large hard disks and store all your files and media. And share it with the network.. Read up apple's instructions on home sharing.
    https://www.apple.com/au/support/homesharing/
    For cost you can buy a mini from 2011 or 2012.. I would not recommend earlier ones.. the advantage of 2012 is they have USB3 ports. But you will pay more for them.. new mini is not as useful.. they have soldered in memory and you cannot upgrade.. the old mini was the most easily modified mac in the whole range. Uses little power and can be bought for a $300US for a good one second hand.. maybe less.

  • Can I create separate events for RAW files and JPEG files of the same photo?

    I recently changed the setting on my camera to take both a RAW and JPEG image.  I now have a large number of photos in both formats in the same event. I'd like to separate all the RAW and JPEG photos into separate events.  Is it possible to do this in a batch process versus trying to move individual files?  I use iPhoto '11, version 9.4.3.
    Thanks,
    Peter

    Yes.  Create a smart album with the criteria Photo is RAW:
    Then you can select all of the photos in the smart album and use the Events ➙ Create Event menu option to move all of the RAW photos into a new event.
    OT

  • How can I create separate 2.4 and 5 ghz networks?

    I know the airport extreme is supposed to create both 2.4 and 5 ghz networks, but when I have n and b/g compatible configuration, my devices only connect at 2.4 ghz even when right next to the airport. I can't see the  5 gz channel broadcasting with the scan in wireless diagnostics.
    When I tell the extreme to only use 5 ghz, all devices connect fine with 5 ghz.  I had configured to only use 5 ghz, but I just bought a Chromecast which can only use 2.4.  Now I'm interested in setting up a separate 2.4 ghz network for watching tv.
    None of the configuration information I can find on the web seems to correspond to options I get with the airport utility (I have no option to set a 5 ghz network name, for example). I'm using the latest version of the utility.
    Thanks for any pointers.

    I know the airport extreme is supposed to create both 2.4 and 5 ghz networks, but when I have n and b/g compatible configuration, my devices only connect at 2.4 ghz even when right next to the airport. I can't see the  5 gz channel broadcasting with the scan in wireless diagnostics.
    What model number of AirPort Extreme do you have?  If you are not sure, look on the bottom of the device. The model number starts with an "A" followed by four numbers. Post back with that information.
    Now I'm interested in setting up a separate 2.4 ghz network for watching tv.
    No problem doing this if you have a recent version of the AirPort Extreme. It sounds like you have an older version though, based on the hints in your post.

  • Need Flash Guru: How can I create a 2D Simple tag cloud in Flash/AS3

    I have done some searches, but couldn't find anything on Simple 2D tag clouds like this.
    I don't need to make it animated, i just need to create a simple tag cloud in Flash. Please help!!
    I just need two rows with 16 words, no animation, but texts got to fire onclick event as button.
    Please help

    1.  create a movieclip that contains a textfield.  give the textfield an instance name (say tf) and assign the movieclip a class (say MC).
    2.  create a textformat instance.
    3. create an array of your words.
    4.  loop through your array of words
    a.  creating a movieclip for each word,
    b.  assign the textformat a size (a random integer between your desired limits should work),
    c.  assign the word to the text property of the textfield and
    d.  assign the textformat to the textfield and autosize your textfield
    e.  add the movieclip to the display list
    f.  position the movieclip (after the previously positioned one)
    g.  add your event listener (possibly using another array).

  • Can I create separate Notes folders in Mail?

    I've tried searching and have found different answers (mainly no), but I thought I would ask here before I throw in the towel.
    I'm wanting to create different folders in my Mail account for Notes (not mailboxes, but just a few different Notes folders).  Any suggestions as to how to do this, or a good alternative.
    Thanks!

    Why?
    What would that give you?
    Allan

  • Can i create separate articles from 1 inDesign document?

    I have a 120 page proposal that I would like to have the separate sections in that document show up in the TOC on ACV on my tablet, without splitting up the document as it's paginated and I don't want to lose that or have to rework it. Possible?

    Bummer. Thanks for your succinct reply

  • How to create drop down div

    Hello all,
    I have no idea how to describe what I am asking besides the term "drop down div".  Though I am not sure if that is the correct term. 
    I have been tasked to create a quiz similar to the one linked below. 
    Bioenergy Quiz
    The two elements of this quiz that have me stumped are below.  Any help you can provide will be greatly appreciated.  Thank you. 
    1) How to set up the drop down div functionality?
         So when the "Start Quiz" button is clicked, the content for the Question 1 is added to the bottom of the content for the Bioenergy Quiz title.
    2) How is the focus changed to the new content?
         How is the functionality set up to go down to the bottom of the page to show the new content?

    Hi Charles,
    Here is a case. A drop down list can be created using the select tag.
    You can open a new file and copy and paste this code.
    1) creationComplete panel:
    var optionTags = "<option>Title</option><option value='case1'>first Case</option><option value=case2>second Case</option><option value='case3'>third Case</option>";
    sym.$( "<select id='options' title='Please one choice'>"+optionTags+"</select>" ).appendTo( "#Stage" );
    sym.$("#options").css({ "cursor":"pointer", "position":"absolute", "top":"20px", "left":"20px","width":"100px"});
    2) compositionReady panel:
    var userChoice = function(){
      switch( sym.$("#options").val() ){
      case "case1":
      //add code here
      console.log("case1 selected");
      break;
      case "case2":
      //add code here
      console.log("case2 selected");
      break;
      case "case3":
      //add code here
      console.log("case3 selected");
      break;
      default:
      //add code here
      } // switch
    } // userChoice  function
    sym.$("#options").change( userChoice );
    It returns using Safari 8:
    Note: jQuery is required.

  • CSS div tags

    Hi folks,
    I have a quick questions which
    should be easily resolved. I have created sites using Div
    tags, the usual 'masterhead' / 'navi' / 'content' / 'footer'. The
    Divs margins are set to 0 for for top and bottom. My querie is, in
    IE the Divs 'butt up' to each other however in FF/Safari/Mozilla
    there is a gap - is there a way to get the pages to appear the
    same? I have tried playing with the margins and had no joy. I have
    even attempted to create another Div tag to include the
    'navi/content' to see if that would 'squeeze up' the elements -
    that didn't work in the desired browsers either - any ideas?
    Many thanks in advance

    > Murray *ACE* you may not remember but you advised me to
    get some CSS
    > books,
    > which I have read through (one from Sitepoint &
    another by aPress) - I
    > have you
    > to thank in gaining extra knowledge in this. However
    don't I wont be
    > asking any
    > Q's - I'll just try not to ask any 'basic' ones now! ;)
    I'm glad I could push you in this direction. The flash of
    enlightenment is
    such a wonderful experience!
    > why on earth cant all browsers have the same protocols
    and viewing
    > behaviours??
    They are trying, thankfully. As opposed to how it was a few
    short years
    ago, I think they all now agree that the W3C's specifications
    are the law.
    The problem is that sometimes those specifications are
    ambiguous, and when
    that happens there is the possiblity of different
    interpretations....
    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
    ==================
    "tommysauce" <[email protected]> wrote in
    message
    news:f8akm4$olo$[email protected]..
    > Hi guys,
    >
    > I was persistent in trying to solve this problem and
    worked it out !! Oh
    > happy
    > days! ;p
    >
    > Question, why on earth cant all browsers have the same
    protocols and
    > viewing
    > behaviours?? Although I must admit there is a certain
    amount of
    > satisfaction
    > gained when you work stuff out!
    >
    > Murray *ACE* you may not remember but you advised me to
    get some CSS
    > books,
    > which I have read through (one from Sitepoint &
    another by aPress) - I
    > have you
    > to thank in gaining extra knowledge in this. However
    don't I wont be
    > asking any
    > Q's - I'll just try not to ask any 'basic' ones now! ;)
    >

  • HTML Div Tag

    Hi,
    I have a HTML Page with large amount of data to be displayed,and 3 buttons .I want to have scrollbars both horizontal and vertical for the data.I heard that this can be accomplished by using DIV tags..I tried out with DIV tags ..But it is not working.Please suggest me a way for doing that.

    How is this an advanced language topic?
    How is this a Java topic? :P How is this a topic for anywhere on sun.com? ;-)

  • Can you change the default code that targets a new window to change the content in a div tag instead

    I created a database for store locations.  I was able to display the list of stores.  Here though I don't want the list to show the number in front of it...  I still need to find the CSS to edit my results for this one.  However, more importantly, I don't want to open my results in a new window, I want to be able to target a DIV tag instead.
    This is the code that is created to display the list of stores.
    {module_webapps,5665,a,,,_blank,,50,,1}
    Currently it opens a blank window.  I'd like to target a div tag on the right of the list area where the store info can appear.
    Perhaps the gurus at adobe can upgrade this feature?  Target DIVs instead of new or blank windows, or using frames. Below is the screen of the links created from the DB.
    Below is the blank window that it opens.
    Would like to make it open in a div to the right of the list.  Not sure how to change to core code that was created to make that change.

    I'm doing something wrong.  I have the list showing the stores in CA
    <div class="flip" id="woodcontainer" style="width: 160px; height: 23px;">
    <h1>CALIFORNIA</h1>
    </div>
    <div class="panel">
    <script>
      $("#infochange").load("{module_webapps,5665,c,41140}"); /* this creates the list of stores in CA where #infochange is the DIV I am targeting.
    </script>
    </div>
    <br />
    The code for the DIV where I want the details to load.
    <div id="infochange"></div>
    This doesn't make sense because I need to have something in the DIV as a holder of some sort? 

  • Can you place an image in a div tag and then add type over top of it?

    I told someone in class lastweek that I wanted to be able to
    place type over an image. They said you can just add the image into
    the div tag as a background image, which will allow you to then
    type over it if you like. How is this done? I have tried and
    failed. I have an image that is 200x590 going down the left side of
    my page. I want to run type over it, and keep the image consistent
    on every page, but change the header and type. I've seen this in
    several sites. How do you do this with the div tag box model method
    of building a page. Can I insert an image into the div and then run
    type over it. What does the code look like?

    Here's an example of using a css and a background image to a
    table cell...
    sample principle for a div
    #div {styles go here{
    http://tinyurl.com/yqeptp
    You may also want to go through the beginner css tutorials at
    the Adobe
    site:
    http://www.adobe.com/devnet/dreamweaver/css.html
    (pay attention to the ones
    by Adrian), beginner moving onto to creating full css
    layouts.
    Hope this helps :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    Forum Posting Guidelines:
    http://www.adobe.com/support/forums/guidelines.html
    >I told someone in class lastweek that I wanted to be able
    to place type
    >over an
    > image. They said you can just add the image into the div
    tag as a
    > background
    > image, which will allow you to then type over it if you
    like. How is this
    > done?
    > I have tried and failed. I have an image that is 200x590
    going down the
    > left
    > side of my page. I want to run type over it, and keep
    the image consistent
    > on
    > every page, but change the header and type. I've seen
    this in several
    > sites.
    > How do you do this with the div tag box model method of
    building a page.
    > Can I
    > insert an image into the div and then run type over it.
    What does the code
    > look
    > like?
    >

  • Can I create a "play" button in the Tag Inspector extension

    Hello,
    I am creating a Tag Inspector extension for changing the
    properties of a customized swf files.
    Can I create a "play" button in the property panel to preview
    the swf movie?
    I've checked the "Inspectors" folder in the "configuration"
    and cant find the Inspector panel htm of swf object.
    It seems a part of core code of dreamweaver.

    No.  iDVD does not have that feature.  However, there are two ways you can do this: 
    1 - join the 10 segments into one movie file.  It's quite easy if you have Quicktime Pro and Quicktime Player 7.  Other video editing apps can do the job.
    2 - you can create a slideshow in iDVD and add each of the movies to it so they all will play one after another:
    Set the Slide duration to anything but Manual.  Do not select a transition and add no music to the slideshow.
    Remember, the playing time of the entire project should be less than 120 minutes including menu's playing time in order for you to use a single layer DVD disc.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.

  • How do I, or can I, do a rollover with, or between, three div tags?

    Dear Dreamweaver forum:
    I am currently using Dreamweaver CS3 on my MacBook Pro.
    I am new to Dreamweaver and have been studying tutorials on Lynda.com at the "essential" level.
    The series of Dreamweaver CS3 videos I have been following on Lynda.com are done by Garrick Chow.
    However, what I still do not know how to do is link a shape to both an image and to text.
    The shape, the image, and the text are all contained within their own div tags.
    Why did I go so "div tag crazy"? It's because I went with what I can understand so far.
    The concept of movable div tags, for me, was both one of the easiest concepts to understand and one of
    the easiest things to create so far in my studies of Dreamweaver CS3.
    Anyway, I think the image below pretty much spells out what I'm looking for
    Any help would be appreciated. Thanks!
    Scott

    You can learn to code, pay the $99 to join the developers program, purchase a Mac if you don't have one (it's required to develop for iOS) and install the correct tools. There are a number of books available on the subject, some in the iBookstore, I'm sure.

  • How can I create an accessible tagged PDF in Illustrator CS6?

    I have put alt text on the slices but when I save the file as a PDF it isn't tagged. How can I use these alt tags to make the PDF accessible? How can I tag the text in the Illustrator file so it is tagged in the PDF?

    I do wonder why there are instructions on how to add alt tags in Illustrator, and they only work if you create HTML. It sounds like Illustrator is going to be a legacy product in favour of InDesign, if it can't create tagged PDFs with Alt Tags for images. In this case, the Illustrator file is placed in InDesign, so even though InDesign can create tagged PDFs, the tagging doesn't work for placed Illustrator content. So it sounds like we either do the tagging from scratch in Acrobat, as you say, or we try to bring in the content directly into InDesign and tag it there.
    If only Adobe wholeheartedly supported accessible documents so we could more easily use it to meet WCAG 2.0 Level AA standards which are mandatory for our organisation. We are looking at CommonLook software to make the process of creating accessible PDFs easier and quicker. It's just hard to believe the lack of support from Adobe on this. Acrobat doesn't even come close to checking against WCAG 2AA and the online help is very hit and miss and full of broken links. For such an expensive product it's very disappointing, so thank goodness for other companies who see this as an opportunity to provide a better service.

Maybe you are looking for

  • Help! My MacBook Pro has turned on me!

    Hi! I was hoping you guys could help me out. I bought my beautiful Mac Book Pro the summer of 2012. It has been perfect and wonderful for quite sometime. I am a teacher and mainly use it for creating documents for school and my business. Yesterday mo

  • HP Print Control App for Iphone

    I have down loaded the HP Print Control App from the app store.  I am unable to connect to my macbook. I have spoken with Apple and they have indicated this is an hp issue Please help if anyone knows a way to mak this work

  • Help, I'm in trouble

    Being a newcomer to iPhoto and not understanding all its finer points, I have made a terrible mess of my collection of photos. I had about 1000 photos taken and organised into folders etc and everything was fine. I was able to do slide shows etc, but

  • Transaction not abandoned

    Using Weblogic 6.1sp1 and oracle 8.1.7 with Stateful Session bean wrapping           an entity bean.           The stateful session bean has a save method that calls various methods in           the entity bean to perform the save.           The save

  • Intel iMac Black screen on wake up from sleep

    Hi, has anyone come across this? My imac intel 20" running 10.4.11 now routinely presents me with a black screen on waking up from sleep. The computer still seems to run as normal, the mail application beeps when new mail is received but the screen i