Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Table - Cell Alignment



i have a celltable with an image.

I wanto to change the alignment of the cell.

In the text editor:  

right click -> cell properties -> align right.

It's work.

But when i save and publish the alignment doesn't work. (image to left).

The generated html seems correct:

<TABLE border=0 width="100%">
<TR vAlign=top>
<TD align=right><IMG style="WIDTH: 111px; HEIGHT: 110px"  src="xxx"></TD>


Oct 28, 2009 11:32

Anything blocking it to the right? We would need to see the rest of your code (both html and css), to be able to help.

Oct 28, 2009 18:00


<TABLE border=0 width="100%" height=158>
    <TR vAlign=top>
      <TD><P align=center>Test1</P></TD>
      <TD align=right><P align=right><IMG alt="" src="/Documents/Environment/M%c3%a4rkning/EUeko.png"></P></TD></TR>
    <TR vAlign=top>
      <TD><P align=center>Test2</P></TD>

Nov 06, 2009 15:03

The image gets displayed to the left of Test1? Sounds like the image has the float property set to left. To check this use a tool like Firebug to inspect the image.

Nov 06, 2009 15:07
Nov 06, 2009 15:07

Need to see the CSS for site (view mode), since it looked okay in the editor?

Nov 06, 2009 15:13

It was the CSS file :-)

p img {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}

Nov 06, 2009 15:28

Ah there you go, glad you found out of it :).

Nov 06, 2009 15:30
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.