Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-05-2010, 02:53 PM   #1
Daemon Poster
 
Join Date: May 2009
Posts: 690
Default html help

I use HTML code to make web pages and it works good I need help with image placement.

<center>
<img src="photo A2.jpg" width="550" alt="" border="0" align="">
</center>

The code Centers the image but if I type in RIGHT inplace of CENTER it goes to the left of the screen why??
__________________

biferi is offline   Reply With Quote
Old 02-05-2010, 03:30 PM   #2
In Runtime
 
hockeygoalie5's Avatar
 
Join Date: Dec 2009
Location: United States
Posts: 297
Default Re: html help

"<right>" is not a valid HTML tag. Try <div align="right"><img /></div>.
__________________

hockeygoalie5 is offline   Reply With Quote
Old 02-05-2010, 10:31 PM   #3
Daemon Poster
 
Join Date: May 2009
Posts: 690
Default Re: html help

why does it work for Center and that is it for anything other then center I have to use your html tags???
biferi is offline   Reply With Quote
Old 02-09-2010, 12:45 PM   #4
Baseband Member
 
Join Date: Dec 2009
Posts: 37
Default Re: html help

Because that's the way it is?

Code:
<img src="imagename.jpg" width="550" alt="" border="0" align="RIGHT">
That should align the picture to the right without using a DIV.
a_giunta67 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:11 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0