Home » 2011 » July

Archive for July, 2011

CSS Centering

Author: Russ Weakley How do you center a containing block on a page using CSS? There are two main methods and the choice should be made based on whether your page layout is liquid (will move in and out depending on the size of the browser window) or fixed width. Centering liquid layouts Liquid layouts […]

CSS Centering – fixed layout

Use this simple css code to center page. The style has not been tested with all types and version of browsers, so if it does not work for you try some other suggested code on this website, simply searching for “centering.’ External style sheet Style.css @charset “utf-8”; /* CSS Document */ body {   padding-top: […]

Monthly Event Calendar – Query String Parameter

Description: ASP.NET Toolbox calendar control which use control parameter to query db records and display event(s) on calendar item selection change. This is suitable for displaying events on PostBack call on the same page. Elements: Events.mdb / or MS SQL Web.config Month-2.aspx Month-2.aspx.vb Dtgrid.css Method: Create table Events (Id [primary key – AutoNumber], Event [Text], […]