Hi Massimo,
 
I notice in markmin that an image is centered using P tags like this:

<p align="center"><img......> </p>

The problem is that HTML attributes are over-ruled by CSS.  Therefore this 
'align' attribute is usually ignored.

I am wondering therefore whether we could do something like this instead:

<p style='text-align:center'> <img......> </p>

I also noticed that the align attribute for img has been 
deprecated<http://www.w3schools.com/tags/att_img_align.asp>. 
 So, to float images to the left or right we should be doing this:

<img..... style='float:left' />  or  <img..... style='float:right' />

Pity that they won't float to the center too,  but that's probably asking 
too much  :-)

Maybe one of the folks that knows more about CSS might give the above the 
thumbs-up (or otherwise).

Regards, David

Reply via email to