Skip to main content

Home/ Web Development, Design & Programming/ Group items tagged containers

Rss Feed Group items tagged

Soul Book

CSS techniques I use all the time - 0 views

  • EM calculations Sizing text is always an important part of making a usable design. I start all my CSS files with the following rules: html { font-size:100.01%; } body { font-size:1em; } The explanation for this comes from "CSS: Getting Into Good Coding Habits:" This odd 100.01% value for the font size compensates for several browser bugs. First, setting a default body font size in percent (instead of em) eliminates an IE/Win problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. Safari, on the other hand, has a problem with a font-size of 101%. The current "best" suggestion is to use the 100.01% value for this property.
  • I used the following calculation: 14px/16px = .875, 18px/16px = 1.125. So my default text at 1 em would translate to 16px for most users, and my small text I sized at .875em which I can trust to result in 14px for most users, while my large text I sized at 1.125em which I can trust to result in 18px
  • Safe Fluid-width Columns I work with hybrid fluid layouts all the time, usually with max-width set at anywhere from 900 to 1000px. I usually have floated columns with percentage widths, and browsers will calculate these percentage widths to whole pixel values when rendering the columns.
  • ...3 more annotations...
  • A typical problem is the following: when a user has the viewport at a size that makes the outer container 999 pixels wide, if the first column is 60% and the second is 40%, IE 6 will always calculate the two columns as 600 and 400 pixels and as a result, the two will not fit (600+400 = 1 more than 999) and it will drop the second column. This is obviously not intended behavior, and in a world where we still have to use floats for columns (I can't wait for display:table support across all browsers), it's important to work around this problem. I used to give my last column 1 less percent (in this example, it would have 39% instead of 40%, but this would usually result in columns that don't quite fill up the container. Of late I have been giving the last column .4 less percent (in this example, 39.6%), which seems to work perfectly. Browsers will calculate this width and round up, but it will still fit even with an odd container width like 999px and I won't have to worry about dropped columns.
  • Filtering for Old Browsers To be honest, I barely support IE 6 nowadays. If there is something special about my layout that doesn't work in IE 6, I will simply filter it out of the CSS that IE 6 understands
  • Because old browsers like IE 6 don't support the "first child" selector (right caret >), I can do the following to make sure that IE 6 only gets the basic setting and all the new-fangled browsers get the right result: div#container { width:900px; } html>body div#container { width:auto; max-width:900px; } /* This overrides the previous declaration in new browsers only, IE 6 simply ignores it. */
  •  
    Excellent simple collection of CSS tips that are easy to remember and implement. It's an old article, but i think everything is still relevant
awqi zar

Google App Engine Java Links - 3 views

  •  
    This page contains a cookbook for building a complete environment from scratch that contains the latest Java Developers Kit, Eclipse IDE, Google App Engine (GAE) plugin, GAE SDK, and a real working Java application running locally and on a production Google App Engine server at appspot.com.
Luciano Ferrer

stickyMojo - Contained Fixed Positioned Sticky Sidebar jQuery Plugin | jQuery Plugins - 1 views

  •  
    "stickyMojo is a contained sticky sidebar plugin for jQuery. It is lightweight, fast, flexible and compatible with Firefox, Chrome, Safari, and IE8+. It will degrade gracefully in older versions of IE."
Ashley Wilson

How Can Kubernetes Help In Your Business? - 0 views

  •  
    Containers are a great way to modernise your applications while improving and enhancing your IT infrastructure. The increasing usage of Kubernetes in DevOps teams means that businesses will have a low learning curve when starting with the container orchestration platform. However, the benefits don't end at that point. This is a review of the reasons why businesses are opting for Kubernetes DevOps tools for all sorts of applications.
Vernon Fowler

Web Designer Notebook » How to use Modernizr - 1 views

  • Modernizr doesn’t actually magically enable these properties for browsers that don’t support them. It just tells the page whether that feature is supported on the browser the visitor is using or not.
  • To install Modernizr, download the file from this page. Then, on your site’s head tag, add a link to the file. For example: ?1<script src="js/modernizr-1.0.min.js"></script> The second step is to include on your html tag a class of “no-js”: ?1<html class="no-js"> Why add this tag? Because that will be the default state of the page. If JavaScript (js) isn’t on, then Modernizr won’t work at all (and probably other features of your site won’t work either…), so it’s good that we have a fallback for that case. If JavaScript is indeed enabled, once that page is loaded on the browser, that class will be replaced dynamically and it may look something like this: ?1<html class="js canvas canvastext geolocation rgba hsla no-multiplebgs borderimage borderradius boxshadow opacity no-cssanimations csscolumns no-cssgradients no-cssreflections csstransforms no-csstransforms3d no-csstransitions  video audio cufon-active fontface cufon-ready">
  •  
    "There is a tool that came to make our lives as progressive web designers a bit easier: Modernizr. In this short tutorial, learn how to apply this handy script to maximum effect on your sites."
sobia khan

How To Create Sticky Navigation Bar - 0 views

  •  
    You may have noticed the menu bar which sticks to the top of the webpage or move along the page while you scroll down. Making a sticky header or any container which is already on the top of the page is not a big deal. All you need to do is apply fixed position to that container, it will become sticky and always remains on top, but situation becomes tricky if navigation bar is below header and you want to make it sticky after placing it on the top after when user scrolls down the page and header disappears. The Image below will help you to understand the task.
Riya Patle

Beautiful Bridal New Dresses Collection. - 0 views

  •  
    Today i want to explain you about the most famous Beautiful Bridal New Dresses Collection.The wonderful new collection of Bridal dresses 2015 collection introduced in many fashion shows by the best and leading fashion designers of our country. The young girls take much interest in different types of gowns for wedding so this collection also contains beautiful gowns.
vijayzxc

Education WordPress Theme for Schools, Universities & High-Schools - Thewordpressinfo - 0 views

  •  
    Education oftentimes hold place beneath the steerage of teacher, however learners may educate themselves. Education might occur in formal or informal settings & any expertise that contains a formative result on the method one thinks, feels, or acts is thought of academic. The methodology of teaching is termed pedagogy.
Arch Aznable

Redis - Open Source Advanced key-value Store (NoSQL) | Blogfreakz - Web Design and Web ... - 0 views

  •  
    Redis is an open source, advanced key-value store. This is often referred to as server data structure because the key can contain strings, hashes, lists, sets and set sorted
Luciano Ferrer

Stupid htaccess Tricks * Perishable Press - 1 views

  •  
    "Stop Hotlinking, Serve Alternate Content To serve 'em some unexpected alternate content when hotlinking is detected, employ the following code, which will protect all files of the types included in the last line (add more types as needed). Remember to replace the dummy path names with real ones. Also, the name of the nasty image being served in this case is "eatme.jpe", as indicated in the line containing the RewriteRule. Please advise that this method will also block services such as FeedBurner from accessing your images."
Arch Aznable

Displaying Tweets With MooTools Widget | Blogfreakz - Web Design and Web Development re... - 0 views

  •  
    If you're looking for a way to be able to display tweets in your website using a MooTools-built widget, then today's your lucky day. Today we are highlighting 'Tweet Display', a nifty widget developed by Thomas Kunambi that allows you to embed tweets in a designated container by pulling the information from a specified Twitter user via the Twitter API.
Arch Aznable

Guidelines In Creating An Effective Brochure | Blogfreakz - Web Design and Web Developm... - 0 views

  •  
    Brochures are designed to perform two main functions: the first is to attract the attention of new customers, and the second is to provide more extensive information to an interested market. The first type of brochure usually has a louder design and speaks of the product or service in broad strokes. The second type contains more detailed content, and can do away with flashy effects.
Luciano Ferrer

Pool of oblivion: Rename multiple tables in MySQL database - 0 views

  •  
    "This PHP script automates the renaming of multiple tables in a MySQL database. It lists all tables in a MySQL database, which contain a defined string pattern. The script creates and executes a series of SQL statements, which rename the table by replacing the search pattern in the original table name with another pattern in the new table name. "
Luciano Ferrer

jqEasy - jQuery Slide Panel Plugin - 0 views

  •  
    "The jQuery slidePanel Plugin lets you easily open slide panels from the left or right which contain either the default content or content loaded using Ajax. Other options include position, opacity, speed, and click outside to close. Inspired by a post on spyrestudios."
Vernon Fowler

Tracking Google Analytics Events with Google Tag Manager - YouMoz - Moz - 0 views

  •  
    "Google Tag Manager (GTM) is a great tool that can really streamline the implementation of your favorite web analytics tool. Basically, you put a container tag on your site by editing your template and then you should be able manage the configuration and the data collection process of your web analytics tool without touching your template again. You should be able to do it, but the truth is you are not because of the dreadful lack of documentation about this tool."
mahesh 1234

Android Tutorial - Javatpoint - 0 views

  •  
    Android Tutorial. Android is a software package containing linux based operating system for mobile devices such as tablet computers, smartphones etc, middleware and key mobile applicaitons.
mahesh 1234

JSP Tutorial, JavaServer Pages Technology (JSP) - javatpoint - 0 views

  •  
    JSP Tutorial - Javatpoint website provides you a complete JSP tutorial with practical programming examples and easy steps using this beginner's tutorial containing basic to advanced knowledge of Java JSP Technology including Form Data, HTTP Request Header, Response Header, Scripting elements, Directive elements, Custom tags, Cookies Handling and Session Tracking.
Luciano Ferrer

gilbitron/Fitimg · GitHub - 0 views

  •  
    "Fitimg is a jQuery plugin to make images "fit" to their containers"
1 - 20 of 93 Next › Last »
Showing 20 items per page