Torna indietro   Hardware Upgrade Forum > Software > Programmazione

Peugeot Polygon Concept: ecco il futuro delle utilitarie
Peugeot Polygon Concept: ecco il futuro delle utilitarie
Polygon è la concept car di Peugeot che mostra il futuro delle soluzioni del segmento B: tra design compatti e innovativi affiancati da dimensioni compatte uno scherzo dalla manovrabilità incredibile per le manovre a bassa velocità
Reno16 Pro: il compatto di OPPO punta su fotocamera da 200MP e il nuovo Bubble! La recensione
Reno16 Pro: il compatto di OPPO punta su fotocamera da 200MP e il nuovo Bubble! La recensione
OPPO ha portato in Italia, dal 1° luglio 2026, Reno16 Pro: display AMOLED da 6,32 pollici a 144Hz, tripla fotocamera con sensore principale da 200 megapixel, chip Dimensity 8550 Super e batteria da 6000mAh, al prezzo di lancio di 899 euro. Lo abbiamo provato per due settimane insieme al nuovo accessorio Bubble, per capire se la formula compatta della serie regge ancora di fronte a un listino da 1099 euro
 Hisense 55U7SE: tuttofare e accessibile, il MiniLED per film, sport e gioco
Hisense 55U7SE: tuttofare e accessibile, il MiniLED per film, sport e gioco
MiniLED di fascia media con local dimming a 192 zone, 144 Hz nativi e audio firmato Devialet. La prova strumentale riscontra colori affidabili e gaming reattivo, per un prodotto molto accessibile e convincente. Ma la soundbar aggiuntiva è quasi d'obbligo
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 20-05-2014, 20:58   #1
mistergks
Senior Member
 
L'Avatar di mistergks
 
Iscritto dal: Mar 2011
Messaggi: 1050
[html-css] photogallery div a destra

ho trovato una galleria fotografica che mi piace molto
Però ha un problema.
E' spostata sulla destra.. a me servirebbe centrata o magari a sinistra.
Cosi com'è esce fuori dal div principale.
Ecco il codice del file html:

Codice:
  
    <div id="wrapper">
  <div id="wrapper-top"> </div>
  <div id="left">
        <div id="left-bottom">
      <div class="social"> <span>Social:</span>
        <ul>
          <li><a class="tumblr" href="#">tumblr</a></li>
          <li><a class="picasa" href="#">picasa</a></li>
          <li><a class="vimeo" href="#">vimeo</a></li>
          <li><a class="flickr" href="#">flickr</a></li>
          <li><a class="twitter" href="#">twitter</a></li>
          <li><a class="facebook" href="#">facebook</a></li>
          <li><a class="rss" href="#">rss</a></li>
        </ul>
      </div>
      <div class="search">
        <form action="#" method="get">
          <fieldset>
            <div class="left">
              <input type="text" value="" />
            </div>
            <div class="right">
              <input type="submit" value="" />
            </div>
          </fieldset>
        </form>
      </div>
    </div>
  </div>
  <div id="right">
    <ul class="thumbnails">
      <li><a href="images/gallery/thumb1.jpg" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb1.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb2.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb3.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb4.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb5.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb6.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb7.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb8.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb9.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb10.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb11.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb12.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb13.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb14.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb15.jpg" alt="" width="150" height="121"/></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb16.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/gallery/thumb17.jpg" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb17.jpg" alt="" width="150" height="121" /></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb18.jpg" alt="" width="150" height="121"/></a></li>
      <li><a href="images/500X500.gif" rel="prettyPhoto[gallery]"><img src="images/gallery/thumb19.jpg" alt="" width="150" height="121" /></a></li>

    
    </ul>
    <div class="navigation"> <a href="#" class="prev">Previous</a> <a href="#" class="next">Next</a> </div>
  </div>
  <div id="wrapper-bottom"> </div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="js/main.js"></script>
 </div>
