• Top Members
    Reps
    Posts
  • 834 Replies
    2585 Replies
  • 716 Replies
    2025 Replies
  • 331 Replies
    1928 Replies

Fix height to parent?

User avatar
Livengood
Serious Programmer
Posts: 440

Fix height to parent?

Sun Aug 26, 2012 7:18 am

How can i fix the height of a link to the parent. The 100% doesnt work.
Image

User avatar
mikethedj4
VIP - Site Partner
Posts: 2576

Re: Fix height to parent?

Tue May 16, 2017 12:49 am

Depends on the element's "display" property, and it's parent's "position" property. an easy fix is setting the parent to "position: relative;" and the element you want a 100% height to like "display: block;" or "display: inline-block;"

In addition, this post should be located in the "Help & Support Section"
Image
Image

Post Reply

Return to “Tutorials”