html - php include file also include the style of this file -


i have php codes in index.php this:

<?php $modal = @$_get["mod"]; switch ($modal){     default:     include "blank.php";     break;      case "video":     include "video.php";     break; } ?> 

in video.php have text:

<p> welcome, video page </p> 

when clicking:

<a href=index.php?mod=video> nice video </a> 

i getting message "welcome video page" until here working...

the problem when putting paragraph inside in div, paragraph hiding...

<div style="z-index:3;position:fixed;height:100%;width:100%;background-color:black;>     <p> welcome, video page </p> </div> 

the question is: how activate div style ? want see div style.

error code demo

error: missed " in style

replace to:

<div style="z-index:3;position:fixed;height:100%;width:100%;background-color:black;>     <p> welcome, video page </p> </div> 

this:

<div style="z-index:3;position:fixed;height:100%;width:100%;background-color:black;">    <p> welcome, video page </p> </div> 

Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -