+ Reply to Thread
Results 1 to 8 of 8

Thread: Why does Firefox hate my CSS?!

  1. #1
    Ԍuest's Avatar
    Ԍuest is offline x10Hosting Member Ԍuest is an unknown quantity at this point
    Join Date
    Mar 2011
    Location
    Ninja HQ
    Posts
    9

    Why does Firefox hate my CSS?!

    I am having more CSS woes. My navigation bar seems to work just fine in IE, but in Firefox and maybe Chrome, the whole thing is stretched out WAY too far!

    http://dojo.secretworldwideorgofunit....com/index.php

    Here is the code:

    http://pastebin.com/gvi55S14

  2. #2
    torwald.lung67 is offline x10Hosting Member torwald.lung67 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    14

    Re: Why does Firefox hate my CSS?!

    Sorry, maybe offtopic but, on samsung mobile browser (good web browser based on WEBKIT open source) it looks very messy. I think u should install chrome browser on ur computer and start build this site again from very begining saporting yourselve with webkit tools. If u designe proper look for "chrome" it should look fine in any other modern browser. Don't make "ie" ur main testing browser.

  3. #3
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Re: Why does Firefox hate my CSS?!

    guest => upload your new css code and test it yourself,


    torwald.lung => If only it was that simple. Chrome, IE, Opera, Safari and FireFox all deal with CSS slightly differently. No single web browser is best and a good designer will check their work against the current top five .
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  4. #4
    Ԍuest's Avatar
    Ԍuest is offline x10Hosting Member Ԍuest is an unknown quantity at this point
    Join Date
    Mar 2011
    Location
    Ninja HQ
    Posts
    9

    Re: Why does Firefox hate my CSS?!

    I may need to start making seperate versions for each browser, but I still don't know how to correct the code for Firefox. I'm new to CSS. The code you see in the bin is actually live.

  5. #5
    torwald.lung67 is offline x10Hosting Member torwald.lung67 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    14

    Re: Why does Firefox hate my CSS?!

    Ok! I did't looked at ur code before my firs replay (i did't had access to computer). Now it is in front of me and i wonder how it happend that ur site with one picture, four links two form files and one button takes 248 lines of code ???
    First and most importent: U dont have document type declaration (DOCTYPE) so browser don't know how to render ur website. U must do it, to let browser know, what kind of content it deals with and what rules should be used.
    If u are using CSS technique u shoudn't use old metods as <center> (it is depreciate).
    U have so many unneeded and empty inputs in CSS and so many mistakes that it is hard to explain what is wrong. But i must say:
    Your CSS formating elements which u don't have (every span element ) on your site (or maybe i am blind or something)
    or this:
    ul.pureCssMenum0 li li {
    margin:2px 0px 0px 2px;
    }

    it means li element inside anather li element (u don't have such construction in your website)

  6. #6
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    Re: Why does Firefox hate my CSS?!

    What you need to do is go back and look at your CSS.

    Remember computers only do as they are told...
    have you told it how wide the menu box is supposed to be?

    Judging by the code so far, it looks like you are indeed just begining to learn about just how difficult it can be to write a web page from scratch. Don't take any comments about sloppy coding to heart, all designers borrow code at one time or another and CSS is no exception. I would suggest that you work your way through the Tizag tutorials these are a good place to start.
    Last edited by cybrax; 03-12-2011 at 02:05 PM.
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  7. #7
    jmannz is offline x10Hosting Member jmannz is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    Minnesota
    Posts
    4

    Re: Why does Firefox hate my CSS?!

    I have found the CSS validation at this site the very best.

    http://jigsaw.w3.org/css-validator/

    There is also a html/xhtml validator at:

    http://validator.w3.org/

  8. #8
    prateems32 is offline x10Hosting Member prateems32 is an unknown quantity at this point
    Join Date
    Feb 2011
    Posts
    6

    Re: Why does Firefox hate my CSS?!

    Firefox 4 RC renders my site a little oddly as well. Chrome/IE/Opera/Safari renders my CSS fine (for me, the discrepancy between the browsers is margin settings using CSS for div layers - the 4 vs. FF have a difference of 1 pixel between them), but Firefox creates a random 1 pixel space.

+ Reply to Thread

Similar Threads

  1. Hate VS Love
    By ShadowmasterX in forum Off Topic
    Replies: 6
    Last Post: 11-25-2009, 08:48 PM
  2. Hide spread firefox in firefox but show in IE
    By taha116 in forum Programming Help
    Replies: 8
    Last Post: 07-13-2009, 11:44 AM
  3. What do you hate?
    By danprobo in forum Crossfire
    Replies: 30
    Last Post: 03-31-2009, 09:36 AM
  4. Hate Nasty Ads??
    By pokejunior in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 10-04-2007, 11:03 AM
  5. I HATE Hp
    By dsfreak in forum Scripts & 3rd Party Apps
    Replies: 20
    Last Post: 05-18-2005, 02:20 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