EnlighterJS CSS: Syntax Highlighter Basic Examples of CSS Language in all available themes at the time of making this post. Language: CSS, Theme: Classic /* buttons used in codegroups + toolbar */ .enlighter-btn{ display: inline-block; margin: 0px 5px 0px 5px;…
Tag: css
Introduction To Flexbox
Flexbox is a new and revolutionary way to manage blocks. Conventionally, blocks are managed via defining display: block for vertical blocks and display: inline or display: inline-block for horizontally placing blocks. By block, we mean by element here. Flexbox provides…
Center aligning a table within DIV element
Define the CSS style in css file or header of the HTML page:
Setting Style/CSS of select options using jQuery
This is how i set style (color here) of all of the options of a select list using jQuery. In my case i had select options like this: <select id=”select_list_id”> <option value=”#595959″>Grey</option> <option value=”#000000″>Black</option> <option value=”#036″>Blue</option> <option value=”#363″>Green</option> <option value=”#632423″>Red</option>…
When Firebug made life easier
It’s been around three years now i have been using the Firebug. This great tool provides a web developer an easy way to look at and inspect the source code of a web page. You can view and experiment with…
CSS and rounded corner example
This is the very first CSS rounded corner technique i learned and used. If someone interested can use it without any doubt. Although, it may look like having too many ‘div’ layers in it, it is a good one, not…