A web page has a section that contains an `
Which type of layout positioning should the `
Suggested Answer: B
Get Premium WGU (KVO1) Web Development Applications Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
> ''Relative positioning allows an element to be positioned relative to its normal (static) position. For example, `left: 10px` shifts the element 10 pixels to the right of its original location.''
>
> ''Unlike `absolute` or `fixed`, relative positioning does not remove the element from the document flow.''
* MDN Web Docs: position: relative
* CSS Positioning Module Level 3
---
21 comments · newest first
SH
Sharika
2 days ago
I still feel absolute could work for specific designs.
YU
Yuonne
7 days ago
Exactly! Relative keeps it in the layout.
KI
Kina
12 days ago
True, but we need it to stay in relation to its original spot.
JE
Jenelle
17 days ago
But absolute removes it from the flow, right?
SH
Sharika
23 days ago
I’m leaning towards D) Absolute. It can be positioned anywhere.
YU
Yuonne
28 days ago
Yeah, relative makes sense. It moves from its normal position.
KI
Kina
1 month ago
I think it should be B) Relative.
TA
Tashia
1 month ago
I’m leaning towards D) Absolute, but I see the point about Relative.
DA
Daniel
1 month ago
Wait, why not A) Static? Isn’t that the default?
VA
Vanesa
2 months ago
Agreed, B) Relative is the way to go!
JO
Jose
2 months ago
I think D) Absolute could work too, but not sure.
CA
Carri
2 months ago
Definitely B) Relative, it shifts without removing from the flow.
RO
Rory
2 months ago
Static won't cut it, we need some movement!
PA
Pauline
2 months ago
I agree with Relative, it’s the best choice here.
PU
Pura
2 months ago
Wait, is it really always 10 pixels? That seems odd.
WI
William
3 months ago
I think D) Absolute could work too!
TR
Tresa
3 months ago
Definitely B) Relative, it allows for that offset.
JO
Joanna
3 months ago
I thought fixed positioning was for elements that stay in one place even when scrolling, so that can't be it. I lean towards relative, but I need to double-check.
VA
Vallie
3 months ago
I feel like static positioning wouldn't apply here since the element is being moved. I just can't recall if relative or absolute is the better choice.
RA
Raul
3 months ago
I remember practicing a question like this, and I think absolute positioning could also work, but it depends on the context of the layout.
ZO
Zoila
4 months ago
I think it might be relative positioning since it says it's 10 pixels to the right of its normal position, but I'm not entirely sure.