NYCPHP Meetup

NYPHP.org

[nycphp-talk] [OT] Yet another CSS Question

Kenneth Downs ken at secdat.com
Fri Mar 2 17:55:05 EST 2007


Dell Sala wrote:
> On Mar 2, 2007, at 3:57 PM, Kenneth Downs wrote:
>
>> I'd like to have two links on a page.   They should be on the same 
>> line together, one flush left, the other flush right.  The TABLE 
>> method is just to have two cells, but of course we don't want to do 
>> that.
>
>
> You could use float:
>
> <div style="text-align:right;">
> <a href="#" style="float:left;">Link Left</a>
> <a href="#">Link Right</a>
> </div>


Note to self: buy Dell a drink after next NYPHP meeting.

>
> I'm sure there are lots of other ways too.
>
> -- Dell
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php


-- 
Kenneth Downs
Secure Data Software, Inc.
www.secdat.com / www.andromeda-project.org
Office: 631-689-7200   Cell: 631-379-0010

::Think you may have a problem with programming? Ask yourself this 
::question: do you worry about how to throw away a garbage can?




More information about the talk mailing list