Can't add top or bottom padding to a

Hello

I am finishing up a form and am having trouble adding padding to either the top or the bottom of a span.

I have no control over the HTML and the css hooks -- I can only use the existing HTML id's classes, etc.

I can wrap div around the entire form, if that will help.  but that's about it.

Please go to http://www.rowbytesting.com/free-consultation

...and look at "Consultation Location:", "How did you hear of us?", etc.
 
I want to add approx 20px to the top padding of the text.

Any suggestions on how to do it?

Thanks

Rowby
 


http://www.ro

span.cf_text {
    color: #333333;
    font-weight: bold;
}
span.cf_text {
    color: #333333;
    font-weight: bold;
}

Open in new window

LVL 9
Rowby GorenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zappafan2k2Commented:
This doesn't make sense.  You can't make changes to the HTML or the CSS?  What can you change, exactly?  

For instance, can you add a <p>&nbsp;</p> between the blocks instead of using padding?
0
crisco96Commented:
A span tag is an inline element so top and botoom padding & margins don't have any effect on the content around it. If you put a border on the element you'll see it's there it just doesn't push anything else around. Try using a div or change the span display to block
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rowby GorenAuthor Commented:
I figured that is the problem.   I will see if I can somehow dig into the HTML to do it.

THanks

Rowby
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.