Need CSS Explanation

Discussion in 'CSS' started by ardianet, May 11, 2011.

  1. #1
    Hi there,
    is it OK to write CSS without <div id="header"> ..content here.. </div> ?

    this is what I mean (the HTML) :
    and this is the CSS for the header :

    and how to pass it through IE.
    Thanks.
     
    ardianet, May 11, 2011 IP
  2. ken.sweet

    ken.sweet Active Member

    Messages:
    683
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    93
    #2
    This <header> tag is for html5 which is used to make mobile websites. I think only IE9 will support this. Rest browsers except IE should support.
     
    ken.sweet, May 11, 2011 IP
  3. ardianet

    ardianet Member

    Messages:
    494
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #3
    Thanks for the info. :)
    well, it's not support IE 7.
    So, I put standart 'trap' code for IE (<--if IE-->) on the HTML and write the CSS in another file.
     
    ardianet, May 12, 2011 IP