Results 1 to 5 of 5

Thread: CSS is not applying on all Elements

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    CSS is not applying on all Elements

    Hi,

    I have linked my CSS file with HTML file, it is working properly, but not applying few IDs on elements. If I apply INLINE CSS it works.

    Farooq

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: CSS is not applying on all Elements

    Try referencing the eels instead.

    With out any actual HTML or CSS examples to work from, that's the best I can offer.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: CSS is not applying on all Elements

    You might have a CSS precedence issue. CSS which is applied inline (on the element within a "style" attribute) has the highest precedence, so it should (almost) always work, but your other declarations may be conflicting with each other.

    As techgnome said though, no one can help you much without seeing your code.

  4. #4
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: CSS is not applying on all Elements

    Although I have no information to work with, I can share my experience with issues getting css to apply to all elements. It's simple really... I disabled adblock and everything worked.

  5. #5
    New Member
    Join Date
    May 2015
    Posts
    6

    Re: CSS is not applying on all Elements

    hi,
    some browser has been different capability in html css elements we need mention the element browser capability also

Posting Permissions

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



Click Here to Expand Forum to Full Width