Jump to content

zeroxp

Members
  • Posts

    3
  • Joined

  • Last visited

About zeroxp

  • Birthday 11/07/1978

Contact Methods

  • Website URL
    http://
  • ICQ
    0

zeroxp's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. the Replace method is declared as:String.Replace Method (String, String) so try something similar to <%# Container.DataItem("Description").ToString().Replace("string1", "string2") %>
  2. that's not your wrap's fault. it is on top already. but the h3 make the header div away from top.try this<h3 style="margin-top:0;">Website Design Without Frustration!</h3> or put some inline element before h3
  3. the following page appears differently in IE and FF.<html><head><title>Input Width</title></head><body><div style="height:200px; width:25%; background-color:#8cc; color:#000;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr><td style="padding-left:10px; padding-right:10px;"><input style="width:100%;" value="1234567890 2234567890 3234567890 4234567890 5234567890 6234567890"/></td></tr><tr><td style="padding-left:10px; padding-right:10px;"><input style="width:100%;"/></td></tr></table><div style="padding-left:10px; padding-right:10px;"><input style="width:100%;" value="1234567890 2234567890 3234567890 4234567890 5234567890 6234567890"/></div><div style="padding-left:10px; padding-right:10px;"><input style="width:100%;"/></div></div></body></html> the problem is the 'input' inside 'td' trying to display all contents in IE. at first i thought it was because IE cant render percentage width correctly, but it works fine when the 'input' inside 'div'.is there any logic behinde this behavior? and is there a work around for percentage width for textbox?Thanks
×
×
  • Create New...