SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Aug 28, 2007, 08:40 #1
- Join Date
- Sep 2005
- Posts
- 51
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Placement of error message problems!
need some help.
I have two columns......1st div is a label, 2nd div is a basically a textbox.
now if there is an error.....i want the error message (another div) to show up below the textbox.
I can't seem to get them to line up with CSS. If it comes close in IE then Firefox is out of whack and viceversa.
Any help is greatly appreciated!
Thanks.
p.s. in this format
Name: (textbox)
(errormessage)
-
Aug 28, 2007, 08:43 #2
- Join Date
- Aug 2007
- Location
- Brighton, UK
- Posts
- 2,006
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Would it be possible for you to post the code so we can have a look.
I think i know what you're talking about but it would be nice to see some code★ James Padolsey
–––––––––––––––––––––––––––––––––––––––
Awesome JavaScript Zoomer (demo here)
'Ajaxy' - Ajax integration solution (demo here)
-
Aug 28, 2007, 08:46 #3
- Join Date
- Sep 2005
- Posts
- 51
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
label {
float: left;
width:25%;
margin-right:0.2em;
padding-top:0.5em;
text-align:right;
}
#inputboxfull {
float: left;
width: 75%;
}
#errormessage {
float: left;
clear: right;
}
<fieldset>
<legend class="tablebackground">Information</legend>
<label>Namewcb-html:requiredField/></label>
<div id="inputboxfull"><netui:textBox dataSource="{pageFlow.chiFormDoc.chiForm.clinicInfo.name}" size="10"></netui:textBox>
<div id="errormessage"><netui:error value="clinic.name" bundle="messages"/></div>
</div>
etc........
Bookmarks