471,603 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

text align right

JG
Hello I've got an issue creating a web page. I've have two pictures sitting
where I want them (one left and one right) and I have a heading over the
left one but cannot get text to move over the right one. Actually I did
get it to go over the right one in one scenario but I had to put a line return
in so that the right picture sat down lower than the left. I realize everything is
done with styles nowadays but I just need (if possible) a simple html way to
do this. Really appreciate all info.
--------------code below--------------
<center><b><font size="4">Main text at top of page</font</b></center><br>
<br>
<left>
<b><font size="4">Left picture heading</font></b>
</left>
<right>
<b><font size="4">Right picture heading</font></b>
</right>
<br>
<p><img src="Left Picture.jpg" width="430" height="285" alt="Alt Text"
style="float:left">
<p><img src="Right Picture.jpg" width="430" height="281" alt="Alt Text"
style="float:right">
<br />
</p>
Nov 6 '07 #1
1 2450
JG wrote:
Hello I've got an issue creating a web page.
Yes, you do. You can't make up HTML elements and expect it to work.

These:
<left>
<right>
<b><font size="4">Right picture heading</font></b>
</right>
<br>
<p><img src="Left Picture.jpg" width="430" height="285" alt="Alt Text"
style="float:left">
The next <pcloses the previous one.

<p>
<span style="float: right">Right picture heading<br>
<img src="Right Picture.jpg" width="430" height="281" alt="Alt Text"
</span>
</p>

If there is no content text, why use <p>aragraphs?

Next time, post a URL. Run it through the validators first.
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/validator.html

--
-bts
-Motorcycles defy gravity; cars just suck
Nov 6 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Lui Ali | last post: by
4 posts views Thread by j.t.w | last post: by
2 posts views Thread by nikou_70 | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.