Log In · Register

 
Proper alignment?
Relentless
post Aug 5 2007, 04:43 PM
Post #1


sang loves hayden.
*******

Group: Staff Alumni
Posts: 3,373
Joined: Feb 2004
Member No: 5,687



Well, I'm having an issue with my image alignment.

I'm pretty sure the code to align an image is this..

<img src="URL" align=left/right> Right..?

Well, if you look in my CB profile, I put my image set to the right.. like so..
<img src="URL" align=right>

It's perfectly fine in FF. However in IE it's different. There's a huge gap for some reason. =/

I even tried <div align=right><img src="URL"> and it still doesn't look right in IE. But everything is fine in FF.

Anyone know the alignment in IE? Thanks.
 
 
Start new topic
Replies
freeflow
post Aug 5 2007, 04:49 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



I don't have IE but why not put it in a div and position it that way without the right and left? That way it stays aligned better.

<div id="name"><img src="urlhere"></div>

<style type="text/css">
#name{
position: absolute;
left: 50%;
top: 0%;
margin-top: #px;
margin-left: #px
z-index: #;
}
</style>


 

Posts in this topic
Relentless   Proper alignment?   Aug 5 2007, 04:43 PM
freeflow   I don't have IE but why not put it in a div an...   Aug 5 2007, 04:49 PM
Relentless   The image is already in a div. I'm not positio...   Aug 5 2007, 05:06 PM
Alvin   Try it with quotations. Like this: CODE<img sr...   Aug 5 2007, 06:19 PM
Relentless   Didn't work. Gahhh. =X   Aug 5 2007, 06:52 PM
Alvin   The only way I could get it to work in Internet Ex...   Aug 5 2007, 07:29 PM
Relentless   THANKS ALVIN! It worked. I really never though...   Aug 5 2007, 08:16 PM
Alvin   ^You're welcome Sang!   Aug 5 2007, 08:25 PM
digitalfragrance   Topic Closed Good work guys!   Aug 5 2007, 10:48 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: