View Single Post
  #1 (permalink)  
Old 04-10-2008, 12:05 PM
nanimtech nanimtech is offline
Member
 
Join Date: Apr 2008
Posts: 5
nanimtech is on a distinguished road
[SOLVED] alignment problem
posted Today 2:00 PM Profile for Naresh Talluri Email Naresh Talluri Send New Private Message Edit/Delete Post Reply With Quote Hi folks
here iam facing one problem in alignment,
in my jsp i have a data like "name : Naresh" ,like this i have 5-6 rows
are there, but if i enter more data like "name : Naresh Naresh Naresh
Naresh Naresh Naresh" , then the data is placed like miss aligned.
here is my code..
JSP



HTML Code:
<tr> <td class="historyformlabel" valign="top"><%=StringUtil.formatStringForValidXml(StringUtil.removeHTMLElement(objHistorySubDTO.getHistoryFieldTitle()))+" : "%></td> <bean efine id="objOptionDTO" name="objHistorySubDTO" property="optionsDTOData" type="com.acti.jms.objects.DTO.OptionsDTO"/> <logic:equal name="objOptionDTO" property="optionTypeId" value="<%=lResourceBundle.getString("messageform.formfield.telephonenumber")%>"> <td class="historyformvalue" valign="top"><%=StringUtil.newFormatPhoneNumber(objHistorySubDTO.getHistoryFieldValue())%></td> </logic:equal> <logic:notEqual name="objOptionDTO" property="optionTypeId" value="<%=lResourceBundle.getString("messageform.formfield.telephonenumber")%>"> <td class="historyformvalue" valign="top"><bean:write name="objHistorySubDTO" property="historyFieldValue"/></td> </logic:notEqual> </tr>



CSS



HTML Code:
.historyformlabel{ color:#666666; font: 11px Tahoma, Verdana, sans-serif; font-weight:bold; text-align: right; width:200px; } .historyformvalue{ color:#000000; font: 11px Tahoma, Verdana, sans-serif; width:285px; }


can you please let me know how can i overcome this one...

-Naresh



[banghead] Posts: 34 | Registered: Oct 2007 | IP: Logged
Reply With Quote
Sponsored Links