Jump to content

help!!!!!1


deansaddigh

Recommended Posts

Heres my page.

 

http://www.languageschoolsuk.com/school_details.php?id=53

 

Theres a couple of problems with the gallery on the right.

One the shark picture seems to expand out of its contents and its really annoiyng me, and 2 i want to make the whole thing bigger to about 400px. so the images are a lot bigger.

 

Can anyone help

 

Heres the css

 

Code: [select]
/* pikachoose  { */

.pikachoose {

   margin: 0 auto 50px 1em;

   padding: 5px;

   width: 300px;

   background: #eee;

   border: 1px #ddd solid;



}



.pikachoose ul {

   padding: 5px;

   width: 310px;

   margin: 0;

   overflow: hidden;

}



.pikachoose ul li {

   float: left;

   border: 1px solid #eee;

   background: #ccc;

   margin: 0 6px 4px 0;

   position: relative;

   overflow: hidden;

}



.pikachoose ul li div img {

   position: relative;

   cursor: pointer;

}



.pika_main {

   width: 301px;

   height: 196px;

   display: block;

   position: relative;

}



.pika_main_img {

   position: absolute;

   top: 2px;

   left: 2px;

}



.pika_back_img {

   position: relative;

   top: 0px;

}



.pika_subdiv {

   position: relative;

   border: 1px solid #aaa;

   background: #eee;

   padding: 2px;

}



.pika_subdiv img, .pika_subdiv a img{

   border:none;

  width:295px;

}


.pika_caption{

   width: 295px;

   height: 16px;

   padding-top: 4px;

   text-align: center;

   position: absolute;

   bottom: 10px;

   left: 3px;

   color: white;

   background: url('includes/PikaChoose_3.0/black.png') top left;

}





.pika_caption a{color:white;}

.pika_play{position:absolute;z-index:1;left:50%;margin-left:-25px;width:50px;top:5px;}
.pika_play a{position:relative;margin-left:auto;cursor:pointer;display: block;width:50px;height:50px;background:url('includes/PikaChoose_3.0/play.png') top center no-repeat;}
.pika_play a{position:relative;margin-left:auto;cursor:pointer;display: block;width:50px;height:50px;background:url('includes/PikaChoose_3.0/pause.png') top center no-repeat;}

.pika_navigation a{font-size: 12px; text-decoration: none;}
.pika_navigation a:hover{text-decoration: underline;}
.pika_navigation{padding-top:10px;clear:both;text-align:center;}

/* if you want to 'hide' these jus make their height and width 1px */
.pika_prev_hover{position:absolute;top:5px;left:5px;height:456px;width:100px;background:url('includes/PikaChoose_3.0/rewind.png') top left no-repeat;}
.pika_next_hover{position:absolute;top:5px;right:5px;height:456px;width:100px;background:url('includes/PikaChoose_3.0/fastf.png') top right no-repeat;}

 

And here is myphp where i display the image

 

Code: [select]
// Open the div for the images            
            echo '<div class="pikachoose" style="float: right;">';
            echo '<div class="pikamain">';
            echo '<ul id="pikame">';
            // Image loop
            while($copiedrow = mysql_fetch_array($copiedresult))
            {
               $imagename = $copiedrow ['image_name'];
               $image = 'Admin/'.$copiedrow['path'] . '/' . $copiedrow ['image_name'];
               
                    echo '<li><img class="pika_main_img" src="'.$image.'"/ ><span>'.$imagename.'</span></li>';
               
               
               
            }
            // Close div
            echo '</ul>';
            echo '</div>';
            echo '</div>';

I have been doing this all day and ive only got so far.

can anykind soul please help me :-[

Link to comment
Share on other sites

Very serious validation errors causing all kinds of cross-browser problems.

 

Fix these first: w3c validation link for your site

 

Trying to debug a css layout with all of these markup errors is futile. 

Eliminate much of your frustration by making sure the html is done right by using validation. Without good HTML the whole foundation of your page is unstable.

 

Also,  inwhat browser is the problem happening - seems okay in Firefox, but it is very unstable and has problems in IE6.

 

Try seeing how it looks in many browsers by using adobe's browserlab:

 

This is a great tool because it shows you exactly how nasty IE6, IE7 and IE8 mess up your page.

 

Wish I could help you more.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.