background preloader

Ten more CSS tricks you may not know

Ten more CSS tricks you may not know
Our article, Ten CSS tricks you may not know has proven to be such a success that we decided it was time to offer you ten more CSS tricks that you may not know. 1. Block vs. inline level elements Nearly all HTML elements are either block or inline elements. Always begin on a new line Height, line-height and top and bottom margins can be manipulated Width defaults to 100% of their containing element, unless a width is specified Examples of block elements include <div>, <p>, <h1>, <form>, <ul> and <li>. Begin on the same line Height, line-height and top and bottom margins can't be changed Width is as long as the text/image and can't be manipulated Examples of inline elements include <span>, <a>, <label>, <input>, <img>, <strong> and <em>. To change an element's status you can use display: inline or display: block. 2. padding: 2em; border: 1em solid green; width: 20em; width/**/:/**/ 14em; The first width command is read by all browsers; the second by all browsers except IE5.x on PC. 3. 4. 5.

SpecTcl Home Page Visual Tcl Sawpit - Home of tkBuilder Pyui Home Page wxGlade: a GUI builder for wxWidgets/wxPython Description wxGlade is a GUI designer written in Python with the popular GUI toolkit wxPython, that helps you create wxWidgets/wxPython user interfaces. At the moment it can generate Python, C++, Perl, Lisp and XRC (wxWidgets' XML resources) code. As you can guess by the name, its model is Glade, the famous GTK+/GNOME GUI builder, with which wxGlade shares the philosophy and the look & feel (but not a line of code). It is not (and will never be) a full featured IDE, but simply a "designer": the generated code does nothing apart from displaying the created widgets. News wxGlade 0.8.0a7 uploaded. Amongst some bug fixes, the main feature is the restructured and extended documentation. wxGlade 0.8.0a3 ... a6 uploaded. During the last days several updates of the 0.8.0 alpha version were uploaded. wxGlade 0.8.0a2 uploaded. This is an alpha release. General changes: wxGlade repository has moved to another location inside Bitbucket wxGlade 0.7.2 released. The release is a bug-fix-only release. License

Choose Your GUI Toolkit Find Your GUI Toolkit for Pythonbased on your preferences PyGUI, Tkinter, Easygui, wxPython, PythonCard, pyQt, pyGtk, Jython (Swing & AWT), Anygui, FXPy, pyFLTK; which one is for you? All of these toolkits are good. Tune back in as we explore them further. Meanwhile, here is a brief summary of some of the many options available: This is a non-exhaustive list and new options are sprouting up all the time. PyGUI: a GUI API that is designed specifically for Python, taking advantage of Python's unique language features and working smoothly with Python's data types. Tkinter: This default gui toolkit is installed when you install Python. Easygui: Easygui is the easiest gui-creator known to man. wxPython: wxPython is the "up and comer", the current challenger to Tkinter's throne. wxPython is a heavy-weight contender, with a great range of widgets that some find superior to Tkinter's. PythonCard: My sentimental favorite, PythonCard is relatively new, but it is developing very quickly.

wxJS 0.61 ICONS: Home Page ANNOUNCE (1st July 2013) ICONS 2.0 Released: Adds support for libraries containing PNG image data.Adds support for directories/folders containing GIF/PNG image files. Enhanced viewIcons: Interface now uses ttk widgets.Adds support to display images from directories/folders containing GIF/PNG image files. ICONS is a package intended to provide a cross platform icon/image support for GRIDPLUS, but can also be used as a stand-alone package for Tcl/Tk programmers. The source for the icon images can be either libraries (See below) -or- folders contaning GIF/PNG image files. A utility for displaying the contents of the libraries -or- folders of image files (viewIcons) is included with the package. Libraries containing five different icon themes are currently available (See Libraries). A "sample" library containg icons available from the creator/maintainer. A very big thank-you to all of the following... ICONS Download File Contents: To Install the ICONS Package: Copyright © 2013 Adrian Davis.