• Login
Community
  • Login

Cannot run on any browser..

Scheduled Pinned Locked Moved General Discussion
9 Posts 4 Posters 6.4k Views
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.
  • A
    Ankan Chanda
    last edited by Jul 20, 2017, 5:32 PM

    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.

    C 1 Reply Last reply Jul 20, 2017, 6:28 PM Reply Quote 0
    • C
      Claudia Frank @Ankan Chanda
      last edited by Claudia Frank Jul 20, 2017, 6:29 PM Jul 20, 2017, 6:28 PM

      @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
      • A
        Ankan Chanda
        last edited by Ankan Chanda Jul 20, 2017, 7:23 PM Jul 20, 2017, 7:22 PM

        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
        • D
          David Bailey
          last edited by Jul 20, 2017, 7:46 PM

          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
          • A
            Ankan Chanda
            last edited by Jul 20, 2017, 7:54 PM

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

            S 1 Reply Last reply Jul 20, 2017, 8:17 PM Reply Quote 0
            • S
              Scott Sumner @Ankan Chanda
              last edited by Jul 20, 2017, 8:17 PM

              @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
              • A
                Ankan Chanda
                last edited by Jul 20, 2017, 8:23 PM

                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 :)

                S C 2 Replies Last reply Jul 20, 2017, 8:28 PM Reply Quote -2
                • S
                  Scott Sumner @Ankan Chanda
                  last edited by Jul 20, 2017, 8:28 PM

                  @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
                  • C
                    Claudia Frank @Ankan Chanda
                    last edited by Jul 20, 2017, 9:00 PM

                    @Ankan-Chanda

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

                    Cheers
                    Claudia

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors