Skip to main content

Posts

Showing posts with the label css

Bootstrap 3.3 navbar-toggle style change

ISSUE: When you have  navbar  background color as 'white' , bootstrap navbar-toggle button will not be visible as its default style is 'transparancy' with white stripes. FIX: Try changing navbar-toggle as below in your custom stylesheet.   .navbar-toggle {       background-color: #cdcdcd  ; }   .navbar-toggle:hover,   .navbar-toggle:focus {   background-color: #f44d3c  ; border-color: #f44d3c  ; } If you try .navbar-default  .navbar-toggle {       background-color: #cdcdcd  ; } - will not work in bootstrap 3.3.

Hr (horizontal line) style in FireFox vs IE vs Chrome - Simplest Simple feature doesn't work same - Hope you can save some time.

ISSUE: I wasted few minutes figuring out World's simplest simple issue 'drawing a single line' with 1pixel width and a color in html that looks same in at least 3 browsers ( Firefox, IE, Chrome ) I just want to do a simple  code like, < hr style = " color : #ff6a00 ; " >  - Firefox: Shows the line with given color but with a border. (Thats good. 4 Stars for Firefox team) - IE: Shows line with default 'gray' with default width - Chrome: Shows line with default 'gray' with default width   (depending on the browser you are looking - the above line will show as mentioned above) < hr style = " color : #ff6a00 ; height : 1 px ; border : 0 ; width : 100 % ; " >   All 3 Browsers: No Show - No line Even if you try increasing border and height,  < hr style = " color : #ff6a00 ; height : 1 0px ; border : 3px; width : 100 % ; " > it will not show the line. FIX:  You have to use the backgro...

HTTP 1.1.302 / 302 Found ( Mostly for .css / js / images doesn't load)

In  IIS MMC  > Select site / Virtual Directory  > Select Features View  >  Select 'Authentication'  > Select top row 'Anonymous Authentication' >  In the right panel Select 'Edit'  > In the pop up window Select 'Application Pool Identity'   From  IIS 7 - ApplPoolIdentity (It is the default in IIS 8) is introduced  for the higher level of Application pool isolation in place of NetworkService. As more and more windows applications started to use NetworkService, AppPoolIdentity provides tighter security to your application pool from other application pool processes. http://technet.microsoft.com/library/hh831496.aspx#Anonymous