#buttons{ float:right; position:relative; left:-50%; text-align:left; } #buttons ul{ list-style:none; position:relative; left:50%; } #buttons li{float:left;position:relative;}/* ie needs position:relative here*/ #buttons a{ text-decoration:none; margin:10px; background:red; float:left; border:2px outset blue; color:#fff; padding:2px 5px; text-align:center; white-space:nowrap; } #buttons a:hover{ border:2px inset blue;color:red;background:#f2f2f2;} #content{overflow:hidden}/* hide horizontal scrollbar*/ thanks http://www.pmob.co.uk/pob/centred-float.htm
Category Archives: Programming
Meta tag Reset Options
<meta http-equiv=’Content-Type’ content=’text/html; charset=utf-8′ /> <meta http-equiv=’Content-Language’ content=’##’ /> <title>#####</title> <meta name=’GENERATOR’ content=’#####’ /> <meta name=’PageHandler’ content=’######’ /> <meta name=’DESCRIPTION’ content=’######’ /> <meta name=’KEYWORDS’ content=’######’ /> <base href=’########’ /> <meta http-equiv=”Content-Language” content=”##” /> <meta http-equiv=”Content-Style-Type” content=”text/css” /> <meta http-equiv=”Content-Script-Type” content=”text/javascript” /> <meta http-equiv=”Expires” content=”Now” /> <meta http-equiv=”X-UA-Compatible” content=”IE=7″ /> <meta name=”Language” content=”##” /> <meta name=”Email” …
ajax jquery jCarousel
jCarousel Riding carousels with jQuery Author: Jan Sorgalla Version: 0.2.4 (Changelog) Download: jcarousel.tar.gz or jcarousel.zip Licence: Dual licensed under the MIT and GPL licenses. http://sorgalla.com/projects/jcarousel/#Examples
jQuery Plugins and Demos
jQuery Plugins and Demos Plugins BlockUI Plugin (Updated 29-MAR-2010) Simulate synchronous ajax by blocking – not locking – the UI. Corner plugin (Updated 11-MAR-2010) Rounded corners without images. Plus lots of other corner adornments. Cycle Plugin (Updated 05-APR-2010) Image or text slideshows with numerous transition options. Feeds Plugin (Updated 11-MAY-2007) A jQuery wrapper for the …
CSS: Align two DIVs on opposite sides on a single line
I want to place two different segments of text on top a table. Both segments must be aligned at opposite borders (i.e. left align and right align). I don’t want them to be aligned with any column inside the table but just with the overall width of the table.
Control Flash from Javascript
Receiving data from a Flash movie: – Enter some text in the Flash movie’s Data field, then press Receive Data. The data from the Flash movie is then transferred to the html form.