No credit card. Takes under a minute.

Login
INSIGHTS1 MIN READ

Need help with CSS styling

jko2013

Published on January 30, 2014

Published on Wealthy Affiliate — a platform for building real online businesses with modern training and AI.

Hi All,

So after watching Jay's CSS Primer Webinar I'm trying to get fancy, but it's not quite working. Here is the code I'm using:

#buynow {

width: 20%;

margin: auto;

padding: 8px;

border: 3px solid #000000;

background: #00ffff;

Ready to put this into action?

Start your free journey today — no credit card required.

}

#clickhere {

width: 43%;

margin: auto;

padding: 8px;

border: 3px solid #000000;

background: #00ffff;

}

But here is what is looks like:

How do I get the box to be smaller, not as tall? What am I missing? And Jay if you are reading this I'd love to know how to make rounded edges, you teased me with that in the video but didn't tell me how! Thanks for you help!!

Jill

Founder of http://babycribssale.com/

Share this insight

This conversation is happening inside the community.

Join free to continue it.

The Internet Changed. Now It Is Time to Build Differently.

If this article resonated, the next step is learning how to apply it. Inside Wealthy Affiliate, we break this down into practical steps you can use to build a real online business.

No credit card. Instant access.

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

Member Login

© 2005-2026 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.