Reputation: 53
I am shaping a family tree using list as element to build the tree my problem is when the get larger no horizontal scrollbar appears I am using iframe and css to control the style of the tree
this is the style of the iframe
.frame
{
overflow: scroll;
width: 149px;
height: 100%;
}
and I added this attribute to the tag but it didn't work also
<iframe class = "frame" width="200" height="200" scrolling="yes" src="">
</iframe>
can someone help me please.
Upvotes: 0
Views: 2391
Reputation: 47
Please run the code and let me know where your having problem may be i am unable to understand your question
.frame
{
overflow: scroll;
width: 149px;
height: 100%;
}
<iframe width="800" height="800" scrolling="yes" src="stackoverflow.com">
</iframe>
Upvotes: 0
Reputation: 1301
Correct me if I'm wrong but shouldn't it be
<iframe class="frame" width="200" height="200" scrolling="yes" src=""></iframe>
to apply the .frame class to the iframe
Upvotes: 1