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 8153711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:06:37+00:00 2026-06-06T16:06:37+00:00

I’m trying to make an adaptable Web page where I have some circles on

  • 0

I’m trying to make an adaptable Web page where I have some circles on it. The thing is: depending on which screen size I use, the circles look like eggs or like circles, depending on the screen you see at it. I’ve solved that problem, and it is because I work with % width and height, so when you go to a squared or a rectangle screen, it changes the view.

So I decided to use fixed sizes, so it works the same way with all screen sizes. But, of course, when you go to different screen resolutions, this circles look bigger or smaller. I tried to put this:

@media screen (min-width: 1620px)
{
    html
    {
        font-size: 100%;
    }
.circle-wrap 
{ 
    width:150px; 
    height:150px;   
    position:absolute; 
    float:left; 
    text-decoration:none; 

    /* Multiple compatibility with border radius */
    /* CSS 3 */
    border-radius: 50%;
    /* Firefox versiones 3.x */
    -moz-border-radius: 50%;
    /* Safari desde 3.2 hasta la 4 */
    -webkit-border-radius: 50%;
    /* Khtml Conqueror */
    -khtml-border-radius: 50%;
}
}

So with that, what I’m trying to do is create a class circle-wrap to adjust my pixel size due to different screen resolutions. But it doesn’t work as expected. I suppose for some reason you can’t put on the @media … your own classes or identifiers, so I’m trying to find a solution on how to change dinamically my pixel width/height for my circles due to different resolutions.

Any help would be really appreciated!

  • 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-06-06T16:06:38+00:00Added an answer on June 6, 2026 at 4:06 pm

    First option you can use dynamic size units http://www.w3.org/TR/css3-values/#lengths

    Or apply media queries

    .circle-wrap { 
        position:absolute; 
        float:left; 
        text-decoration:none; 
    
        /* Multiple compatibility with border radius */
        /* CSS 3 */
        border-radius: 50%;
        /* Firefox versiones 3.x */
        -moz-border-radius: 50%;
        /* Safari desde 3.2 hasta la 4 */
        -webkit-border-radius: 50%;
        /* Khtml Conqueror */
        -khtml-border-radius: 50%;
    }
    @media screen and (min-width: 1620px) {
        .circle-wrap { 
            width:150px; 
            height:150px;
        }
    }
    @media screen and (max-width: 1620px) and (min-width: 1024px) {
        .circle-wrap { 
            width:125px; 
            height:125px;
        }
    }
    @media screen and (max-width: 1024px) {
        .circle-wrap { 
            width:100px; 
            height:100px;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a text area in my form which accepts all possible characters from
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I have a reasonable size flat file database of text documents mostly saved in
I am trying to loop through a bunch of documents I have to put

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.