Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Let text flow around an
- Adriano Mosley
February 18, 2010, 6:19 pm
rate this thread
I defined on top of the html source code of a web page an <iframe>.
After the iframe lots of text lines are following (see below).
Unfortunately the text starts BELOW (the lower frame line of) the <iframe>.
How can I achieve that the text starts right of the iframe and "flow" around the
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01//EN"
<link href="test.css" type="text/css" rel=stylesheet>
<iframe width="200" height="300">some iframe text</iframe>
lots of text lines
Re: Let text flow around an
firstname.lastname@example.org (Adriano Mosley) wrote:
An iframe is an inline element (like a span or img) and so any
text that is outside the iframe tags in the document that can fit
on the line that the iframe fits on, will do so. The text does
not start below. Both the text and the iframe run along the same
line more or less.
However, if you have text inside the iframe tags, it should only
show if the browser does not show frames.
- » HTML Template - To make layout changes to one copy
- — Next thread in » HTML Authoring Forum