CSS Question

Hi, I'm trying to make a small change and just can't figure it out. It's a css issue, see the attached picture. I just can't seem to figure out how to get the 18 Under link to move up and be aligned with the button like the one next to it. Here is the code applicable to it. Can you help, do you see anything obviously wrong?

I'm customizing  a WordPress plugin called Content Warning v3

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.

Pierre CorneliusCommented:
In order to assist we need the html also. Or even better: a live link to your page.

ok, I see your css file also included your php script. This helped a bit.

try adding float:left to your #cwv3_exit css rule.

If it doesn't work please add the page source html or a live link to your page so we can see what is going on.
Pierre CorneliusCommented:
ok, I found your live link and extracted some of your source to make a few changes.

<doctype html>
		body {background:black;}

		#cboxContent {background:white}
		#cwv3_btns {
			overflow: hidden;
			padding: 14px 1px 0 !important;
			text-align:center; text-align:-moz-center;
		.btn {
			margin:0 5px 0 5px;
		.btn a {
			color: #000000;
			font-family: 'Sanchez',serif;
			font-weight: bold;

		#cwv3_enter.btn {
			background: url("http://www.vape-game.com/wp/wp-content/themes/conexus-child/images/vapeimages/btn_submit_cw_18under.png") no-repeat scroll 0px 0 transparent;
		#cwv3_exit.btn {
			background: url("http://www.vape-game.com/wp/wp-content/themes/conexus-child/images/vapeimages/btn_submit_cw_18over.png") no-repeat scroll 0px 0 transparent;
		#cwv3_title {
			background-image: url("http://www.vape-game.com/wp/wp-content/themes/conexus-child/images/vapeimages/header_top_bg_cw.png");
	<div id="cboxContent" style="float: left; width: 574px; height: 382px;"><div id="cboxLoadedContent" style="width: 574px; overflow: hidden; height: 382px;"><div id="cwv3_auth">

                <div id="cwv3_content"><div style="background-image:url(http://www.vape-game.com/wp/wp-content/themes/conexus-child/images/vapeimages/header_thin_cw_1.png);">
                <div class="header_title">
                    <h1 style="padding-left:160px; padding-top:90px;">Age Verification</h1>

	<div style="background:url(http://www.vape-game.com/wp/wp-content/themes/conexus-child/images/middle_bg_gray.jpg);">
	<p style="width:550px; text-align:center; padding:20px 0 20px 20px; color:#990000"><strong>Our products are intended for adults 18 years or older. If you are not legally able to purchase tobacco products in the state where you live, please do not enter this site. <br>Thank you.</strong></p>
	<div id="cwv3_btns">                
		<div id="cwv3_enter" class="btn">
			<a id="cw_enter_link" href="javascript:;" hidefocus="true" style="outline: medium none;">18+ Enter</a>

	<div id="cwv3_exit" class="btn">
		<a id="cw_exit_link" href="javascript:;" hidefocus="true" style="outline: medium none;">Under 18</a>


Open in new window


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
KaressaAuthor Commented:

That worked perfectly. Thank you very much, saved me loads of time, not that good tweaking css. I have another site I'd like to get some css help with. Do you want me to create a new ticket or increase the points here? Should be very simple for somebody that understands css.

Thanks again
Pierre CorneliusCommented:
You are welcome.

It's better to create new question for your other issue.
KaressaAuthor Commented:
I opened a new question, the id is ID28248970 if you'd like to help.

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
Web Development

From novice to tech pro — start learning today.