Categories | Question details Back To List | ||
Add space between control's top and text How to increase blank space from control's top and calendar's basic text content? I want to add some text on control before other calendar content but all data that I've added override base text content of a control. Answer posted by Support on Aug 22, 2008 02:06 You can define some custom styles for .dhtmlxcalendar .entbox element. For example <style> .dhtmlxcalendar .entbox { margin-top:20px; } </style> Answer posted by denf on Aug 23, 2008 03:34 I put this line in my css-file: .floatcontrol .dhtmlxcalendar .entbox {margin-top:24px;} And this line in my html-page: <div class="floatcontrol" id="mycalendar" style="position:absolute; left:0px; top:-10px; display:none"></div> All worked but top margin looks some different in different browsers (in IE 6.0 top margin visually more than in Opera and Firefox). What I'm doing wrong? Thanks. Answer posted by Support on Aug 25, 2008 02:39 IE and FF have different rules of margin|padding combining , which cause issue in your case. You can define different values as .floatcontrol .dhtmlxcalendar { padding-top:0px !important; } .floatcontrol .dhtmlxcalendar .entbox { margin-top:24px; } |