HomeHome  
  • WelcomeWelcome  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Edit the style of the text selected

    avatar
    • Administrator

        Reputation : 312
        Registered on : 2012-02-22
        Posts : 2315
        School of codes courses: coming soon
      Edit the style of the text selected

      Description

      With some CSS you can easily edit the style of the text selected (background color, text color etc.)

      Demo


      Code

      You have to reply to this topic to see the code (avoid Flood)

      General Informations

      Code tested on: Firefox - PunBBChecked by: MathiasExtra infos: None

      Codes last updated on sun jan 19 2013 by Mathias



      Last edited by Niko on Mon Mar 10, 2014 8:25 pm; edited 3 times in total



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      avatar
      • Veteran staff member

          Reputation : 12
          Registered on : 2012-03-23
          Posts : 17
        the correct code is this..

        Code:

        ::-moz-selection { color: red;  background: black; }
        ::selection{ color: red;  background: black; }
         

        It doesnt work your code

        avatar
        • Administrator

            Reputation : 312
            Registered on : 2012-02-22
            Posts : 2315
            School of codes courses: coming soon
          @Paulos wrote:the correct code is this..

          Code:

          ::-moz-selection { color: red;  background: black; }
          ::selection{ color: red;  background: black; }
           

          It doesnt work your code

          This is the same:
          ::selection, ::-moz-selection



          Niko wants you in the team Guest

          Community manager and Administrator at Forumattivo.com

          avatar
          • Veteran staff member

              Reputation : 12
              Registered on : 2012-03-23
              Posts : 17
            Yes but it doesnt work...

            avatar
            • Veteran staff member

                Reputation : 19
                Registered on : 2012-04-05
                Posts : 77
              Your browser must be CSS3 compatible.

              avatar
              • Administrator

                  Reputation : 312
                  Registered on : 2012-02-22
                  Posts : 2315
                  School of codes courses: coming soon
                @LGforum wrote:Your browser must be CSS3 compatible.
                Of course (:



                Niko wants you in the team Guest

                Community manager and Administrator at Forumattivo.com

                avatar
                • ****


                    Reputation : 3
                    Registered on : 2012-03-22
                    Posts : 54
                  The result Niko view demo

                  avatar
                  • Manager

                      Reputation : 20
                      Registered on : 2012-04-01
                      Posts : 407
                    This is a good code. LGforum has it on his forum and it looks nice!



                    avatar
                    • Administrator

                        Reputation : 19
                        Registered on : 2012-02-15
                        Posts : 171
                        Installing the new status system
                      Hello,

                      This resource has been updated!


                      See you on FMCodes



                      Note: Please contact Niko for forum problems   yes 

                      - editboard@fmcodes.com
                      avatar
                      • **


                          Reputation : 2
                          Registered on : 2014-03-12
                          Posts : 16
                          Love Fmcodes
                        Great tutorial..

                        avatar
                        • ***


                            Reputation : 0
                            Registered on : 2014-06-24
                            Posts : 31
                            Love Fmcodes
                          Its Veery Cool

                          avatar
                          • ***


                              Reputation : 0
                              Registered on : 2014-08-20
                              Posts : 25
                              Love Fmcodes
                            thanksssssssssssss

                            avatar
                            • ***


                                Reputation : 0
                                Registered on : 2013-06-11
                                Posts : 33
                              how thanks.

                              avatar
                              • **


                                  Reputation : 0
                                  Registered on : 2015-04-26
                                  Posts : 10
                                  Love Fmcodes
                                th nx


                                YOUR BANNER HERE
                                728x90
                                DMCA.com Protection Status
                                © PunBB | Contact | Report an abuse