calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Tue Feb 15, 2005 7:19 pm Post subject: How come in Safari the calendar events text rides on top of day number instead of underneath? |
|
|
It's a CSS bug of Safari, and doesn't exist in other browsers. It's related to the way how Safari handles the CSS rule of "display:table-row".
To work around, you'll have to wrap another styled div tag to the html contents of the event if running inside Safari. e.g.
Code: | fAddEvent(2004,3,20,"test", ... ,(SA?"<div style='display:table-row'>":"")+"<div class='MsgBoard'>test</div>"+(SA?"</div>":"")); |
NOTE: You may ask why wrapping it conditionally(only when Safari is detected)? The answer is IE6 doesn't like such wrapping for some reason and will choke on it.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|