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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 121k
  • Answers 121k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Remove the border-collapse and use cellspacing=0 instead. <table style="border: 15px… May 12, 2026 at 12:22 am
  • Editorial Team
    Editorial Team added an answer Not clear what you want to do. You cannot return… May 12, 2026 at 12:22 am
  • Editorial Team
    Editorial Team added an answer There is a W3C XQuery test suite that at least… May 12, 2026 at 12:22 am

Related Questions

So I have used - http://www.roundedcornr.com/ - to generate some rounded corners via CSS.
I have used Ruby on Rails with ActiveRecord, so I am quite used to
I have used LINQ to SQL successfully on an number of projects recently, but
I have used extension methods to extend html helpers to make an RSS repeater:
I have used the select keyword and extension method to return an IEnumerable<T> with

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.