You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Rovi <ro...@yahoo.com> on 2006/01/07 11:50:21 UTC

Image Alignment issue in Kupu (Lenya 1.2.4)

Apropos my earlier post (Newbie questions)
[(5) I checked out and implemented changes required as per
 HowToCustomizeImageMarkup document. But still my image does not accept left or
right in Kupu. However, I can change it in Source View. Related question - is 
there any other choice of editor for the IE users?
Ans:
See "Fix Alignment and More":
http://solprovider.com/lenya/kupucenter]

I referred to:
http://www.mail-archive.com/user@lenya.apache.org/msg01184.html
RE: Lenya 1.2, Kupu, BXE and image alignment
Linczak, Jonathan W.
Sat, 09 Jul 2005

But it did not help. In fact the height and width attributes also disappear on 
saving (style="float: right; width: 249px; height: 60px;") - this entire thing 
disappears. 
Would appreciate any pointers as to how to resolve this with Lenya 1.2.4. 
Thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Image Alignment issue in Kupu (Lenya 1.2.4)

Posted by so...@apache.org.
On 1/7/06, solprovider@apache.org <so...@apache.org> wrote:
> IMG does not have a FLOAT attribute.  Use ALIGN in HTML and CSS.

= Supporting documentation =
W3C (Used by Gecko/Mozilla)
http://www.w3.org/TR/2000/WD-DOM-Level-2-HTML-20001113/html.html#ID-17701901

MSIE:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/img.asp

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Image Alignment issue in Kupu (Lenya 1.2.4)

Posted by so...@apache.org.
On 1/7/06, Rovi <ro...@yahoo.com> wrote:
> Apropos my earlier post (Newbie questions)
> [(5) I checked out and implemented changes required as per
>  HowToCustomizeImageMarkup document. But still my image does not accept left or
> right in Kupu. However, I can change it in Source View. Related question - is
> there any other choice of editor for the IE users?
> Ans:
> See "Fix Alignment and More":
> http://solprovider.com/lenya/kupucenter]
>
> I referred to:
> http://www.mail-archive.com/user@lenya.apache.org/msg01184.html
> RE: Lenya 1.2, Kupu, BXE and image alignment
> Linczak, Jonathan W.
> Sat, 09 Jul 2005
>
> But it did not help. In fact the height and width attributes also disappear on
> saving (style="float: right; width: 249px; height: 60px;") - this entire thing
> disappears.
> Would appreciate any pointers as to how to resolve this with Lenya 1.2.4.

Jon's and my solutions were both for fixing HTML, not CSS:
<IMG ALIGN="RIGHT" SRC="...">

IMG does not have a FLOAT attribute.  Use ALIGN in HTML and CSS.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Image Alignment issue in Kupu (Lenya 1.2.4)

Posted by Yehya Mohamad <ye...@fit.fraunhofer.de>.
Hi Rovi,




Rovi wrote:

> 
> But it did not help. In fact the height and width attributes also disappear on 
> saving (style="float: right; width: 249px; height: 60px;") - this entire thing 
> disappears. 
> Would appreciate any pointers as to how to resolve this with Lenya 1.2.4. 
> Thanks!
> 


I have used css classes to add images at left and right:
.image_r {
	float: right;
	font-size: .8em;
	margin: 2em 1em 1em 2em;
	padding: 0 0 3px 0;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
}

.image_l {
	float: left;
	font-size: .8em;
	margin: 0 1em 1em 0;
	padding: 0 0 3px 0;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
}


In kupu I added then the image in kupu WYSIWYG and then in source mode I 
added a P-element around the image

<p class="image_r">

<img src="folderx/image1.jpg" ismap="ismap" alt="test" border="0">
</p>




<p class="image_l">


<img src="folderx/image2.jpg" ismap="ismap" alt="" border="0">
</p>



Regards

Yehya

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org