132k views
2 votes
Suppose the fixed width of an aside element in a fixed layout is 300 pixels, and the fixed width of its parent element (body) is 900 pixels. If you convert the page from fixed to fluid layout, the width of the aside should be set to

answer choices
a. 33.33%
b. 0333
c. 300%
d. 3

User Sajas
by
4.6k points

1 Answer

4 votes

Answer:

The width of the aside should be set to 33.33%

Step-by-step explanation:

Given:

Let F1 = Fixed width of an aside element in a fixed layout

F1 = 300 pixels

Let F2 = Fixed width of its parent element (body)

F2 = 900 pixels

Let W = The width, after converting the page from fixed to fluid layout

W is calculated as F1/F2

W = F1/F2

W = 300 pixels/900 pixels

W = 300/900

W = 0.3333 ---- Convert to percentage

W = 33.33%

Hence, the width of the aside should be set to 33.33%

User Milanlempera
by
5.3k points