Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2008, 12:05 PM
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-10-2008, 02:23 PM
Member
 
Join Date: Apr 2008
Posts: 5
nanimtech is on a distinguished road
alignment problem
Hey i had fixed this one
in the css i had given like "float : right"
now it is aligning properly


Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with extending classes... Bizmark New To Java 4 04-08-2008 12:21 AM
[SOLVED] Problem with setVisible(); on LINUX lepetitprince AWT / Swing 6 04-07-2008 03:14 PM
[SOLVED] file i/o problem aytidaalkuhs New To Java 3 04-06-2008 07:42 PM
[SOLVED] Actionevent problem Cymro New To Java 3 04-04-2008 08:11 AM
[SOLVED] Problem with code - inheritence yalla New To Java 1 03-30-2008 07:11 AM


All times are GMT +3. The time now is 12:05 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org