Jump to content


Photo

Image alignment?


  • Please log in to reply
1 reply to this topic

#1 alecjw

alecjw
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts
  • LocationHatfield, Herts, UK

Posted 18 September 2006 - 09:29 PM

What's the CSS eqivelant to img's align="left"?

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 18 September 2006 - 09:34 PM

float ... for example:

<img class='float_left' src=' ....

and CSS defined like

.float_left {
	float: left;
	margin: 0px 6px 2px 0px;
	padding: 2px;
}

Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users