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

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • MichaelWied
    Comment on Company Logo Rebranding Critique
    MichaelWied
    Cant' see it for some reason.
    Today, 04:15 AM
  • Buda
    Reply to Please help with company logo
    Buda
    Is the company name still The Fitness Doctors? The latest logo doesn't show this.
    Today, 03:38 AM
  • Buda
    Reply to Happy Last Friday of July!!!!
    Buda
    Oh lala, if your summer is ending, that means my winter is ending.

    Amazing pirate mermaid wedding! I went to a pirate birthday party on a boat once but that doesn't even compare to a wedding....
    Today, 03:35 AM
  • salsa
    Reply to Freelance Advice - Family Conflict
    salsa
    If it were me, I'd just write off all the work done so far as pro bono. Like several others already mentioned, I do all family work for free and if they want to pay me then that's an extra bonus.
    ...
    Today, 03:23 AM
  • Kayekaye
    Reply to Freelance Advice - Family Conflict
    Kayekaye
    I had inlaws approach me for a logo and website. What a nightmare. They are a married professional couple and said "Of course we would pay you, $___ (an amount that barely covers 2 hours of work)...
    Today, 03:07 AM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

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

     
    home | site map | advertising/sponsorships | about us | careers | contact us | help courses | browse jobs | freelancers | events | forums | content | member benefits | reprints & permissions about | terms of use | privacy policy | Copyright © 2014 Mediabistro Inc. Mediabistro Inc. call (212) 389-2000 or email us
    Working...
    X