Tag Archives: CSS

HTML – Remove Dotted Line of Transparent Button

Not only the HTML link will have a dotted outline after being clicked, if you have a transparent input button, you will find the dotted outline too.

 

The following css could help you to remove it.

/*for FireFox*/
input[type="submit"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner {   
  border : 0px;
} 
/*for IE8 */
input[type="submit"]:focus, input[type="button"]:focus {     
  outline : none; 
}

Continue reading HTML – Remove Dotted Line of Transparent Button

Drupal – Create your own CSS style

Last time we have added a new font in the Drupal website using the @font-face module.
Drupal – Customize Fonts in Drupal

We can also apply this font-family in the .css file but first we have to add our own .css file and included it in the theme.

Go to your theme folder and create a new folder named as css if it doesn’t exist. Then create your .css file there. After that, go back to the theme folder and add the following line in the <theme>.info file. Continue reading Drupal – Create your own CSS style

Drupal – Customize Fonts in Drupal

If you find the fonts of your Drupal site quite boring. The @font-your-face module could make the text of your Drupal site more fun. Before proceeding, it would be great if your PHP is already enabled with the zip extension. but no worry if you doesn’t have the zip extension. We can still complete it without any problem.

Download and enable module with those free fonts. Continue reading Drupal – Customize Fonts in Drupal