e questo è il css prettyphoto.css
Codice:
div.pp_default .pp_top, div.pp_default .pp_top .pp_middle, div.pp_default .pp_top .pp_left, div.pp_default .pp_top .pp_right, div.pp_default .pp_bottom, div.pp_default .pp_bottom .pp_left, div.pp_default .pp_bottom .pp_middle, div.pp_default .pp_bottom .pp_right {
	height:13px
}
div.pp_default .pp_top .pp_left {
	background:url(../images/prettyPhoto/default/sprite.png) -78px -93px no-repeat
}
div.pp_default .pp_top .pp_middle {
	background:url(../images/prettyPhoto/default/sprite_x.png) top left repeat-x
}
div.pp_default .pp_top .pp_right {
	background:url(../images/prettyPhoto/default/sprite.png) -112px -93px no-repeat
}
div.pp_default .pp_content .ppt {
	color:#f8f8f8
}
div.pp_default .pp_content_container .pp_left {
	background:url(../images/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;
	padding-left:13px
}
div.pp_default .pp_content_container .pp_right {
	background:url(../images/prettyPhoto/default/sprite_y.png) top right repeat-y;
	padding-right:13px
}
div.pp_default .pp_next:hover {
	background:url(../images/prettyPhoto/default/sprite_next.png) center right no-repeat;
	cursor:pointer
}
div.pp_default .pp_previous:hover {
	background:url(../images/prettyPhoto/default/sprite_prev.png) center left no-repeat;
	cursor:pointer
}
div.pp_default .pp_expand {
	background:url(../images/prettyPhoto/default/sprite.png) 0 -29px no-repeat;
	cursor:pointer;
	width:28px;
	height:28px
}
div.pp_default .pp_expand:hover {
	background:url(../images/prettyPhoto/default/sprite.png) 0 -56px no-repeat;
	cursor:pointer
}
div.pp_default .pp_contract {
	background:url(../images/prettyPhoto/default/sprite.png) 0 -84px no-repeat;
	cursor:pointer;
	width:28px;
	height:28px
}
div.pp_default .pp_contract:hover {
	background:url(../images/prettyPhoto/default/sprite.png) 0 -113px no-repeat;
	cursor:pointer
}
div.pp_default .pp_close {
	width:30px;
	height:30px;
	background:url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;
	cursor:pointer
}
div.pp_default .pp_gallery ul li a {
	background:url(../images/prettyPhoto/default/default_thumb.png) center center #f8f8f8;
	border:1px solid #aaa
}
div.pp_default .pp_gallery a.pp_arrow_previous, div.pp_default .pp_gallery a.pp_arrow_next {
	position:static;
	left:auto
}
div.pp_default .pp_nav .pp_play, div.pp_default .pp_nav .pp_pause {
	background:url(../images/prettyPhoto/default/sprite.png) -51px 1px no-repeat;
	height:30px;
	width:30px
}
div.pp_default .pp_nav .pp_pause {
	background-position:-51px -29px
}
div.pp_default a.pp_arrow_previous, div.pp_default a.pp_arrow_next {
	background:url(../images/prettyPhoto/default/sprite.png) -31px -3px no-repeat;
	height:20px;
	width:20px;
	margin:4px 0 0
}
div.pp_default a.pp_arrow_next {
	left:52px;
	background-position:-82px -3px
}
div.pp_default .pp_content_container .pp_details {
	margin-top:5px
}
div.pp_default .pp_nav {
	clear:none;
	height:30px;
	width:105px;
	position:relative
}
div.pp_default .pp_nav .currentTextHolder {
	font-family:Georgia;
	font-style:italic;
	font-color:#999;
	font-size:11px;
	left:75px;
	line-height:25px;
	position:absolute;
	top:2px;
	margin:0;
	padding:0 0 0 10px
}
div.pp_default .pp_close:hover, div.pp_default .pp_nav .pp_play:hover, div.pp_default .pp_nav .pp_pause:hover, div.pp_default .pp_arrow_next:hover, div.pp_default .pp_arrow_previous:hover {
	opacity:0.7
}
div.pp_default .pp_description {
	font-size:11px;
	font-weight:700;
	line-height:14px;
	margin:5px 50px 5px 0
}
div.pp_default .pp_bottom .pp_left {
	background:url(../images/prettyPhoto/default/sprite.png) -78px -127px no-repeat
}
div.pp_default .pp_bottom .pp_middle {
	background:url(../images/prettyPhoto/default/sprite_x.png) bottom left repeat-x
}
div.pp_default .pp_bottom .pp_right {
	background:url(../images/prettyPhoto/default/sprite.png) -112px -127px no-repeat
}
div.pp_default .pp_loaderIcon {
	background:url(../images/prettyPhoto/default/loader.gif) center center no-repeat
}
div.light_rounded .pp_top .pp_left {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat
}
div.light_rounded .pp_top .pp_right {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat
}
div.light_rounded .pp_next:hover {
	background:url(../images/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;
	cursor:pointer
}
div.light_rounded .pp_previous:hover {
	background:url(../images/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;
	cursor:pointer
}
div.light_rounded .pp_expand {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;
	cursor:pointer
}
div.light_rounded .pp_expand:hover {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;
	cursor:pointer
}
div.light_rounded .pp_contract {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;
	cursor:pointer
}
div.light_rounded .pp_contract:hover {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;
	cursor:pointer
}
div.light_rounded .pp_close {
	width:75px;
	height:22px;
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;
	cursor:pointer
}
div.light_rounded .pp_nav .pp_play {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;
	height:15px;
	width:14px
}
div.light_rounded .pp_nav .pp_pause {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;
	height:15px;
	width:14px
}
div.light_rounded .pp_arrow_previous {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat
}
div.light_rounded .pp_arrow_next {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat
}
div.light_rounded .pp_bottom .pp_left {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat
}
div.light_rounded .pp_bottom .pp_right {
	background:url(../images/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat
}
div.dark_rounded .pp_top .pp_left {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat
}
div.dark_rounded .pp_top .pp_right {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat
}
div.dark_rounded .pp_content_container .pp_left {
	background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y
}
div.dark_rounded .pp_content_container .pp_right {
	background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y
}
div.dark_rounded .pp_next:hover {
	background:url(../images/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_previous:hover {
	background:url(../images/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_expand {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_expand:hover {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_contract {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_contract:hover {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_close {
	width:75px;
	height:22px;
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;
	cursor:pointer
}
div.dark_rounded .pp_description {
	margin-right:85px;
	color:#fff
}
div.dark_rounded .pp_nav .pp_play {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;
	height:15px;
	width:14px
}
div.dark_rounded .pp_nav .pp_pause {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;
	height:15px;
	width:14px
}
div.dark_rounded .pp_arrow_previous {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat
}
div.dark_rounded .pp_arrow_next {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat
}
div.dark_rounded .pp_bottom .pp_left {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat
}
div.dark_rounded .pp_bottom .pp_right {
	background:url(../images/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat
}
div.dark_rounded .pp_loaderIcon {
	background:url(../images/prettyPhoto/dark_rounded/loader.gif) center center no-repeat
}
div.dark_square .pp_left, div.dark_square .pp_middle, div.dark_square .pp_right, div.dark_square .pp_content {
	background:#000
}
div.dark_square .pp_description {
	color:#fff;
	margin:0 85px 0 0
}
div.dark_square .pp_loaderIcon {
	background:url(../images/prettyPhoto/dark_square/loader.gif) center center no-repeat
}
div.dark_square .pp_expand {
	background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;
	cursor:pointer
}
div.dark_square .pp_expand:hover {
	background:url(../images/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;
	cursor:pointer
}
div.dark_square .pp_contract {
	background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;
	cursor:pointer
}
div.dark_square .pp_contract:hover {
	background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;
	cursor:pointer
}
div.dark_square .pp_close {
	width:75px;
	height:22px;
	background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;
	cursor:pointer
}
div.dark_square .pp_nav {
	clear:none
}
div.dark_square .pp_nav .pp_play {
	background:url(../images/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;
	height:15px;
	width:14px
}
div.dark_square .pp_nav .pp_pause {
	background:url(../images/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;
	height:15px;
	width:14px
}
div.dark_square .pp_arrow_previous {
	background:url(../images/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat
}
div.dark_square .pp_arrow_next {
	background:url(../images/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat
}
div.dark_square .pp_next:hover {
	background:url(../images/prettyPhoto/dark_square/btnNext.png) center right no-repeat;
	cursor:pointer
}
div.dark_square .pp_previous:hover {
	background:url(../images/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;
	cursor:pointer
}
div.light_square .pp_expand {
	background:url(../images/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;
	cursor:pointer
}
div.light_square .pp_expand:hover {
	background:url(../images/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;
	cursor:pointer
}
div.light_square .pp_contract {
	background:url(../images/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;
	cursor:pointer
}
div.light_square .pp_contract:hover {
	background:url(../images/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;
	cursor:pointer
}
div.light_square .pp_close {
	width:75px;
	height:22px;
	background:url(../images/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;
	cursor:pointer
}
div.light_square .pp_nav .pp_play {
	background:url(../images/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;
	height:15px;
	width:14px
}
div.light_square .pp_nav .pp_pause {
	background:url(../images/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;
	height:15px;
	width:14px
}
div.light_square .pp_arrow_previous {
	background:url(../images/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat
}
div.light_square .pp_arrow_next {
	background:url(../images/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat
}
div.light_square .pp_next:hover {
	background:url(../images/prettyPhoto/light_square/btnNext.png) center right no-repeat;
	cursor:pointer
}
div.light_square .pp_previous:hover {
	background:url(../images/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;
	cursor:pointer
}
div.facebook .pp_top .pp_left {
	background:url(../images/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat
}
div.facebook .pp_top .pp_middle {
	background:url(../images/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x
}
div.facebook .pp_top .pp_right {
	background:url(../images/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat
}
div.facebook .pp_content_container .pp_left {
	background:url(../images/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y
}
div.facebook .pp_content_container .pp_right {
	background:url(../images/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y
}
div.facebook .pp_expand {
	background:url(../images/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;
	cursor:pointer
}
div.facebook .pp_expand:hover {
	background:url(../images/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;
	cursor:pointer
}
div.facebook .pp_contract {
	background:url(../images/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;
	cursor:pointer
}
div.facebook .pp_contract:hover {
	background:url(../images/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;
	cursor:pointer
}
div.facebook .pp_close {
	width:22px;
	height:22px;
	background:url(../images/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;
	cursor:pointer
}
div.facebook .pp_description {
	margin:0 37px 0 0
}
div.facebook .pp_loaderIcon {
	background:url(../images/prettyPhoto/facebook/loader.gif) center center no-repeat
}
div.facebook .pp_arrow_previous {
	background:url(../images/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;
	height:22px;
	margin-top:0;
	width:22px
}
div.facebook .pp_arrow_previous.disabled {
	background-position:0 -96px;
	cursor:default
}
div.facebook .pp_arrow_next {
	background:url(../images/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;
	height:22px;
	margin-top:0;
	width:22px
}
div.facebook .pp_arrow_next.disabled {
	background-position:-32px -96px;
	cursor:default
}
div.facebook .pp_nav {
	margin-top:0
}
div.facebook .pp_nav p {
	font-size:15px;
	padding:0 3px 0 4px
}
div.facebook .pp_nav .pp_play {
	background:url(../images/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;
	height:22px;
	width:22px
}
div.facebook .pp_nav .pp_pause {
	background:url(../images/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;
	height:22px;
	width:22px
}
div.facebook .pp_next:hover {
	background:url(../images/prettyPhoto/facebook/btnNext.png) center right no-repeat;
	cursor:pointer
}
div.facebook .pp_previous:hover {
	background:url(../images/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;
	cursor:pointer
}
div.facebook .pp_bottom .pp_left {
	background:url(../images/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat
}
div.facebook .pp_bottom .pp_middle {
	background:url(../images/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x
}
div.facebook .pp_bottom .pp_right {
	background:url(../images/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat
}
div.pp_pic_holder a:focus {
	outline:none
}
div.pp_overlay {
	background:#000;
	display:none;
	left:0;
	position:absolute;
	top:0;
	width:100%;
	z-index:9500
}
div.pp_pic_holder {
	display:none;
	position:absolute;
	width:100px;
	z-index:10000
}
.pp_content {
	height:40px;
	min-width:40px
}
* html .pp_content {
	width:40px
}
.pp_content_container {
	position:relative;
	text-align:left;
	width:100%
}
.pp_content_container .pp_left {
	padding-left:20px
}
.pp_content_container .pp_right {
	padding-right:20px
}
.pp_content_container .pp_details {
	float:left;
	margin:10px 0 2px
}
.pp_description {
	display:none;
	margin:0
}
.pp_social {
	float:left;
	margin:7px 0 0
}
.pp_social .facebook {
	float:left;
	position:relative;
	top:-1px;
	margin-left:5px;
	width:55px;
	overflow:hidden
}
.pp_social .twitter {
	float:left
}
.pp_nav {
	clear:right;
	float:left;
	margin:3px 10px 0 0
}
.pp_nav p {
	float:left;
	margin:2px 4px
}
.pp_nav .pp_play, .pp_nav .pp_pause {
	float:left;
	margin-right:4px;
	text-indent:-10000px
}
a.pp_arrow_previous, a.pp_arrow_next {
	display:block;
	float:left;
	height:15px;
	margin-top:3px;
	overflow:hidden;
	text-indent:-10000px;
	width:14px
}
.pp_hoverContainer {
	position:absolute;
	top:0;
	width:100%;
	z-index:2000
}
.pp_gallery {
	display:none;
	left:50%;
	margin-top:-50px;
	position:absolute;
	z-index:10000
}
.pp_gallery div {
	float:left;
	overflow:hidden;
	position:relative
}
.pp_gallery ul {
	float:left;
	height:35px;
	position:relative;
	white-space:nowrap;
	margin:0 0 0 5px;
	padding:0
}
.pp_gallery ul a {
	border:1px rgba(0, 0, 0, 0.5) solid;
	display:block;
	float:left;
	height:33px;
	overflow:hidden
}
.pp_gallery ul a img {
	border:0
}
.pp_gallery li {
	display:block;
	float:left;
	margin:0 5px 0 0;
	padding:0
}
.pp_gallery li.default a {
	background:url(../images/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;
	display:block;
	height:33px;
	width:50px
}
.pp_gallery .pp_arrow_previous, .pp_gallery .pp_arrow_next {
	margin-top:7px!important
}
a.pp_next {
	background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;
	display:block;
	float:right;
	height:100%;
	text-indent:-10000px;
	width:49%
}
a.pp_previous {
	background:url(../images/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;
	display:block;
	float:left;
	height:100%;
	text-indent:-10000px;
	width:49%
}
a.pp_expand, a.pp_contract {
	cursor:pointer;
	display:none;
	height:20px;
	position:absolute;
	right:30px;
	text-indent:-10000px;
	top:10px;
	width:20px;
	z-index:20000
}
a.pp_close {
	position:absolute;
	right:0;
	top:0;
	display:block;
	line-height:22px;
	text-indent:-10000px
}
.pp_loaderIcon {
	display:block;
	height:24px;
	left:50%;
	position:absolute;
	top:50%;
	width:24px;
	margin:-12px 0 0 -12px
}
#pp_full_res {
	line-height:1!important
}
#pp_full_res .pp_inline {
	text-align:left
}
#pp_full_res .pp_inline p {
	margin:0 0 15px
}
div.ppt {
	color:#fff;
	display:none;
	font-size:17px;
	z-index:9999;
	margin:0 0 5px 15px
}
div.pp_default .pp_content, div.light_rounded .pp_content {
	background-color:#fff
}
div.pp_default #pp_full_res .pp_inline, div.light_rounded .pp_content .ppt, div.light_rounded #pp_full_res .pp_inline, div.light_square .pp_content .ppt, div.light_square #pp_full_res .pp_inline, div.facebook .pp_content .ppt, div.facebook #pp_full_res .pp_inline {
	color:#000
}
div.pp_default .pp_gallery ul li a:hover, div.pp_default .pp_gallery ul li.selected a, .pp_gallery ul a:hover, .pp_gallery li.selected a {
	border-color:#fff
}
div.pp_default .pp_details, div.light_rounded .pp_details, div.dark_rounded .pp_details, div.dark_square .pp_details, div.light_square .pp_details, div.facebook .pp_details {
	position:relative
}
div.light_rounded .pp_top .pp_middle, div.light_rounded .pp_content_container .pp_left, div.light_rounded .pp_content_container .pp_right, div.light_rounded .pp_bottom .pp_middle, div.light_square .pp_left, div.light_square .pp_middle, div.light_square .pp_right, div.light_square .pp_content, div.facebook .pp_content {
	background:#fff
}
div.light_rounded .pp_description, div.light_square .pp_description {
	margin-right:85px
}
div.light_rounded .pp_gallery a.pp_arrow_previous, div.light_rounded .pp_gallery a.pp_arrow_next, div.dark_rounded .pp_gallery a.pp_arrow_previous, div.dark_rounded .pp_gallery a.pp_arrow_next, div.dark_square .pp_gallery a.pp_arrow_previous, div.dark_square .pp_gallery a.pp_arrow_next, div.light_square .pp_gallery a.pp_arrow_previous, div.light_square .pp_gallery a.pp_arrow_next {
	margin-top:12px!important
}
div.light_rounded .pp_arrow_previous.disabled, div.dark_rounded .pp_arrow_previous.disabled, div.dark_square .pp_arrow_previous.disabled, div.light_square .pp_arrow_previous.disabled {
	background-position:0 -87px;
	cursor:default
}
div.light_rounded .pp_arrow_next.disabled, div.dark_rounded .pp_arrow_next.disabled, div.dark_square .pp_arrow_next.disabled, div.light_square .pp_arrow_next.disabled {
	background-position:-22px -87px;
	cursor:default
}
div.light_rounded .pp_loaderIcon, div.light_square .pp_loaderIcon {
	background:url(../images/prettyPhoto/light_rounded/loader.gif) center center no-repeat
}
div.dark_rounded .pp_top .pp_middle, div.dark_rounded .pp_content, div.dark_rounded .pp_bottom .pp_middle {
	background:url(../images/prettyPhoto/dark_rounded/contentPattern.png) top left repeat
}
div.dark_rounded .currentTextHolder, div.dark_square .currentTextHolder {
	color:#c4c4c4
}
div.dark_rounded #pp_full_res .pp_inline, div.dark_square #pp_full_res .pp_inline {
	color:#fff
}
.pp_top, .pp_bottom {
	height:20px;
	position:relative
}
* html .pp_top, * html .pp_bottom {
	padding:0 20px
}
.pp_top .pp_left, .pp_bottom .pp_left {
	height:20px;
	left:0;
	position:absolute;
	width:20px
}
.pp_top .pp_middle, .pp_bottom .pp_middle {
	height:20px;
	left:20px;
	position:absolute;
	right:20px
}
* html .pp_top .pp_middle, * html .pp_bottom .pp_middle {
	left:0;
	position:static
}
.pp_top .pp_right, .pp_bottom .pp_right {
	height:20px;
	left:auto;
	position:absolute;
	right:0;
	top:0;
	width:20px
}
.pp_fade, .pp_gallery li.default a img {
	display:none
}

ovviamente spostando la galleria a sinistra o al centro... poi eliminerei il div left e quindi i tasti social e il box di ricerca.
Come posso fare a spostare la galleria a sinistra o al centro?
mistergks è offline   Rispondi citando il messaggio o parte di esso
Old 20-05-2014, 23:55   #2
OoZic
Senior Member
 
L'Avatar di OoZic
 
Iscritto dal: Nov 2010
Città: Londra
Messaggi: 620
jQuery 1.5.2 -> marzo 2011
siamo a maggio 2014, non è che il plugin che hai trovato è "leggermente" vecchio?
non c'entra nulla col tuo problema, è solo una mia riflessione.

per quanto riguarda il tuo problema non è semplice aiutarti con il codice messo li così...

potresti ad esempio metterlo in un jsfiddle o jsbin
http://jsbin.com/

da quel che vedo ci sono un pò di text-align:right o position absolute con right:0, però senza vedere effettivamente come funziona è difficile aiutarti.
servirebbe il codice su jsbin o su un tuo ambiente di prova solo per farlo vedere.
__________________
> This is me <
When you gaze long into an abyss the abyss also gazes into you.
OoZic è offline   Rispondi citando il messaggio o parte di esso
Old 21-05-2014, 00:20   #3
mistergks
Senior Member
 
L'Avatar di mistergks
 
Iscritto dal: Mar 2011
Messaggi: 1050
Forse faccio prima a cambiare galleria! Mi serve una galleria che contenga numerose foto (da 20 a 150 per pagina o con piu pagine).
Co miniature che al clic si ingrandiscono.
mistergks è offline   Rispondi citando il messaggio o parte di esso
Old 21-05-2014, 13:10   #4
OoZic
Senior Member
 
L'Avatar di OoZic
 
Iscritto dal: Nov 2010
Città: Londra
Messaggi: 620
https://github.com/lokesh/lightbox2/

la gallery la puoi fare tu
__________________
> This is me <
When you gaze long into an abyss the abyss also gazes into you.
OoZic è offline   Rispondi citando il messaggio o parte di esso
Old 22-05-2014, 16:31   #5
mistergks
Senior Member
 
L'Avatar di mistergks
 
Iscritto dal: Mar 2011
Messaggi: 1050
Si ma io avrei voluto adattare quella.
Mi piaceva anche il fatto di non dover mettere doppia foto (miniatura e ingrandimento).
mistergks è offline   Rispondi citando il messaggio o parte di esso
Old 22-05-2014, 20:31   #6
OoZic
Senior Member
 
L'Avatar di OoZic
 
Iscritto dal: Nov 2010
Città: Londra
Messaggi: 620
Quote:
Originariamente inviato da mistergks Guarda i messaggi
Si ma io avrei voluto adattare quella.
Mi piaceva anche il fatto di non dover mettere doppia foto (miniatura e ingrandimento).
è una buona prassi fare così, altrimenti vuoi far caricare 150 foto a grossa risoluzione tutto in una botta?
__________________
> This is me <
When you gaze long into an abyss the abyss also gazes into you.
OoZic è offline   Rispondi citando il messaggio o parte di esso
Old 23-05-2014, 06:32   #7
mistergks
Senior Member
 
L'Avatar di mistergks
 
Iscritto dal: Mar 2011
Messaggi: 1050
Questa gallery le miniaturizza automaticamente! Come fa? Per mezzo del css?
mistergks è offline   Rispondi citando il messaggio o parte di esso
Old 23-05-2014, 10:15   #8
OoZic
Senior Member
 
L'Avatar di OoZic
 
Iscritto dal: Nov 2010
Città: Londra
Messaggi: 620
i casi sono due: può ridimensionare le immagini ad alta risoluzione tramite css, in questo caso le immagini da scaricare sono comunque quelle ad alta risoluzione solo che sono mostrate in piccolo (bad)

nell altro caso carica una thumbnail dell'immagine (ma serve qualcosa lato server che lo faccia) e poi al click ti carica l'immagine in alta risoluzione (good)

così a naso ti direi che è il primo caso.
__________________
> This is me <
When you gaze long into an abyss the abyss also gazes into you.
OoZic è offline   Rispondi citando il messaggio o parte di esso
Old 24-05-2014, 13:12   #9
MicheleRaponi
Member
 
Iscritto dal: Oct 2003
Messaggi: 143
Quote:
Originariamente inviato da mistergks Guarda i messaggi
Mi piaceva anche il fatto di non dover mettere doppia foto (miniatura e ingrandimento).
Il tuo codice utilizza il plugin jQuery prettyphoto, non ho visto come l'hai implementato, ma di default, come la maggior parte dei plugin per lightbox, prevede l'utilizzo di una thumb all'interno di un <a> il cui attributo href punta alla photo fullsize.

E' spiegato qui: qui
MicheleRaponi è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


Peugeot Polygon Concept: ecco il futuro delle utilitarie Peugeot Polygon Concept: ecco il futuro delle ut...
Reno16 Pro: il compatto di OPPO punta su fotocamera da 200MP e il nuovo Bubble! La recensione Reno16 Pro: il compatto di OPPO punta su fotocam...
 Hisense 55U7SE: tuttofare e accessibile, il MiniLED per film, sport e gioco Hisense 55U7SE: tuttofare e accessibile, il Min...
Kindle Scribe Colorsoft: riduce le cornici e diventa a colori, ma il prezzo è alto Kindle Scribe Colorsoft: riduce le cornici e div...
L'IA cambia tutte le regole della sicurezza tra vulnerabilità e sorveglianza. Intervista al CEO di Proofpoint L'IA cambia tutte le regole della sicurezza tra ...
Edge AI: NVIDIA Jetson raggiungerà...
La missione robotica LINK per salvare il...
Potrebbe essere stato lanciato l'ultimo ...
PamStealer, il malware per Mac che prima...
NAVEE EXO S Pro, il robot esoscheletro p...
Samsung Galaxy A57 5G a 399€ con 256 GB:...
Volevano collegare delle aragoste vive a...
La crisi dei PC è peggiore del pr...
Alibaba pronta a vietare Claude Code ai ...
Sovranità sui dati: Cloud Firewal...
FiberCop porterà la fibra Gigabit...
Data center in Lombardia: 20 progetti sc...
Tutti i modi in cui la scommessa di Orac...
Kioxia e SanDisk sbandierano i numeri de...
iPhone 18 Pro potrebbe usare modem Qualc...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 06:13.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Served by www3v