View Full Version : only margin in color

12 Feb 2012, 03:57 PM
I want only the margin in color, when a frame with a color.
How can I do that?

13 Feb 2012, 04:38 PM
finally I have found something that I can use

<style type="text/css">
#hoofdblok { position:relative; left:100px; top:20px; width:500px; height:200px; background:#000000; color:#ffffff }
#yellowblok { position:absolute; left:30px; top:50px; width:250px; height:100px; background:#ffff00; color:#000000 }
#greenblok { position:absolute; left:30px; top:30px; width:100px; height:50px; background:#00c000; color:#000000 }

<div id="hoofdblok">Dit is de hoofdblok
<div id="yellowblok">Dit is de gele blok
<div id="greenblok">Dit is de groene blok