# TabPanel StyleSheet Defaults

**URL:** <https://forum.servoy.com/t/tabpanel-stylesheet-defaults/12240>\
**Category:** Classic Servoy\
**Created:** [May 25, 2010, 10:18pm UTC](https://forum.servoy.com/t/tabpanel-stylesheet-defaults/12240 "2010-05-25T22:18:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chico](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@chico](https://forum.servoy.com/u/chico)\
**Post date:** [May 25, 2010, 10:18pm UTC](https://forum.servoy.com/t/tabpanel-stylesheet-defaults/12240/1 "2010-05-25T22:18:22Z")

</div>

Can anyone tell me how I can add this to my style defualt css so all my tabpanels are the same format?

See attachment.

![Screen shot 2010-05-25 at 5.14.52 PM.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/8/81f384aa175115b4bd52311ceb80af0928545173.png)

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [May 26, 2010, 12:53am UTC](https://forum.servoy.com/t/tabpanel-stylesheet-defaults/12240/2 "2010-05-26T00:53:10Z")

</div>

Whenever you need to know what String to use to set a border, you can ask the solutionModel to give you what you are looking for:

```auto
application.output(solutionModel.getForm(controller.getName()).getTabPanel(elements.tab_panel.getName()).borderType);

```

will give you the String to use.

In your case, it returns:

```auto
BevelBorder,0

```

---

<div class="post-metadata">

**Author:** ![chico](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@chico](https://forum.servoy.com/u/chico)\
**Post date:** [May 26, 2010, 1:59am UTC](https://forum.servoy.com/t/tabpanel-stylesheet-defaults/12240/3 "2010-05-26T01:59:57Z")

</div>

Not sure I get it…

As in my style.css… this is typically what I see for an object:

```auto
button.new
{
	color: #cccccc;
	margin: 0px 0px 0px 0px;
	font: 12pt "Arial";
	text-align: center;
	border-style: etched;
	border-color: #666666 #666666 #666666 #666666;
}

```

Where would BevelBorder,0 fit in?

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [May 26, 2010, 3:15am UTC](https://forum.servoy.com/t/tabpanel-stylesheet-defaults/12240/4 "2010-05-26T03:15:37Z")

</div>

You’re right, sorry, I was thinking in terms of solutionModel.

In my case from empirical tests (this will also depend on the Look&Feel you are using), I found that BevelBorder,0 = border-style: outset;

Hope this helps,
