1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lara [203]
3 years ago
8

Create a style rule for the page body that sets the width to 95% of the browser window ranging from 640 pixels up to 960 pixels.

Horizontally center the page body within the browser window. Finally, Karen wants to ensure that the height of the page body is always at least as high as the browser window itself. Set the minimum height of the browser window to 100%.
Computers and Technology
1 answer:
Stels [109]3 years ago
6 0

Answer:

body {

width: 95%;

min-width: 640px;

max-width: 960px ;

margin-left: auto;

margin-right: auto;

height: 100%

}

Explanation:

  • <em>body {</em>

represents the HTML tag that you want to style using CSS

There are two major ways to style a text it can either be fixed or fluid.

Fixed layout: The height and width are not flexible, it is specified by using pixels.

Fluid: The height and the width are flexible it  makes use of percentages and ems.

<em />

  • <em>width: 95%; </em>

<em>  min-width: 640px; </em>

<em>  max-width: 960px ;</em>

sets the width to 95% of the browser window and sets the pixel range  from 640 pixels up to 960 pixels.

  • <em>margin-left: auto; </em>

<em> margin-right: auto; </em>

these lines of code horizontally center the page body within the browser window by automatically setting the margin alignment.

  • <em>height: 100% </em>

it Set the minimum height of the browser window to 100% , ensuring that the height of the page body is always at least as high as the browser window itself.

You might be interested in
Why don't I have friends?
Papessa [141]

Answer:

maybe you do not ask for them i will be your friend.

Explanation:

7 0
3 years ago
Read 2 more answers
Fill in the blank.He wrote me a love blank
saul85 [17]
A love poem. He wrote you a love poem.
3 0
3 years ago
Read 2 more answers
NEED HELP
valentina_108 [34]
It’s string. you can make the string bounce and make a sound.
7 0
3 years ago
Read 2 more answers
If the moon disappeared, what effect would this have on the Earth’s tides?
avanturin [10]
<span>There would no longer be any tides.< this seems like the most probable answer because there will be no gravitational pull from the moon that causes tides 
</span>
8 0
3 years ago
What type of loop structure repeats the code based on the value of a boolean expression?.
mixas84 [53]

Answer:

Condition-controlled loop

Explanation:

be happy

8 0
2 years ago
Other questions:
  • Numeric data is stored in ___________ for direct processing.
    10·2 answers
  • If you delete a file from removable media, it is stored in the recycle bin where you can recover it until you empty the recycle
    13·1 answer
  • It's inventiveness uncertainty and futuristic ideas typically deals with science and technology ......what is it.
    8·1 answer
  • What are 7 good facts on Computer Viruses?
    10·1 answer
  • Which library research databases include information about articles published in magazines, journals, and newspapers? question 1
    7·1 answer
  • ____ is scientifically seeking and discovering facts.
    9·1 answer
  • HELPPP
    5·1 answer
  • How would you open the web browser in Linux and still have access to the Linux terminal?
    14·1 answer
  • The most popular battery type used in today’s electronic devices is __________.
    14·1 answer
  • oe, a user, receives an email from a popular video streaming website. the email urges him to renew his membership. the message a
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!