Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

WGU (KVO1) Web Development Applications Exam - Topic 1 Question 14 Discussion

A web page has a section that contains an `` element. The element is always 10 pixels to the right of its normal position.Which type of layout positioning should the `` element use?
B) Relative
A) Static
C) Fixed
D) Absolute

WGU (KVO1) Web Development Applications Exam - Topic 1 Question 14 Discussion

Actual exam question for WGU's WGU (KVO1) Web Development Applications exam
Question #: 14
Topic #: 1
[All WGU (KVO1) Web Development Applications Questions]

A web page has a section that contains an `

` element. The element is always 10 pixels to the right of its normal position.

Which type of layout positioning should the `

` element use?

Show Suggested Answer Hide Answer
Suggested Answer: B

> ''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

---

Contribute your Thoughts:

0/2000 characters
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.
upvoted 0 times
...
Vallie
5 days 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.
upvoted 0 times
...
Raul
10 days 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.
upvoted 0 times
...
Zoila
15 days 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.
upvoted 0 times
...

Save Cancel