How do I put text on 50% of the page width?

D

Day Brown

and have <img src=witch.gif size=50%> next to it?
I must be missing something, read about tables and frames, but didnt see
'text flow'....
 
D

David Dorward

Day said:
and have <img src=witch.gif size=50%> next to it?

What? Oh, you started the question in the subject.

For a start you need to learn ahout http://validator.w3.org/ - quotes around
attribute values are only optional sometimes (its simplist just to use them
all the time as they are never forbidden), and the alt attribute is
I must be missing something, read about tables and frames, but didnt see
'text flow'....

Well, presentation is the job of CSS, not HTML. You would probably want to
wrap the text in a suitable container (probably a <div> since it doesn't
sound like there is anything in HTML that has more accurate semantics for
your data). You can constrain the width with the "width" property, then let
the image appear next to it (or vice versa) with the "float" property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top