Jump to content
Sign in to follow this  
suerama

Tab Content Margins

Recommended Posts

suerama+    2
suerama

I've tried this to no avail:

 

.tab-content {
display: table;
width: 100%;
padding-top: 0;
margin-right: 20px !important;
background: #87B7BE;
}
I also tried adding
padding-right: 20;
 
That didn't change anything either.

Share this post


Link to post
Share on other sites
batman    389
batman

Hi suerama

Please try with:

.tab-content > .active, .pill-content > .active { margin-right: 20px;}
or
#1 .tab-pane.active { margin-right: 20px;}

I´m not sure

:)


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

That page you linked gives a 404, can you provide a link to the page again please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
suerama+    2
suerama

Bat learning, you nailed it the first time!

My super hero!

thank you!

Share this post


Link to post
Share on other sites
suerama+    2
suerama

Bat learning -- 

I don't see pill in the code currently. Is the pill that weird little pill like thing I tried to get rid of?  What IS that thing?

Share this post


Link to post
Share on other sites
James B    436
James B

The pill class is for when the tabs are set up like little buttons in the shape of a pill - check here http://webdesigntutsplus.s3.amazonaws.com/tuts/319_bootstrap_pills_tabs/Tabs-Pills-BEGIN/tabs-pills.html


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×