SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    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)

  2. #2
    Function Curry'er JimmyP's Avatar
    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)

  3. #3
    SitePoint Enthusiast
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •