troubleshooting Question

how to hide a tag and not mess up the alignment

Avatar of tech_question
tech_question asked on
2 Comments1 Solution292 ViewsLast Modified:
           <table border="0" cellpadding="0" cellspacing="5" width="100%">
                                                      <tr height="20" valign="top">
                                                            <td align="right" >
                                                                  <span class="required">*</span>Size:
                                                                  <input id="SizeWhole" class="inputBox" value="" size="5" />
                                                                  <!--<span id="spanStatusMsg" class="Status" style="visibility: hidden;"></span>-->
                                                                  <span id="spntest1">
                                                                  <component:test >

I have the above html. I use javascript/dhtml and hide the span tag spnTest1and increase the size of SizeWhole to 8. As a result alignment of the component:test gets
messed up . How can I do a fixed alignment to the <component:test> even if I hide the spnTest1 tag and change the size of the SizeWhole textbox ?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros