Jump to content

Recommended Posts

Posted

I have this definition and in the last line the border does not show up, so I made it really visible to check and it still does now show. Any ideas what I should be looking for in my code as to why this is happing or a method to locate the cause?

Thanks!

WBR

#leftMenuContent { 
   float: left;
   width: 250px;
   padding: 1px;
   margin: 2px;
   height: 680px;
   /*#ffffff is the bottom color in gradient*/
   background: #ffffff url(../images/fading_background_12.png) repeat-x;
   border-right: thin red;
   border-right: thick #0000FF;
}

Posted

border-right: thin red;

border-right: thick #0000FF;

 

You have two styles for border-right and you haven't defined whether it is solid, dashed, etc.

 

I don't like using thin, medium or thick for borders as I find that different browsers give different thicknesses and if the total width is critical, some browsers will make the total width too much and cause disruption to the layout.

 

I prefer to use px

border-right: 3px solid #0000FF;

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...