1
$head =
'<!-- ARQUIVOS CSS -->
<link rel="stylesheet" href="css/estrutura-informacoes-BD.css" />
<link rel="stylesheet" href="css/botoes.css" />
';
echo $abreTagHead.
$head.
$fechaTagHead.
$abreTagBody.
'<div id="container">'.
$body.
'</div>'.
$fechaTagBody;
HTML
<div id="showModal"></div>
<div class="modal fade modalConteudo modal-fullscreen" tabindex="-1" role="dialog" aria-labelledby="modal" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"></span></button>
<h4 class="modal-title" id="myModalLabel">Regras</h4>
</div>
<div class="modal-body" style="text-align: center;">
<span id="resultado"></span>
</div>
</div>'
</div>
</div>
That content on top, in PHP, I have printar on span
with id="resultado"
.
I made this echo
just to be imprinted inside the showmodal
(it opens a Bootstrap modal, and is shown a content). The problem is that CSS conflicts with my main page HTML (when I call modal, the effects are also applied to the main HTML,).