170k views
16 votes
(50 points) Jeff wants to create a responsive web page where elements change size according to the size of the window. How would he specify elect sizes on a web page with such a fluid layout

User Cwhiii
by
4.6k points

2 Answers

13 votes

Answer:

make the element sizes a percentage

Step-by-step explanation:

User BumbleGee
by
4.7k points
11 votes

Answer:

make the element sizes a percentage

Step-by-step explanation:

Without using a framework specified for this type of thing such as Bootstrap, the best way to do this would be to make the element sizes a percentage. By making the size of everything a percentage it will automatically resize itself to take up the same percentage of the screen at all times. Even when the browser window is resized to any size that the user wants. This also applies to monitors of different sizes and mobile devices.

User Zaak
by
4.7k points