Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing border from tab ui control

I have the following script:

http://jsfiddle.net/2HNvL/

but I can't seem to remove the light gray border around the tab control. Anyone here know how to do that?

I have tried the following:

    #tabs .ui-widget { border:none;  padding:0px; margin:0px; }
    #tabs .ui-widget-header { border:none; display:none; padding:0px; margin:0px; }
    #tabs .ui-widget-content { border:none; padding:0px; margin:0px; }

But that does not work.

like image 953
oshirowanen Avatar asked Mar 08 '11 16:03

oshirowanen


2 Answers

Adding to your list a simple #tabs {border: none} should do the job.

like image 67
Michael Laffargue Avatar answered Oct 06 '22 10:10

Michael Laffargue


Assuming I understand your question correctly you want to remove the border around the text

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a,

If that is the case, your one selector is wrong for .ui-widget-content

 #tabs .ui-widget-content { border:none; padding:0px; margin:0px; }

Is looking for a child element of .ui-widget-content with a parent of #tabs

If you change it to this:

#tabs.ui-widget-content { border:none; padding:0px; margin:0px; }

Will target only an element with an id of tabs and a class of .ui-widget-content

Updated jsfiddle.

like image 25
Mark Coleman Avatar answered Oct 06 '22 09:10

Mark Coleman