May 04, 2010, 1:41 AM
[CLOSED] background image position in HTMLeditor
I tried to set background image in html editor, It is displayed... but not set the position. how to solve the problem.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FrmGeneralinfo_001.aspx.cs" Inherits="FrmGeneralinfo_001" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<head>
<style>
.hide-toolbar .x-html-editor-tb{
display: none !important;
}
.edit-form
{
background:url("../images/slate/tabs/txt-bg.png") no-repeat;
background-position:top left;
border:1px solid #888888;
}
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><ext:Panel ID="Pnl3" runat="server" Border="false" Width="212">
<Body><ext:AnchorLayout ID="AnchorLayout1" runat="server">
<ext:Anchor Vertical="100%">
<ext:HtmlEditor ID="txt_descrtiption" runat="server" CtCls="hide-toolbar" FieldClass="edit-form" Height="70" >
<CustomConfig>
<ext:ConfigItem Name="width" Value="100%" Mode="Value" />
</CustomConfig>
</ext:HtmlEditor>
</ext:Anchor>
</ext:AnchorLayout>
</Body>
</ext:Panel></td></tr></table>
</body>
</html>