Re: Placing textfields on image: how? [Thanks]
Jean Pierre Malrieu <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
I wanted to thank all the persons who replied and put me on the right track (Markus, Jerry, Paul). Sorry for bothering the list with what was a html/css question rather than a WO question. JPM Le 10 avr. 06 à 14:09, Markus Ruggiero a écrit : > > On 10.04.2006, at 08:10, Jean Pierre Malrieu wrote: > >> >>> >>> Guess 2: you want to create text fields "above" an image - that's >>> a css problem, see layers. >> >> This is my problem, but I want those textfields to be dynamically >> positionned. I mean that there can be an arbitrary number of them, >> and they can be placed at whatever position depending on the info >> I will passing to the component. >> > I guess you have some way to figure out where each field is > supposed to go. Now you "just" write a partial component and put a > <div> as its outermost content. Put the image as the background- > image of this div. Create a repetition that contains one field. Add > a style-Tag to the the field and populate its content via the > components java code. Use the above mentioned logic to calculate > top/bottom/left/right/whatever positions. So the trick is to create > the necessary CSS style to position the fields at runtime. Using a > repetition gives you "an arbitrary number" of fields. > > Does this help? > > have a nice day > ---markus--- > >> >> Thanks for trying to guess what my question meant... >> >> JPM >> >> _______________________________________________ >> WebObjects-dev mailing list >> [email protected] >> http://www.omnigroup.com/mailman/listinfo/webobjects-dev >> > > Markus Ruggiero > rucotec consulting and technologies email > mailto:[email protected] > rucotec GmbH web http://www.rucotec.ch > Steinentorstrasse 8 > 4051 Basel Mobile +41 (0)79 508 4701 > Switzerland Phone/Fax +41 (0)61 271 4990 > > _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev