Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Problemi con css

  1. #1

    Problemi con css

    ciao a tutti, ho appena installato il fancybox (script tipo lightbox) e vorrei chiedervi se è possibile fare questo.

    se andate alla pagina http://www.mcdigit.it/schermo-proiez...80cm-p-35.html e cliccate sull'immagine dello schermo su treppiedi, lo script vi apre l'immagine http://www.mcdigit.it/images/light-grande1.jpg ridimensionandovela secondo non sò quale principio
    quello che vorrei fare è ridimensionarla ancora un pochino ma non saprei dove mettere le mani

    vi posto il codice css, da quì si possono cambiare tante cose
    ho provato a fare modifiche ma niente...

  2. #2
    codice:
    /*
    #fancybox-loading {
    	position: fixed;
    	top: 50%;
    	left: 50%;
    	width: 40px;
    	height: 40px;
    	margin-top: -20px;
    	margin-left: -20px;
    	cursor: pointer;
    	overflow: hidden;
    	z-index: 1104;
    	display: none;
    }
    
    #fancybox-loading div {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 40px;
    	height: 480px;
    	background-image: url('fancybox.png');
    }
    
    #fancybox-overlay {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	z-index: 1100;
    	display: none;
    }
    
    #fancybox-tmp {
    	padding: 0;
    	margin: 0;
    	border: 0;
    	overflow: auto;
    	display: none;
    }
    
    #fancybox-wrap {
    	position: absolute;
    	top: 0;
    	left: 0;
    	padding: 10px;
    	z-index: 1101;
    	outline: none;
    	display: none;
    }
    
    #fancybox-outer {
    	position: relative;
    	width: 100%;
    	height: 100%;
    	background: #fff;
    }
    
    #fancybox-content {
    	width: 0;
    	height: 0;
    	padding: 0;
    	outline: none;
    	position: relative;
    	overflow: hidden;
    	z-index: 1102;
    	border: 0px solid #fff;
    }
    
    #fancybox-hide-sel-frame {
    	position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 100%;
    	background: transparent;
    	z-index: 1101;
    }
    
    #fancybox-close {
    	position: absolute;
    	top: -15px;
    	right: -15px;
    	width: 30px;
    	height: 30px;
    	background: transparent url('fancybox.png') -40px 0px;
    	cursor: pointer;
    	z-index: 1103;
    	display: none;
    }
    
    #fancybox-error {
    	color: #444;
    	font: normal 12px/20px Arial;
    	padding: 14px;
    	margin: 0;
    }
    
    #fancybox-img {
    	width: 100%;
    	height: 100%;
    	padding: 0;
    	margin: 0;
    	border: none;
    	outline: none;
    	line-height: 0;
    	vertical-align: top;
    }
    
    #fancybox-frame {
    	width: 100%;
    	height: 100%;
    	border: none;
    	display: block;
    }
    
    #fancybox-left, #fancybox-right {
    	position: absolute;
    	bottom: 0px;
    	height: 100%;
    	width: 35%;
    	cursor: pointer;
    	outline: none;
    	background: transparent url('blank.gif');
    	z-index: 1102;
    	display: none;
    }
    
    #fancybox-left {
    	left: 0px;
    }
    
    #fancybox-right {
    	right: 0px;
    }
    
    #fancybox-left-ico, #fancybox-right-ico {
    	position: absolute;
    	top: 50%;
    	left: -9999px;
    	width: 30px;
    	height: 30px;
    	margin-top: -15px;
    	cursor: pointer;
    	z-index: 1102;
    	display: block;
    }
    
    #fancybox-left-ico {
    	background-image: url('fancybox.png');
    	background-position: -40px -30px;
    }
    
    #fancybox-right-ico {
    	background-image: url('fancybox.png');
    	background-position: -40px -60px;
    }
    
    #fancybox-left:hover, #fancybox-right:hover {
    	visibility: visible; /* IE6 */
    }
    
    #fancybox-left:hover span {
    	left: 20px;
    }
    
    #fancybox-right:hover span {
    	left: auto;
    	right: 20px;
    }
    
    .fancybox-bg {
    	position: absolute;
    	padding: 0;
    	margin: 0;
    	border: 0;
    	width: 20px;
    	height: 20px;
    	z-index: 1001;
    }
    
    #fancybox-bg-n {
    	top: -20px;
    	left: 0;
    	width: 100%;
    	background-image: url('fancybox-x.png');
    }
    
    #fancybox-bg-ne {
    	top: -20px;
    	right: -20px;
    	background-image: url('fancybox.png');
    	background-position: -40px -162px;
    }
    
    #fancybox-bg-e {
    	top: 0;
    	right: -20px;
    	height: 100%;
    	background-image: url('fancybox-y.png');
    	background-position: -20px 0px;
    }
    
    #fancybox-bg-se {
    	bottom: -20px;
    	right: -20px;
    	background-image: url('fancybox.png');
    	background-position: -40px -182px; 
    }
    
    #fancybox-bg-s {
    	bottom: -20px;
    	left: 0;
    	width: 100%;
    	background-image: url('fancybox-x.png');
    	background-position: 0px -20px;
    }
    
    #fancybox-bg-sw {
    	bottom: -20px;
    	left: -20px;
    	background-image: url('fancybox.png');
    	background-position: -40px -142px;
    }
    
    #fancybox-bg-w {
    	top: 0;
    	left: -20px;
    	height: 100%;
    	background-image: url('fancybox-y.png');
    }
    
    #fancybox-bg-nw {
    	top: -20px;
    	left: -20px;
    	background-image: url('fancybox.png');
    	background-position: -40px -122px;
    }
    
    #fancybox-title {
    	font-family: Helvetica;
    	font-size: 12px;
    	z-index: 1102;
    }
    
    .fancybox-title-inside {
    	padding-bottom: 10px;
    	text-align: center;
    	color: #333;
    	background: #fff;
    	position: relative;
    }
    
    .fancybox-title-outside {
    	padding-top: 10px;
    	color: #fff;
    }
    
    .fancybox-title-over {
    	position: absolute;
    	bottom: 0;
    	left: 0;
    	color: #FFFFFF;
    	text-align: left;
    }
    
    #fancybox-title-over {
    	padding: 10px;
    	display: block;
    }
    
    .fancybox-title-float {
    	position: absolute;
    	left: 0;
    	bottom: -20px;
    	height: 32px;
    }

  3. #3
    seconda parte...
    codice:
    #fancybox-title-float-wrap {
    	border: none;
    	border-collapse: collapse;
    	width: auto;
    }
    
    #fancybox-title-float-wrap td {
    	border: none;
    	white-space: nowrap;
    }
    
    #fancybox-title-float-left {
    	padding: 0 0 0 15px;
    	background: url('fancybox.png') -40px -90px no-repeat;
    }
    
    #fancybox-title-float-main {
    	color: #FFF;
    	line-height: 29px;
    	font-weight: bold;
    	padding: 0 0 3px 0;
    	background: url('fancybox-x.png') 0px -40px;
    }
    
    #fancybox-title-float-right {
    	padding: 0 0 0 15px;
    	background: url('fancybox.png') -55px -90px no-repeat;
    }

  4. #4
    vi invio uno screenshot di come vedo la foto sul mio portatile
    in pratica vorrei ridimensionarla ancora un pochino per fare in modo che la descrizione entri nella schermata senza dover scorrere in basso

    Screenshot: http://img521.imageshack.us/img521/7...atitolo1ab.jpg

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.