ThomasStarck (Talk | contribs) |
ThomasStarck (Talk | contribs) |
||
Line 44: | Line 44: | ||
#rect1:hover { | #rect1:hover { | ||
opacity: .4; | opacity: .4; | ||
+ | } | ||
+ | #svgContainer{ | ||
+ | width: 50%; | ||
+ | border: solid; | ||
+ | border-color: red; | ||
} | } | ||
</style> | </style> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | var svgContainerWidth = $("#svgContainer").width(); | ||
+ | $("#svgContainer").height(svgContainerWidth); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
<div id="banner"> | <div id="banner"> | ||
Line 52: | Line 65: | ||
<div id="GeneralContent"> | <div id="GeneralContent"> | ||
<div id="MainContent"> | <div id="MainContent"> | ||
− | <div | + | <div class="block" id="svgContainer"> |
− | + | <!--<svg id="dessin" width="100%" height="100%"> | |
− | + | <rect id="rect1" width= "30%" height="10%" x="10%" y="10%" style="fill:red"/> | |
− | + | </svg>--> | |
</div> | </div> | ||
</div> | </div> |
Revision as of 14:52, 31 August 2018