Inline-CSS-Stile in JSP

Ich versuche zu Rendern DIESES in JSP. Ich möchte das styling zu inline-jetzt, da ich bin in den frühen Phasen der Entwicklung .

Meine JSP-code ist

<%
%><%@include file="/libs/foundation/global.jsp"%><%
%><%@page session="false" %><%
%><%

<style type="text/css">
.line {
width:70%;
}
.line:after {
content:'';
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
top: 8px;
left: 45%;
}
.line:before {
content:'';
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
border-color: #7F7F7F transparent;
display: block;
width: 0;
z-index: 1;
top: 9px;
left: 45%;
}
</style>
<%@include file="/apps//global.jsp"%>
<hr class="line">
%>

Ich bin mir sicher das css-styling ist fince, da macht es richtig Geige.

Gibt es eine Möglichkeit, kann ich dieses Problem beheben? Jede Hilfe wird sehr geschätzt. Vielen Dank.

InformationsquelleAutor user3861559 | 2014-10-16
Schreibe einen Kommentar