Announcement Announcement Module
Collapse
No announcement yet.
CSS rollover Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Latest Topics Latest Topics Module
Collapse

  • AJP
    Best way to do transparency on drop caps?
    AJP
    I have some large drop caps and wish to make them 30% transparency. However, ID doesn't seem to offer the option to make a single letter (within a block of text) a separate transparency. Short of coloring...
    Today, 04:37 AM
  • donwu212
    Logo Design for Neighborhood Council
    donwu212
    Hey everyone. This is my first post and hoping to get some feedback on two logo designs.

    I'm re-designing a logo for a neighborhood council organization called Brighton Park Neighborhood...
    Today, 12:40 AM
  • PrintDriver
    Reply to Donald Trump for President!
    PrintDriver
    The debates are going to be a sideshow. It's almost like the rest of the country doesn't exist right now except for NH and Iowa. None of them have addressed any really important issues. And I mean on...
    Today, 12:35 AM
  • PrintDriver
    Comment on Do I need to market myself ?
    PrintDriver
    Starting a business after being in the industry working for someone that knows what they are doing BEFORE freelancing makes more sense.
    Today, 12:32 AM
  • PrintDriver
    Reply to Templates- to use or not?
    PrintDriver
    Oh yeah. Found it. You promised your work was original work when you signed up.
    No Templates for You.

    The Freelancer really gets the sh!t end of the stick here.

    Did you...
    Today, 12:20 AM

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS rollover

    I am new to CSS and am having a difficult time formatting the rollover effect on a navigation bar. It is a simple rollover effect, just changing the background color. However i dont know how to control the size of the effect. Currently it is off center on the word, meaning it is extending below the word farther than it is extending above word. How do i control the size and positioning of the effect. would really appreciate some learning. thanks.

    this is my current code:
    .navigation {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    background-color: #267400;
    display: inline;
    text-align: left;
    vertical-align: middle;
    padding-right: 15px;
    padding-left: 15px;
    }
    .navigation:hover {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    background-color: #C69A03;
    display: inline;
    text-align: left;
    vertical-align: middle;
    padding-right: 15px;
    padding-left: 15px;
    }
    Its not "Mitch-ed" stupid....its Me-Show.

  • #2
    You just need Height and Width values to control the size of your rollover effect.
    Ned Yeung, A.C.E.
    mediamainline.com
    cyclopsphoto.ca

    Comment

    Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2015 Mediabistro Inc.
    Working...
    X