Código HTML:
Ver original
<form method="post" action="admin_ec_pedidos.asp?proceso=updatecabped"> <fieldset> <dl> <dt> Datos del pedido </dt> <dd> <p> <input type="text" name="id" size="35" value="27" readonly="readonly"> </p> <p> <input type="text" name="fecha_ped" size="35" value="13/11/2013" id="datepicker" class="hasDatepicker"> </p> <p> <input type="text" name="su_referencia" size="35" value="-"> </p> </dd> <dd> <p class="admin_dl_dd_p"> <span> </span> <cite> </cite> </p> <p class="admin_dl_dd_p"> <span> </span> <cite> </cite> </p> </dd> <dd> <p> <input type="text" name="bimponible" size="35" value="64,07" readonly="readonly"> </p> <p> <input type="text" name="iva_aplicado" size="35" value="13,45" readonly="readonly"> </p> <p> <input type="text" name="total_pedido" size="35" value="77,52" readonly="readonly"> </p> </dd> </dl> </fieldset> </form>
Código CSS:
Ver original
.admin dl { border: solid 1px #026ac2; border-radius: 3px; background: #fff; display: block; margin: 10px; box-shadow: 0px 0px 7px 0px #d5d5d5; min-width: 250px; background: rgb(255,255,255); /* Old browsers */ background: -moz-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(242,242,242,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); /* IE10+ */ background: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ } .admin dl > dt{ background: #026ac2; border-bottom: solid 1px #026ac2; padding: 7px 10px; color: #fff; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 1.2em; font-weight: bold; text-shadow: 0 -1px 0 #026ac2; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); border-radius: 2px 2px 0 0; background-image: linear-gradient(bottom, #026ac2 0%, #54a2e5 100%); background-image: -o-linear-gradient(bottom, #026ac2 0%, #54a2e5 100%); background-image: -moz-linear-gradient(bottom, #026ac2 0%, #54a2e5 100%); background-image: -webkit-linear-gradient(bottom, #026ac2 0%, #54a2e5 100%); background-image: -ms-linear-gradient(bottom, #026ac2 0%, #54a2e5 100%); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, #026ac2 ), color-stop(1, #54a2e5)); } .admin dl > dt > input{ font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; -webkit-border-radius: 4px; border-radius: 4px; border: 1px solid #949494; -moz-box-shadow: 0px 1px 3px rgba(000,000,000,0.5), inset 0px 0px 3px rgba(255,255,255,1); -webkit-box-shadow: 0px 1px 3px rgba(000,000,000,0.5), inset 0px 0px 3px rgba(255,255,255,1); box-shadow: 0px 1px 3px rgba(000,000,000,0.5), inset 0px 0px 3px rgba(255,255,255,1); text-shadow: 0px -1px 0px rgba(000,000,000,0.1), 0px 1px 0px rgba(255,255,255,1); } .admin dl > dt > input:hover{ color: #f06000; } .admin dl dd{ padding: 5px; border-bottom: solid 1px #dedede; overflow: auto; margin: 5px; } .admin dl > dd > div{ border: 1px #808080 dashed; margin: 10px 20px; color: #646464; display: inline-block; background-color: #fffedb; padding: 25px; width:87% } .admin dl > dd > p{ float:left; margin:10px; position: relative; } .admin_dl_dd_p{ width:45%; } .admin dl > dd > p > cite{ Display:none; top:100%; left: 0; position: absolute;; border: solid 1px #026ac2; border-radius: 3px; box-shadow: 0px 0px 7px 0px #d5d5d5; background: rgb(255,255,255); background: -moz-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 100%); background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(242,242,242,1))); background: -webkit-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); background: -o-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); background: -ms-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); background: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(242,242,242,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=1 ); padding:10px; min-width:180px; min-height:50px; z-index:1; } .admin dl > dd > p:hover > cite{ Display:block; } .admin dl > dd > p > label{ font-weight: bold; display:block; } .admin dl > dd > p > span{ font-style: italic ; color:#A0A0A0; display:block; } .admin dl > dd > p > img{ display: block; max-width:400px; }
El problema es que tengo etiquetas cite que quiero que se vean al pasar por el párrafo, y lo hace, pero queda por debajo del siguiente dd, ya he probado con el z-index y nada ¿qué ocurre?