PDA

View Full Version : Simple Controls Gallery v1.4 - Centering the nav buttons



costa1980
05-07-2013, 09:05 PM
Please Help: Centering the nav buttons on the gallery.


http://agmaconstruction.com/hubert.html

I am trying to center the navigation buttons but still they are all in the left corner of the gallery. I have tried but no result.

jscheuer1
05-08-2013, 01:55 AM
Add these styles as shown:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>

<style type="text/css">

/*Make sure your page contains a valid doctype at the top*/
#simplegallery1{ //CSS for Simple Gallery Example 1
position: center; /*keep this intact*/
visibility: hidden; /*keep this intact*/
border: 1px solid white;
}

#simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)
text-align: left;
padding: 2px 5px;
}

#simplegallery1 img {
display: inline;
}

.navimages {
top: 0 !important;
vertical-align: middle;
}
</style>


The browser cache may need to be cleared and/or the page refreshed to see changes.

costa1980
05-08-2013, 09:35 AM
Thak you so much !!!

Worked perfect !