PHP Blog Page OK in Internet Explorer but NOT OK in Mozilla

Discussion in 'PHP' started by Avalonica, Feb 19, 2007.

  1. #1
    Can someone please look at the Source for this page and advise me on how to prevent the skewed Mozilla Firefox Browser (v2.0.0.1) outcome when it is perfectly OK in Internet Explorer (v7.0.5730.11) ...

    The page can be accessed via this URL:
    http://edenrealm.com/laurenz/lolblog.html
    then left-clicking on the link:
    'The Actual Blog'

    Cheers :)
     
    Avalonica, Feb 19, 2007 IP
  2. RRWH

    RRWH Active Member

    Messages:
    821
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    70
    #2
    well, how about at least saying what you have tried.

    Then go and install the html validator firefox plugin and look at the errors in the code. When you have fixed the 34 warnings you might be in a better position to ask a specific question.

    While you are at it, you probably should install the view source chart plugin as well.

    Of course, you could just go to the W3c site and use the validator.


    No, I am not picking on you, but if you prove you are willing to help yourself then others will more redily offer specific assistance.
     
    RRWH, Feb 19, 2007 IP
  3. Avalonica

    Avalonica Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Like Edison I've tried and tried through an incredible array of different code changes 'in' & then those code changes back 'out' again when inevitably they did not work.

    Yes, I'm new to PHP like I guess you were before you got smug in your knowledge which you won't share ... I'm just trying to help my daughter out for crying out loud!

    Yes, I hoped for a quick solution for this one ... especially after so, so many hours at it over the past few days. Still I guess I can thank you for referring me to many more crossroads on "the road less travelled", where I'm sure I'll spend many more hours and days meandering. In the end I guess I'll become adept at PHP and won't need to ask for help or cope with responses like yours.

    Cheers :cool:
     
    Avalonica, Feb 19, 2007 IP
  4. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #4
    Find the first instance of (there are 2 of them)
    <div align="center">
    Code (markup):
    on the page that looks broken in Firefox.
    Right above it, add:
    <br clear="all" />
    Code (markup):
    This should make yourdaughter happy now :)
     
    Clive, Feb 19, 2007 IP
  5. Avalonica

    Avalonica Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi Clive ...

    Unfortunately I did not have a Thread Subscription 'Instant email notification' in place at the time of your reply, so it was quite by chance that I came across it today after I was prompted to have another look at Digital Point Forums by an email I received via Digital Point Forums from someone virtually just saying "Hi".

    Anyway I spent some considerable time trying to find the right spot to add your "<br clear="all" />" because it was incredibly hard to locate your suggested "Find the first instance of (there are 2 of them) Code:<div align="center">" because WordPress has LolBlog's 'index' page in several-too-many .php pieces, including the more obvious 'header.php' and 'footer.php'.

    After a long time beating about the bush, I thought laterally and then 'logically' placed it at the head of my 'footer.php' which had the effect of shifting its skewed placing [Mozilla Firefox Browser (v2.0.0.1)] to the bottom where it had to be, thus solving the problem!

    The 'footer.php' includes the dark area containing the 'Under Construction' gif just above the 'End' piece containing the link back (and Copyright info) to the index page of my daughter's WebSite-within-a-WebSite.

    Her Blog can now be viewed in EVERY Browser!

    She and I are well pleased ... thank you so much Clive! :) & :)
     
    Avalonica, Mar 21, 2007 IP
  6. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #6
    Hey, no problem :)
    Good to see it has worked for you.
     
    Clive, Mar 21, 2007 IP