View Full Version : How do I remove this whitespace at the end of the menu?

04-02-2009, 12:53 PM
1) Script Title:

Inverted Modern Bricks Menu

2) Script URL (on DD):


3) Describe problem: I'm using the inverted modern bricks menu, and modifying it to suit my page. But there is an annoying white gap on the right side of the last menu tab - i tried removing it but to no avail. How can I make the last tab reach the side of the page without a white gap? This is a liquid layout (well trying to be!), so ideally it stretches from one side to another for screen sizes 1024 and up.

Thanks for all your help,


/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

margin-right: 0px;
width: 100%;
border-top: 7px solid #182D4E; /*Brown color theme*/
background: transparent;
voice-family: "\"}\"";
voice-family: inherit;
position: relative;
top: 0%;
height: 20%;

#modernbricksmenu2 ul{
padding: 0;
list-style: none;
vertical-align: 100%;
margin-left: 3px;

#modernbricksmenu2 li{
display: inline;
margin: 0 2px 0 0;
padding: 0;

#modernbricksmenu2 a{
float: left;
display: block;
font: bold 14px Arial;
color: white;
text-decoration: none;
margin: 0 1px 0 0; /*Margin between each menu item*/
padding: 10px 10px 0 10px;
background-color: black; /*Brown color theme*/
border-top: 1px solid white;
width: 15%;
height: 35px;
top: 100%;

#modernbricksmenu2 a:hover{
background-color: #999999; /*Brown color theme*/
color: white;

#modernbricksmenu2 #current a{ /*currently selected tab*/
background-color: #182D4E; /*Brown color theme*/
color: white;
border-color: #182D4E; /*Brown color theme*/