Fix height to parent?

2 posts Page 1 of 1
Contributors
User avatar
Livengood
Serious Programmer
Serious Programmer
Posts: 444
Joined: Tue Feb 16, 2010 6:24 am

Fix height to parent?
Livengood
How can i fix the height of a link to the parent. The 100% doesnt work.
Image
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: Fix height to parent?
mikethedj4
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"
2 posts Page 1 of 1
Return to “Tutorials”