FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Positioning images with HTML





Mark999111
hey

Is there any way i can position my images without using CSS and only HTML? Im learning HTML at the moment and this seems to be the main problem even though you would think its a relatively simple thing to do.

Anyways, when i insert an image all i can manage to do is have it in the center, or at the left, which is annoying. I trailed through a few sites on HTML but it didnt help much.

I want to, for example, place an image about 300pixels from the left side of my screen, how would i do that?


(hint: giving me the code directly would be nice Very Happy )
Sunny
umm this should work...

<IMG SRC="yourpicurl.gif" ALIGN="left" VALIGN="top" HSPACE="300">
Mark999111
thanks!
shabda
If want to make a layout without css, you got to use tables. But probably thats the worse idea. CSS though tougher gives you more flexibility.
Dragate
not really, tables are pretty simple to use and css is sometimes really confusing... If you want to position ur images:
http://www.w3schools.com/html/html_examples.asp also, you can go to www.w3schools.com for more than just html, they have avascript, DOM HTML, xhtml and much more remeber to not copy their exmaples (they are they best site ever) Very Happy
Rosanova
Hi there,

I've been into major problems with designing my page so it should look as well in IE and Opera as Firefox. The problems has been the position of images in tables, and I found two outgoing tags hspace and vspace. Now is the problem how I can replace them using CSS or DHTML. Is there any who has hints for that.

Thanks


Cheers
AOP Web Development
Dragate wrote:
not really, tables are pretty simple to use and css is sometimes really confusing... If you want to position ur images:
http://www.w3schools.com/html/html_examples.asp also, you can go to www.w3schools.com for more than just html, they have avascript, DOM HTML, xhtml and much more remeber to not copy their exmaples (they are they best site ever) Very Happy



well for me i try to use table some of my site specially if it has many dynamic functions but if it has only a CMS style then i prefer to use CSS.... tables are not evil but if you know how to use it.. they are very friendly... I agree on what you said that CSS sometimes it's really confusing because of the incompatibility by other browser... But CSS for me is the best component for designing...
hexkid
You're all missing the php tags!
Related topics
W3C buttons without images
Basic HTML Introduction
What folder is your html files and images suppose to be in?
Learning CSS
Can someone design me simple HTML template? or some images..
Flash or HTML
Tweak The Cache
positioning div top right
Portfolio for web and graphic designer
Buy my website templates ( 6 more templates added)
HTML fixer gets $30FRIH
My first cover! (photography)
2 years of files, films and pictures lost, Doh!
Tutorial: Image positioning
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.