Results 1 to 3 of 3

Thread: [RESOLVED] My markup doesn't appear in Firebug the way it should

Threaded View

  1. #1
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 04
    Location
    CT
    Posts
    14,412

    Resolved [RESOLVED] My markup doesn't appear in Firebug the way it should

    Nor does it render properly...

    I've got this markup - I want the two textarea's side by side - which happens naturally without the LEFTHALF and RIGHTHALF div's - but I want the button to be in the next TAB-ORDER after the LEFT-side textarea - so I thought a DIV would force that...

    Look at the SPAN markup in the image from FIREBUG below - how did it get so disconnected??

    Code:
    <div class="acs-edit-right">
        <div class="acs-div-p">
            <div class="acs-edit-lefthalf>
                <span class="acs-span-heading">Monthly Note</span>
                <br />
                <textarea class="awc-Note acs-edit-xlarge-text-box"></textarea>
                <br />
                <button type="button" class="acs-savenext-button" title="Save Note and Jump to Next Note">Save Note and Jump to Next Note</button>
            </div>
            <div class="acs-edit-righthalf>
                <span class="acs-span-heading">Last Month Note</span>
                <br />
                <textarea class="awc-LastNote acs-edit-xlarge-text-box" readonly="readonly"></textarea>
            </div>
        </div>
    </div>
    and this is the css

    Code:
    .acs-edit-lefthalf
    {   float: left;
        width: 50%
    }
    
    .acs-edit-lefthalf .acs-div-p
    {   border-style: solid;
        border-color: Blue;
        border-width: 1px; 
        margin: 0px 5px 5px 5px; 
        padding: 5px;
    }
    
    .acs-edit-righthalf
    {   float: left;
        width: 50%
    }
    
    .acs-edit-righthalf .acs-div-p
    {   border-style: solid;
        border-color: Blue;
        border-width: 1px; 
        margin: 0px 5px 5px 5px; 
        padding: 5px;
    }
    Attached Images Attached Images  
    Last edited by szlamany; Feb 16th, 2012 at 03:00 PM.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

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