Results 1 to 10 of 34

Thread: GlowHost's CSS Problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,430

    Default

    <object> tags - removed, fixed the footer. No idea how those got there...removed em all from that page actually. Thanks for that one too

    Well you are right, fix one thing, break another.

    Now here is the question that wins some of your hosting fees back in the for of a refund....

    Code:
    #contentf * {height:auto!important;}

    This cures the IE7 footer issue, but kills the flash content on the page. It shrinks it up and makes it pixelated due to the resize.

    So, if you can figure out how to get


    Code:
     #contentf * {height:auto!important;}


    Working in tandem with the flash content across IE6, 7 and firefox....you got some funds coming your way.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  2. #2
    Zoffix Znet's Avatar
    Zoffix Znet is offline at 40 posts I am a Junior Guru
    Join Date
    Oct 2006
    Location
    Planet Mitanara
    Posts
    38

    Talking :)

    Wow, the code seems to be even more broken that it is used to be now even in FireFox the white background doesn't go all the way down
    Anyhow here is a fix:

    Clear floats:
    Code:
    </div>
    <!--End regular page content -->
    
    <!-- Closing divs for included files that opened them -->
    </div>
    <div class="clearer">&nbsp;</div>
    </div> 
    <!--End closing included divs -->
    
    </div>
    <div id="footer"...
    Fix the Flash (I've added an id="flash" to that movie just in case you have other flash movies there):
    Code:
    #contentf * 
    {
        height:auto!important;
    }
    
    #contentf embed#flash
    {
        height: 240px!important; 
        width: 320px!important;
    }
    And if I were you I would put this fix in the IE 7 condcom, since iirc the footer is broken in IE 7 only... http://zoffix.freehostia.com/ie/condcom.html

    Now that was extremelly hard to figure out ... better get some beer
    Cheers
    P.S.: Nice smileys... although a few of them I've seen before somewhere and they are quite identical
    CSS doesn't suck - you suck at CSS. http://zoffix.com

  3. #3
    Zoffix Znet's Avatar
    Zoffix Znet is offline at 40 posts I am a Junior Guru
    Join Date
    Oct 2006
    Location
    Planet Mitanara
    Posts
    38

    Exclamation eh, forgot the declaration

    eeh, forgot the declaration

    Code:
    div.clearer
    {
     clear:both;
     height:1px;
    }
    But pretty much any float clearing method will do (by the way this is regarding the white background not going far enough, not regarding the flash fix)
    CSS doesn't suck - you suck at CSS. http://zoffix.com

  4. #4
    Zoffix Znet's Avatar
    Zoffix Znet is offline at 40 posts I am a Junior Guru
    Join Date
    Oct 2006
    Location
    Planet Mitanara
    Posts
    38

    Red face Man, I feel like flooder now.... :spam:

    Sorry for so many posts, but the background doesn't go all the way out only on my local copy false alarm, but at least I got a chance to tell you to remove #container{height:100%;} what is this for? doesn't do any good as I see it, did you mean min-height ( http://w3.org/TR/CSS21/visudet.html#propdef-min-height )? Yeah stupid IE < 7 doesn't support it, but the fix is trivial:
    Code:
    CSS:
    
    #container {min-height: 100%;}
    
    ....................................................
    HTML: 
    
    <html>
         <head>
             <!--[if lt IE 7]>
                   <style type="text/css">
                            #container {height: 100%;}
                   </style>
             <![endif]-->
         </head>
    ...
    Keep in mind that 100% is not exactly what you want find something that doesn't give you scrollbars on a page without scrollbars :
    CSS doesn't suck - you suck at CSS. http://zoffix.com

  5. #5
    Zoffix Znet's Avatar
    Zoffix Znet is offline at 40 posts I am a Junior Guru
    Join Date
    Oct 2006
    Location
    Planet Mitanara
    Posts
    38

    Talking Ehhehe

    Hehe, you need a vacation indeed....
    Quote Originally Posted by Zoffix Znet View Post
    .... (I've added an id="flash" to that movie just in case you have other flash movies there):
    Code:
    #contentf embed#flash
    {
        height: 240px!important; 
        width: 320px!important;
    }
    selects an <embed> element with an id="flash" so either add an ID to that flash or use #contentf embed if you don't have any other <embed> elements in that container... cheers

    P.S.: Never say "it's impossible..."
    Last edited by Zoffix Znet; 11-02-2006 at 08:42 PM. Reason: :home: != :doh:
    CSS doesn't suck - you suck at CSS. http://zoffix.com

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14