Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 247431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:15:31+00:00 2026-05-11T21:15:31+00:00

So I have used – http://www.roundedcornr.com/ – to generate some rounded corners via CSS.

  • 0

So I have used – http://www.roundedcornr.com/ – to generate some rounded corners via CSS. Great – works fine, no probs.

However! I am now really stuck trying to do “hover” rounded corners. I basically got the generator to generate the corners in a lighter color (for the hover) and now have no idea how to implement the lighter hover ?

Does anyone know how to do this in CSS/HTML only ? It should be 100% possible I am just a little unsure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:15:31+00:00Added an answer on May 11, 2026 at 9:15 pm

    I only gave the website a short peak and basically they provide you with a couple of PNGs. Not bad, however not the best solution in all cases. Since the current CSS standard doesn’t support rounded corners and beside Firefox/Mozilla no one understands this:

    -moz-border-radius-bottomleft:10px;
    -moz-border-radius-bottomright:10px;
    -moz-border-radius-topleft:10px;
    -moz-border-radius-topright:10px;
    

    I think you are stuck with only one option. Choose a constant height and width for your element and create ONE png out of it. You can than create something like this

    span{
     display:block;
     width:100px; height:100px;     
     background-image:url("nice.png");
    }
    
    span:hover{
     background-image:url("nice_hover.png");
    }
    

    Why do I think there is no other way? Because you only can effectively change the attributes of one element at a time with the “hover” effect. Hopefully CSS3 will give us rounded corners… However if you make use of JavaScript this is a completely different story..

    Update

    I thought about it and I probably flopped in presenting you all the available options. Here is a working solution for IE7+, FF, Opera that achieves exactly what you are looking for. Just replace the color with some background-image. Sorry!

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">   
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">     
        <head>      
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />   
            <title>Floating</title>
        <style type="text/css">
          .content p{
            position:relative;
            height:100px;
            width:400px;
            border:1px solid black;
          }
          .content p span{
            position:absolute;
          }
    
          .content p .span1{
            left:0;
            top:0;
          }
    
          .content p .span2{
            right:0;
            top:0;
          }
    
          .content p .span3{
            left:0;
            bottom:0;
          }
    
          .content p .span4{
            right:0;
            bottom:0;
          }
    
          .content p:hover .span1{
            background-color:red; 
          }
    
          .content p:hover .span2{
            background-color:blue; 
          }
    
          .content p:hover .span3{
            background-color:green; 
          }
    
          .content p:hover .span4{
            background-color:yellow; 
          }
        </style>
      <body>
        <div class="content">
          <p>
            <span class="span1">1</span>
            <span class="span2">2</span>
            <span class="span3">3</span>
            <span class="span4">4</span>
          </p>
        </div>
        </body>
    </html>  
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used push notification for my project & was working fine with HTTP
I have used traditional version control systems to maintain source code repositories on past
I have used IPC in Win32 code a while ago - critical sections, events,
I have used the XML Parser before, and even though it worked OK, I
I have used Photoshop CS2's Save for Web feature to create a table of
I have used this in my HTML: <q> Hai How r u </q> Which
I have used an update command to update the whole table in an Sql
I have used getopt in Python and was hoping there would be something similar
I have used extension methods to extend html helpers to make an RSS repeater:
T have used checkbox column in gridview. On click of a linkbutton, it should

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.