i dont know about Javascript and the like, but CSS float:right property DOES work in IE6+ FF/Everything Else that was build after 2005
you may be doing something wrong there. Just my 2 cents On Fri, Oct 3, 2008 at 5:17 PM, Aaron Gray <[EMAIL PROTECTED]>wrote: > Hi, > > I am doing HTML generation via DOM via my own JavaScript library and have > found that 'float: right' does not work on IE, FF, or Opera, but does on > WebKit, ie Safari and Google's Chrome. > > So I need a substitute. > > What I have is two <input> buttons in a DIV that I want to go over to the > right hand edge of the page. Thus :- > > http://www.aarongray.org/Examples/CSS/float2.html > > <div width="100%" height="50%"> > <div style="position:relative; float: right;"> > <input type="button" name="Save" value="Save" size="2"></input> > <input type="button" name="Cancle" value="Cancle" size="2"></input> > </div> > </div> > > So is there a way to do this without using 'float: right' ? > > Many thanks in advance, > > Aaron > > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > -- -- ------------------- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/