![]() |
Need help aligning pictures on webpage
I can't figure this crap out! I have all my text on the left, and now I want to insert a picture on the right of the page, even with the text, but I can't figure out how to do it. So far I can't find any tips on HTML help sites. Does anyone know how to do this?
|
try using a table with two columns
|
go here.... you can even try an mess around with the example.
http://www.w3schools.com/html/tryit....ml_image_float |
If it's just one picture, you can do it like this:
<img src="file.jpg" align=right> That should work fine. |
<p><img src="file.jpg" align=right> </p>
|
It's the ALIGN tag that you need. Sorry for the multiple posts.
|
Be careful with the align settings. If you would like to have your images in a predictable location you should use a table to control your screen location.
This is easily accomplished with something like this. < table width = 50% align = center > <tr> <td> stuff & what not....<img src=something.jpg align=right> ...more stuff & what not </td> </tr> </table> The reason for this is that if you change resolutions, align = right will put it at the right border of your window. If you control the width of your text then you will end up with reliable locations with minor variations among resolution changes. Containers like table and div are great for controlling your website's display methodology. Good luck I hope that this helps. |
All times are GMT -8. The time now is 08:42 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project