Duz Posted May 31, 2010 Share Posted May 31, 2010 Hey I recently made a slide show for my website www.dropdeadcomedians.com and I want it to just center I cant figure it out. Can any one help? CSS/ The call. (I don't know the diff): <script type="text/javascript" src="/STORAGE/js/jquery.js"></script> <script type="text/javascript" src="/STORAGE/js/jquery.innerfade.js"></script> <script type="text/javascript"> $(document).ready( function(){ $('#news').innerfade({ animationtype: 'slide', speed: 250, timeout: 2000, type: 'random', containerheight: '1em' }); $('ul#portfolio').innerfade({ speed: 1000, timeout: 5000, type: 'random_start', containerheight: '220px' }); $('.fade').innerfade({ speed: 1000, timeout: 6000, type: 'random_start', containerheight: '1.5em' }); $('.adi').innerfade({ speed: 'slow', timeout: 5000, type: 'random', containerheight: '150px' }); }); </script> HTML: <p align="center"> <ul id="portfolio"> <li> <a href="http://www.dropdeadcomedians.com/music/2010/5/7/performance-new-single.html#entry7606306"> <img src="/storage/slideimages/Perf.jpg" align="center" alt="Music" /> </a> </li> <li> <a href="http://www.dropdeadcomedians.com/write-game-reviews/2010/5/31/sam-and-max-episode-2-the-tomb-of-sammun-mak-review.html"> <img src="/storage/slideimages/SnM.jpg" align="center" alt="SNM" /> </a> </li> <li> <a href="http://www.dropdeadcomedians.com/write-game-reviews/2010/5/16/alan-wake-review.html#entry7690494"> <img src="/storage/slideimages/wake.jpg" align="center" alt="A.wake" /> </a> </li> <li> <a href=""> <img src="/storage/slideimages/under.jpg" align="center" alt="Con" /> </a> </li> <li> <a href="http://www.dropdeadcomedians.com/geeks/"> <img src="/storage/slideimages/About Us Slide.png" align="center" alt="The GEEKS" /> </a> </li> </ul> </p align="center"> Quote Link to comment Share on other sites More sharing options...
Charles Posted May 31, 2010 Share Posted May 31, 2010 Why not use <div> tags instead of <p> tags? That way you can set it for centered in CSS. Quote Link to comment Share on other sites More sharing options...
Duz Posted May 31, 2010 Author Share Posted May 31, 2010 Why not use <div> tags instead of <p> tags? That way you can set it for centered in CSS. Tried And Failed :( :( I did that after I posted here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.