+ Reply to Thread
Results 1 to 5 of 5

Thread: Line-Height?

  1. #1
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Question Line-Height?

    I am developing a new, and very unfinished layout for my Database Administration page and there is something weird with the padding/line-height of the status text. Click the Send button and wait for the status text. It displays correctly in Firefox, but in IE there is some extra space unaccounted for. Why?
    HTML Code:
    <body>
    <span class="switch" id="shortcut" onclick="Switch();">
    <img id="icon" width="32" height="32" src="http://forums.x10hosting.com/images/Edit.png" alt="&nbsp" title="Switch Windows" />
    </span>
    <h1 align="center">Database Administration</h1>
    <div align="center">
    <span id="status" style="display:none; padding-bottom:20px; line-height: 0px;"></span>
    <div style="display: none;" id="loading"><img src="/images/Loading.gif" /><br /><br /></div>
    </div>
    <div id="insert">
      <form action="#" name="record" onsubmit="Send(this); return false;">
    This is the code for the status text, and the elements around it.

    ~~~~~~~~~~~~

    Also in FF, when I update the page with JavaScript, the background image fractures, any fix for this?

    I tried getting the background image changes each time the browser updates, by redeclaring the imageurl + ?rand=0.12...

    But that is not a real fix, and causes the page to move slowly.
    Last edited by Twinkie; 02-21-2009 at 11:58 PM.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Line-Height?

    no problem for me...
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Line-Height?

    It's a difference in the space between the fields and the status text, in comparison with IE. There is no obvious issue, I would just like for it to space the same way so I can continue with a fixed width layout.

  4. #4
    farscapeone's Avatar
    farscapeone is offline Community Advocate farscapeone is on a distinguished road
    Join Date
    Dec 2008
    Location
    Србија (Serbia)
    Posts
    1,166

    Re: Line-Height?

    I know it sounds strange but try adding <br /> on the end of your response text (it must be inside status <span> tag). I had similar problems with IE and this worked for me.

    Please tell me if it helped.

  5. #5
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Line-Height?

    I tried that, at the end of the response text and it did not work. I don't know why...

    status.innerHTML = response + "<br />";

    Any ideas about the fracturing background image?

    Edit:
    I recoded my site to 'work around' the image fracture bug, and I submitted a bug report to FireFox. Thanks for your help guys. I repped you all.
    Last edited by Twinkie; 02-21-2009 at 11:28 PM.

+ Reply to Thread

Similar Threads

  1. Replies: 14
    Last Post: 09-29-2008, 07:07 PM
  2. It works! ...
    By bpakidz in forum Programming Help
    Replies: 4
    Last Post: 09-07-2008, 11:12 PM
  3. New Site-Suggestions?
    By mnoutside in forum Review My Site
    Replies: 9
    Last Post: 08-27-2008, 07:01 AM
  4. GeIP Script Help
    By cybahq in forum Free Hosting
    Replies: 4
    Last Post: 07-30-2008, 05:08 AM
  5. perl script for guestbook, need help
    By shifeng in forum Scripts & 3rd Party Apps
    Replies: 14
    Last Post: 01-06-2008, 12:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers