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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:52:59+00:00 2026-06-03T20:52:59+00:00

CSS #header { width:90%; } #bakeryintro { width:40%; } .bakeryintro1 { font-size:350%; } .bakeryintro2

  • 0

CSS

#header
{
    width:90%;    
}

#bakeryintro
{
    width:40%;    
}

.bakeryintro1
{    
    font-size:350%;        
}

.bakeryintro2
{ 
    font-size:200%;
}

Makup

<div id="header">
        <div id="bakeryintro" class="editable draggable resizable text header">
            <span class="bakeryintro1">The Bakery</span><br />
            <span class="bakeryintro2">it`s all aboout the bread.</span>
        </div>
</div>

When i will reduce the size of browser the size of #header and #bakeryinro will reduced but the font-size in #bakeryintro remains as it is, Pls tell me the problem?

  • 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-03T20:53:00+00:00Added an answer on June 3, 2026 at 8:53 pm

    are you talking about this prototype ?

    if you are, this is css only prototype-proof:

    html { font-size: 62.5%; }
    body { font-size: 1em;}
    
    @media (max-width: 300px) {
        html { font-size: 70%; }
    }
    
    @media (min-width: 500px) {
        html { font-size: 80%; }
    }
    
    @media (min-width: 700px) {
        html { font-size: 120%; }
    }
    
    @media (min-width: 1200px) {
        html { font-size: 200%; }
    }
    

    Update:
    In comments @dystroy asked about smoothness of my method and neccessity to write 1200 rules for provide to simulate javascript way, but I thought about the thousands of rules, and found another way is to write a small number of rules for each integer value of the font size. The method has a right to exist, because browsers poorly supporting non-integer values ​​for the property font-size, that’s why the 1200 rules for changing the font from 12 to 16 are not neccessable, because browser can realize only 5 (12, 13, 14, 15, 16):

    /* for smoothness on the edges of the rules
       when font-size is changing */
    .example { transition: all 0.3s ease-out;  }
    
    @media (min-width: 1000px) {
        .example { font-size: 12px; }
    }
    
    @media (min-width: 1100px) {
        .example { font-size: 13px; }
    }
    
    @media (min-width: 1200px) {
        .example { font-size: 14px; }
    }
    
    @media (min-width: 1300px) {
        .example { font-size: 15px; }
    }
    
    @media (min-width: 1400px) {
        .example { font-size: 16px; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code on my print.css: #header, #tae, #nav, .noprint {display: none;} width:
here is my CSS: .body { font-family : Segoe UI; } .table{ width :
The images for my css header class load correctly in Chrome and FF, but
This is the closest I've seen: Changing font-size with jQuery css() function is crashing
This is my CSS code: #header { width: 900px; margin-left: 0; position: relative; text-align:
Addclass isn't workign in IE in the following code: $(tr).find(td:eq(0)).addClass(header).css(width,300px); $(tr).find(td:eq(1)).addClass(data).css(width,500px;);
Here is my CSS: .header { background-image:url(Images/head.png); background-position: center top; background-repeat:no-repeat; width:1010px; height:269px; }
I have a weird problem with my HTML and CSS code: <header> <h1>title</h1> </header>
I have a CSS entry that looks like this: .header { background-image: url(./images/embouchure.jpg); background-repeat:
I want to set the Expires header for all image/* and text/css . I'm

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.