Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 1970
    Posts
    0
    Tokens
    0

    Latest Awards:

    Default Cross-Browser Issues, Huge Problem

    Right. Firefox is being strange.

    Here's two screenshots of the exact same website. Google Chrome, Safari, Opera, Safari for iPhone, Internet Explorer, the list goes on, all display the source code fine. But for some reason when it gets to Firefox, it won't stand it.

    Chrome: http://bb.xieke.com/files/screenshotchrome.png
    Firefox: http://bb.xieke.com/files/screenshotfirefox.png

    I've fixed the sidebar issues, but the Breadcrumbs bar is still broken. I've tried absolutely everything. This is the code for the bar & '?' logo:

    PHP Code:
    <center>
    <div style="width: 920px; min-width: 970px; height: 19px;" align="center">
    <div style="float: right; padding-top: 4px;">
    <a href="/help/">
    <img src="http://127.0.0.1/help.png" border="0" />
    </a>
    </div><div align="left" style="vertical-align: top;">
    <table cellspacing='0' cellpadding='0'><tr><td style="padding-top: 9px; margin-left: 9px;" valign="bottom">
    <?php
    function CPbreadcrumbs() {
        
    $CPtheFullUrl $_SERVER["REQUEST_URI"];
        
    $CPurlArray=explode("/",$CPtheFullUrl);
        echo 
    '<a href="/">Home</a>';
        while (list(
    $CPj,$CPtext) = each($CPurlArray)) {
            
    $CPdir='';
            if (
    $CPj 1) {
                
    $CPi=1;
                while (
    $CPi $CPj) {
                    
    $CPdir .= '/' $CPurlArray[$CPi];
                    
    $CPtext ucwords($CPurlArray[$CPi]);
                    
    $CPi++;
                }
                if(
    $CPj count($CPurlArray)-1) echo '</td><td class="warrior" style="background-image: url(\'http://127.0.0.1/arrow.png\')" width="29px" height="41px"></td><td>&nbsp;&nbsp;<a href="'.$CPdir.'">' str_replace(" "" "$CPtext) . '</a>&nbsp;&nbsp;';
            }
        }
        echo 
    '</td><td class="warrior" style="background-image: url(\'http://127.0.0.1/arrow.png\')" width="29px" height="41px"></td><td>&nbsp;'; echo wp_title('');}
    CPbreadcrumbs();
    ?></td></tr></table></div>
    And the class Warrior;
    Code:
    .warrior{
    background-repeat: none;
    background-position: top center;
    padding-top: -6px;
    }

    Please, I need this sorted. I promised readers it would be pushed out on Christmas Eve, I can't let them down.

    Thanks so much in advance, Boonzeet.

  2. #2
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    I'm not sure you can have a negative padding
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  3. #3
    Join Date
    Jan 1970
    Posts
    0
    Tokens
    0

    Latest Awards:

    Default

    The negative padding doesn't do anything, I'm aware. It was a test, I'm still exploring CSS. I would try a negative margin, but then that'd upset all the other browsers.

    Any ideas?

  4. #4
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    vertical-align: middle;

    i have no idea if this is work i typed it in the middle of a yawn


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  5. #5
    Join Date
    Jan 1970
    Posts
    0
    Tokens
    0

    Latest Awards:

    Default

    Still to no avail.

    I've experimented and realised this only happens with the table. Removing the table (and therefore my arrows T-T) it looks fine on all browsers. Is there some way to replace the table, because Firefox is dealing with the table strangely.

  6. #6
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    ew tables...use divs pls.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  7. #7
    Join Date
    Jan 1970
    Posts
    0
    Tokens
    0

    Latest Awards:

    Default

    Verrou, I'm aware, but I have no idea how to stack up those divs correctly, as in to have them all pressed against each other to the left. I've tried floating. Please, I really need help with this one.

  8. #8
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    Quote Originally Posted by Boonzeet View Post
    Verrou, I'm aware, but I have no idea how to stack up those divs correctly, as in to have them all pressed against each other to the left. I've tried floating. Please, I really need help with this one.
    Why not make the nav bar a position:relative and set the breadcrumb to position:absolute and then you can use top/right/bottom/left to put it exactly where you want.
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  9. #9
    Join Date
    Jan 1970
    Posts
    0
    Tokens
    0

    Latest Awards:

    Default

    Because the nav bar has varying lengths of text as categories, i.e. 'Bing' and 'Computer Programming'.

    I've fixed it, anyway. Little Javascript CSS decided to class ALL table attributes instead of the ones it used, so I've changed that.

    Thanks anyway!

Posting Permissions

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