[nycphp-talk] OT?: HTML question
cliff
cliff at pinestream.com
Fri Oct 13 21:42:18 EDT 2006
I do the exact same thing with buttons. But I don't use divs. All you need is
some css that lets each form float the the right of the preceeding form. Just
make a class like formfloat and then assign that class to the appropriate buttons.
Cliff
On Fri, 13 Oct 2006 21:38:21 -0400, Jon Baer wrote
> Another possible solution to the whole thing is to just use a named
> variable inside of the submit itself + switch on that instead of
> using 3 form blocks:
>
> <form method="post" action="form.php">
> <input name="submit" value="back" type="submit" />
>
> <input name="submit" value="next" type="submit" />
>
> <input name="submit" value="home" type="submit" />
> </form>
>
> - Jon
>
> On Oct 13, 2006, at 8:27 PM, David Krings wrote:
>
> > At 07:51 PM 10/13/2006, you wrote:
> >> I believe that this article gives you the divs layout setup and
> >> the CSS
> >> styles in a basic form exactly as you might need:
> >> http://alistapart.com/articles/holygrail
> >
> > Thanks! I will take a look at it.
> >
> >> And then use CSS to absolutely position all three. And set each
> >> width to say
> >> 120px.
> >> And set the left and tops as 0,0 and 120,0 and 240,0.
> >
> > Yea, that is what I don't see as "user friendly" when it comes to
> > div. I
> > have no idea where on the page these forms may end up, so I can't
> > specifiy
> > pixels or such. Maybe that article reveals more, but I really just
> > want it
> > to attach itself to what there is above on the same page. I want to
> > position the buttons relative to each other, not relative to the
> > page itself.
> >
> > I did look briefly at divs some time ago and found it to be useful
> > when one
> > wants to have centered and right justified text on the same row.
> > Can't do
> > that any other way.
> >
> > Maybe it is just one of these things where I need to push myself
> > over the
> > cliff. I did that with CSS and it is less scary now, but still IMHO
> > more
> > work than inline formatting.
> >
> >
> > David K.
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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
--
Pinestream Communications, Inc.
Publisher of Semiconductor Times & Telecom Trends
52 Pine Street, Weston, MA 02493 USA
Tel: 781.647.8800, Fax: 781.647.8825, www.pinestream.com
More information about the talk
mailing list