Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Cannot run on any browser..

    General Discussion
    4
    9
    4232
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ankan Chanda
      Ankan Chanda last edited by

      i was running a header footer HTML problem along with the CSS code and then whenever i went on to run the HTML on firefox or chrome ,the header , div ,body parts are not being functional and am getting a blank page. But if i write something then am able to get the output and also the color but when i am using div to divide the body into right and left parts along with the header and footer and changing its colors and lengths or widths , output is blank. Please Help. I don’t think there is any problem with the code because i’ve checked it so many times. If needed i can provide the HTML and the CSS. Please Help.

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Ankan Chanda last edited by Claudia Frank

        @Ankan-Chanda

        I don’t think there is any problem with the code

        I assume that there is still a problem within the code as notepad++ doesn’t do anything to the code
        when using Run->Launch in Firefox etc…
        What it does is starting the browser application and provide the current document as the file
        to be open by the browser. (what basically means, it needs to be a saved file)

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Ankan Chanda
          Ankan Chanda last edited by Ankan Chanda

          yeah i did save it in a folder. Ok wait am forwarding the HTML and CSS :

          HTML:
          <html>
          <head>
          <title></title>
          <link rel=“stylesheet” type=“text/css” href=“ankan1.css”>
          </head>
          <body><p>This is me</p>
          <div id=’header’></div>
          <div id=’body’>
          <div id=’divleft’></div>
          <div id=’divright’></div>
          </div>
          <div id=’footer’></div>
          </body>
          </html

          CSS:
          #header {
          background-color: #90ae54;
          border-radius: 10px;
          height:10%;
          }
          #body{
          background-color: white;
          height:80%;
          }
          #footer{
          background-color:#90ae54;
          border-radius: 10px;
          height:10%;
          }
          #divleft {
          background-color:#5a5757;
          float: left;
          width: 50%;
          height: 100%;
          border-radius: 10px;
          }
          #divright{
          background-color:#989898;
          float: right;
          width: 50%;
          height: 100%;
          border-radius: 10px;

          1 Reply Last reply Reply Quote 0
          • David Bailey
            David Bailey last edited by

            I notice a missing ‘>’ right at the end of your HTML - but that might just be a cut/paste error.

            David

            1 Reply Last reply Reply Quote 0
            • Ankan Chanda
              Ankan Chanda last edited by

              Yeah that’s a cut/paste error. Still the problem is there.

              Scott Sumner 1 Reply Last reply Reply Quote 0
              • Scott Sumner
                Scott Sumner @Ankan Chanda last edited by

                @Ankan-Chanda

                Patience runs thin–is this a suspected Notepad++ problem? If not, please take it to a more appropriate forum–you’ll likely get better help there, and you won’t bore those of us here that are interested in Notepad++ issues and discussion. If this somehow is Notepad++ related, profuse apologies, and pray continue on here… :-D

                1 Reply Last reply Reply Quote 1
                • Ankan Chanda
                  Ankan Chanda last edited by

                  Yeah it might be a Notepad++ issue.Its a public discussion forum that’s why i have given it out. If you think you can atleast try to solve the problem, then give some solution or better stop boring us and yourself :)

                  Scott Sumner Claudia Frank 2 Replies Last reply Reply Quote -2
                  • Scott Sumner
                    Scott Sumner @Ankan Chanda last edited by

                    @Ankan-Chanda

                    Sure, I will try to help. Maybe if you explain why you think it is a Notepad++ related issue I and perhaps others would get some insights on how to help…

                    1 Reply Last reply Reply Quote 0
                    • Claudia Frank
                      Claudia Frank @Ankan Chanda last edited by

                      @Ankan-Chanda

                      are the html and the style sheet in the same folder?

                      Cheers
                      Claudia

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright © 2014 NodeBB Forums | Contributors