ok, i need to "use an object tag to display an image in the centre (horizontally) on th page"
say the image is called image.jpg, what is the code for it??


HTML stuff
Started by
clarky3429
, Mar 15 2006 08:59 AM
7 replies to this topic
#1
Posted 15 March 2006 - 08:59 AM
#2
Posted 15 March 2006 - 09:28 AM
<img src="image.jpg" h-align="center">iirc. Might also be just halign....
for vertical, you use v-align btw.
That's HTML code btw, guessing that's the code you meant.
#3
Posted 15 March 2006 - 09:30 AM
yeah, it has to be in HTML, but it also only allowed to be done using the object tag, lol (including the image and its centering)
#4
Posted 15 March 2006 - 09:34 AM
Ow, sorry, I should pay more attention....
Gotta work that one out first...
Gotta work that one out first...
#5
Posted 15 March 2006 - 04:33 PM
<P ALIGN=center><OBJECT DATA="image.jpg" TYPE="image/jpeg"></OBJECT></P>
Verticle is
IMG.middle { vertical-align: middle }
Verticle is
IMG.middle { vertical-align: middle }
#6
Posted 15 March 2006 - 10:30 PM
there is not allowed to be any use of any other tags (including P tag), it has to ALL be centered using the object tag ONLY.

#7
Posted 15 March 2006 - 11:51 PM
then I have no clue, sorry clarky
#8
Posted 15 March 2006 - 11:53 PM
lol, its a massive bitch, ay!! i think i mite just use the above and tell em to like it or lump it coz theres no other way
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users