Archived

This topic is now archived and is closed to further replies.

Marsealdelo

[Q]tab background-repeat?

4 posts in this topic

can somebody help me? i can't make the tab looks right

the tab.png is repeated, i was change on ../tabbar/container.css , but it seems..

the original code:/*

Tab object

*/

.tab-container .tab {

context-menu: selector(menu#POPUP_TAB_CONTEXT_MENU);

flow:horizontal;

margin-right: -5px;

padding: 5 8 4 8;

min-width: 16px;

max-width: @TAB_MAX_WIDTH;

width: @TAB_MAX_WIDTH;

height: 100%%;

color: #000;

background: url(../images/tab.png) expand;

background-position: 6 6 4 6;

background-repeat: stretch-left stretch-right stretch-middle; <<<<< this make me :@

}can someone help me ?

please make this ,is works

post-30015663-14315115344572_thumb.jpg

Share this post


Link to post
Share on other sites

wow, i just edited the background-position to 0 15 5 10 .. and it works, but i don't know whats is the meaning of the 0 15 15 10 ? a b c d ?

but the "active tab" is not placed on front of the "not active tab" ..

like the attchment

post-30015663-14315115344622_thumb.jpg

Share this post


Link to post
Share on other sites

Marsealdelo replied at 2013-12-25 01:44 back.gif

wow, i just edited the background-position to 0 15 5 10 .. and it works, but i don't know whats is ...

Read this skin SDK first and you will understand a lot of things. Maxthon is based on HTMLayout - http://www.terrainformatica.com/htmlayout/ There you can find a lot of specific and useful code. CSS Scripting language for example.

MX3.Skin.SDK.1.0.2_en.zip

Share this post


Link to post
Share on other sites