Jump to content

Elements displaying not as blocks, despite code set to block... ideas?


dhcrusoe

Recommended Posts

Hey all,

 

I'm having bleed between the contents of some DIVs... I think it's because they're not displaying as blocks, but even after adding this style, they still bleed into one another. I've enclosed my code, css clip, and a quick screenshot of the issue... thanks for your suggestions!

 

--Dave

 

.inputbox { 
margin: 10px;
padding: 5px;
display: block;
}
.textareabox { 
margin: 10px;
border: 1px solid white;
padding-bottom: 10px;
display: block;
}
.textareabox label { 
padding: 10px;
text-align: left;
display: block;
font-size: 12px;
}
.inputbox label { 
position: absolute;
text-align: right;
width: 240px;
font-size: 12px;
}

 

<div class="textareabox">
                <label for="Years_Direct_Service_To_Youth_Text__c">Please describe the work you have done with youth:</label>
                    <apex:inputTextarea id="Years_Direct_Service_To_Youth_Text__c" value="{!CT_Application__c.Years_Direct_Service_To_Youth_Text__c}"/>
                </div>
               
                
                <div class="inputbox">
                <label for="Years_Volunteering__c">Excluding your experience with Citizen Schools, how many years of experience do you have volunteering or working in a social service, youth services, community or education organization?</label>
                    <apex:inputText id="Years_Volunteering__c" value="{!CT_Application__c.Years_Volunteering__c}"/>
                </div>
                
                <div class="textareabox">
                <label for="Years_Volunteering_Text__c">Please describe the volunteer work you have done:</label>
                    <apex:inputTextarea id="Years_Volunteering_Text__c" value="{!CT_Application__c.Years_Volunteering_Text__c}"/>
                </div>

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.