SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    ********* Ornithologist AtomicPenguin's Avatar
    Join Date
    May 2002
    Location
    Vancouver, BC
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    overriding external CSS file styles

    If I reference an external style sheet from my webpage, then define a few element styles in the page which are ALREADY defined in the external style sheet, will they ALWAYS overwrite the ones specified in the reference file?

    Will this happen in ALL browsers?

    Thanks -

  2. #2
    (****** or Deleted)
    Join Date
    May 2002
    Location
    Melbourne, Australia
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am pretty sure the priority goes:

    External > Internal > Inline

    Meaning that inline styles have precedence of any others, and internal styles are used over external

    All browsers should support this...

  3. #3
    ********* Ornithologist AtomicPenguin's Avatar
    Join Date
    May 2002
    Location
    Vancouver, BC
    Posts
    459
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks!


Bookmarks

Posting Permissions

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