1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CSS3 in xenForo?

Discussion in 'XenForo Pre-Sales Questions' started by Oswaldo Gutierrez, Aug 20, 2010.

  1. Question: xenForo CCS3 uses for its default style? Tell by the shadows and rounded edges.
     
  2. Floris

    Floris Guest

    Right click the page, and view the source code.

    HTML5/CSS3 is being used where logical.
     
  3. ok but, what happens then with the most used browser worldwide (unfortunately) that does not support css3 and less html5? I speak of internet explorer.
     
  4. Rhydian

    Rhydian Active Member

    You could try load the page in internet explorer. But if you can for some reason do that then heres a quick screen
    [​IMG]
     
  5. Ok, thanks for the quick screen I needed because internet explorer does not work in linux.
     
  6. wizzard

    wizzard Active Member

  7. Good, take this into account. :)
     
  8. James

    James Well-Known Member

    XenForo intelligently uses CSS3 and HTML5 where appropriate. If browsers do not support it, they ignore it and don't have the luxury of feeling the beauty of XenForo ;)
     
    feldon30 likes this.
  9. Brandon_R

    Brandon_R Guest

    There is a "fallback" system in place for those.

    The current principle is - Those who supports it shall see it, those who don't shan't.
     
  10. Floris

    Floris Guest

    It's not a fallback system, it's just how CSS works. Browsers won't render what isn't supported, but coding css3 there where if the browser doesn't support it, it doesn't break the design, is basically the fallback. However, I am sure some elements are put in place to help IE support specifically, but which site doesn't do that.
     
  11. Brandon_R

    Brandon_R Guest

    Yeah, that's basically what i meant.
     
  12. Well basically CSS3 is not the problem, since not see rounded-corners and shadows is not important. But what happens to html5? Because we know that IE8 does not support it, how xenForo replaces the use of html5 for IE8? I guess that will have a script that detects the user's browser and based on that load the page or another, but only speculate. Because they do but may have problems.
     
  13. James

    James Well-Known Member

    HTML5 can be used in browsers that don't support the tags by creating the elements using JavaScript. I assume this is what Kier and Mike have done :)
     
  14. Kier

    Kier XenForo Developer Staff Member

    To what tags are you referring? Generally speaking, we do not generate any tags with JS.
     
  15. James

    James Well-Known Member

    Oswaldo said that IE8 doesn't support HTML5 and I took a guess that you'd used JavaScript's createElement to create them - looking at your reply I guess I was mistaken :p
     
  16. Kier

    Kier XenForo Developer Staff Member

    One of our requirements for the front end is that it is fully operational without Javascript. If we relied upon tags being built with Javascript, that would fall over. So we don't.
     
    ManagerJosh likes this.
  17. James

    James Well-Known Member

    Ah of course, sorry I'm not all there today (I blame the alcohol). Thanks for clarifying Kier!

     

Share This Page