Cannot run on any browser..
-
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.
-
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 -
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>
</htmlCSS:
#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; -
I notice a missing ‘>’ right at the end of your HTML - but that might just be a cut/paste error.
David
-
Yeah that’s a cut/paste error. Still the problem is there.
-
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
-
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 :)
-
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…
-