1 Attachment(s)
text in placeholder issue
Hi,
I placed this question in another thread but it wasn't answered.
Why the text isn't contained to the object height but does to its width?
This could mean that people could use a single div for their text,
as it seems to be a culprit for some.;)
Hans
Re: text in placeholder issue
Because the default overflow setting for the div is "visible" so that content is allowed to be renderen over the border. You can embed your content within a <div> with different overflow setting. For exemple, it may be set to scroll, so that overflowing content will be scrolled. For your example file it may look like this:
<div style="overflow:scroll; width:100%; height:100%;">
<h1>OIOIO</h1>
<p>The following is an example streaming video.
It's easy to embed your own YouTube videos, or any of
the tens of thousands of third party 'web widgets'
using the Placeholder feature. Most web widgets provide
a short snippet of HTML that you can attach to a graphic.
So the following rectangle acts as a placeholder for the
streaming video. To see the actual HTML snippet used,
open the Web Properties dialog and look at the Placeholder
tab.</p>
</div>
1 Attachment(s)
Re: text in placeholder issue
Yes the div style works but only with scroll,auto isn't supported.
This means people need to scroll sideways,not up and down,which is the normal behavior in every website.
Hans
Re: text in placeholder issue
No, in your example file when I insert this code I get vertical scrolling only. Do you get horisontal as well?
Ah, I see you have added a little bit different code than I proposed. Make shure it is:
<div style="overflow:scroll; width:100%; height:100%;">
Re: text in placeholder issue
Added attachment in prev post.
**edit**When adding the dimensions it worked.
Hans
Re: text in placeholder issue
Yes, yes, I have edited my post to comply to it. ;)
Oh, and yes, you can specify "overflow:auto" if you want to scrollbar to be hidden when content fully fits the placeholder.