Question
Rochdi Badis · Jul 11

Applying Stylesheet

Hi Guys,

I'm using the below style and everything looks  good, with my Dynamic Grid width 1300px, but when I refresh my grid the width goes out of whack and the grid is too wide, so how can I re-call my enforce my style to be applied again after refreshing my grid, so basically I'm looking for a line of code that I add it to my refreshing () clientMethod ?   

 

XData Style
{
<style type="text/css">
body {
    padding: 5px;
    margin: 0px;
    height: 100%;
    background-image : url(images/bkground.gif);
}

.zenLabel {    
    font-family:  Trebuchet MS;
    font-size: 0.8em;
    color: #000000;
    font-weight: normal;
}
.imageclickbuttonstyle {
    border-width: 0px;
    font-size:1.16em;
    cell-align:center;
    align:center;
    white-space: normal;
    font-family: Trebuchet MS, Arial, Helvetica;
    cursor: pointer;
}
 #main {
    border-style: solid;
    border-top-width: 0px; 
    border-left-width: 2px; 
    border-right-width: 2px;
    border-bottom-width: 2px;
    background-color: #ffffff;
    border-color: #DCE2E8;
    width: 1300px;
    height: 595px;

 

 

 

 

Thanks 

Product version: Caché 2014.1
00
1 0 1 58
Log in or sign up to continue

Hi

Can you include the tags where you reference the style sheets. I see you use a mix of style="", class=".{name}" and id="#{name}"

Nigel