Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2014
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts

    font size isn't changing

    I have written a page using the following css and html, the font size for this particular section isn't changing and defaulting to the browser default. The code works in every other instants on the page. Dark Tech INC.


    Css
    Code:
    .securityText {
    
    font-size:3vmin  !important;
    
    }
    html that dosen't work
    Code:
    <span calss="securityText"> There are several security levels that we write, depending on the needs of the site both for when we write it and for the future of what the site is projected to become. Bellow is the outline of the different levels. </span>

    html that works
    Code:
    <span class="securityText"> Now a days security for sites is one of the biggest topics around. Here at Dark Tech Inc. we pride ourselves in the security of the sites that we write. </span>
    I can't find an error in syntax or the class name that would make the css not work. any suggestions would be helpful


    full javascript
    Code:
    ocument.getElementById("displayscreen").innerHTML = '<div id="securityViewPoint"><center> <span class="securityHeader1">Security</span> </center> <br><br><br> <br>' + tabSpace + ' <span class="securityText"> Now a days security for sites is one of the biggest topics around. Here at Dark Tech Inc. we pride ourselves in the security of the sites that we write. </span> <br> <br> <br>' + tabSpace + '<span calss="securityText"> There are several security levels that we write, depending on the needs of the site both for when we write it and for the future of what the site is projected to become. Bellow is the outline of the different levels. </span> <br> <br> <br> <span class="securityHeader2"> Low Level: </span> <span class="securityText"> This is the lowest level of security which is used for sites that have no worries if someone tries to steal data because there is no sensitive data stored on the site. These sites are information sites that change very little over time. </span> <br> <br> <br> <span class="securityHeader2">Mid Level I: </span> <span class="securityText"> This is for sites that use a database for information that can change frequently. We use an algorithm that encrypts all the saved data so that it takes more then a lifetime to crack if it can be cracked at all. Each site will use a slightly different algorithm so that no 2 are the same. </span> <br> <br> <br> <span class="securityHeader2"> Mid Level II: </span> <span class="securityText"> This level is intended for files that have sensitive data in them and is a deeply encoded file structure where without having the right path and file name it will be almost impossible for someone to find the file that they are looking for with the information they are looking for. </span> <br> <br> <br> <span class="securityHeader2"> High Level: </span> <span class="securityText"> This is the highest level and it encompasses the other levels and adds that the file themselves are completely encrypted and can only be deciphered by the website itself. </span> <br> <br> <br>' + tabSpace + '<span class="securityText"> As a standard we also encrypt all data that is sent from host to client and back using a custom algorithm, we still suggest that everyone gets an SSL Certificate. This will allow all the data to have 2 separate encryptions and it helps with search rank by google. </span> </div>';

  2. #2
    Senior Coder benanamen's Avatar
    Join Date
    Oct 2015
    Posts
    1,581
    Thanks
    10
    Thanked 160 Times in 155 Posts
    I can't find an error in syntax or the class name that would make the css not work.
    You really cant see the problem here???

    <span calss=
    To save time, lets just assume I am almost never wrong.

    The XY Problem
    The XY problem is asking about your attempted solution (X) rather than your actual problem (Y). This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.

    Make A Donation https://www.paypal.me/KevinRubio

  3. Users who have thanked benanamen for this post:

    kccomputers (Jan 3rd, 2019)

  4. #3
    New Coder
    Join Date
    Sep 2014
    Posts
    13
    Thanks
    2
    Thanked 0 Times in 0 Posts
    now I feel stupid lmao. dyslexic a little I guess. Thank you for looking at it and letting me know

  5. #4
    Banned
    Join Date
    Jan 2019
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    error in <span calss="securityText"> as <span cass="securityText">


 

Tags for this Thread

Posting Permissions

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