SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Jun 2005
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Positioning in IE

    I'm using a JS/CSS calender script found at http://www.dynarch.com/projects/calendar/. It works great except for one thing.. it wont position correctly in IE (6 & 7).

    I have a form with 20 text inputs strait down a page. As per instruction i place the following code just below my desired text input, say at tab index 12.
    Code:
    <script type="text/javascript">
    Calendar.setup({
    inputField     :    "this_fieled_name",   // id of the input field
    ifFormat       :    "%Y-%m-%d",       // format of the input field
    showsTime      :    true,
    timeFormat     :    "24"
    });
    </script>
    When the page and script run, in Firefox its perfect, but in IE, the calender places almost 200px high than desired near tab index 6.

    My question is, how do i get IE to position as FF does?

    Here are i think the two most important files that may need affecting. Both are stock from download.
    http://www.empiresolutions.net/demo/calendar-setup.js
    http://www.empiresolutions.net/demo/theme.css

    Thanks much.

    Cesar

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,367
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    We would need to see the html as well. Or better still a link to the page or at least a working example. It's just too hard to second guess otherwise


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •