freeform placement of elements in seaside...?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

freeform placement of elements in seaside...?

LawsonEnglish
  How do i place elements at arbitrary positions using Seaside?
in pier, I do:


{{{
<DIV style="position: absolute; font-family: arial; font-style: italic;
font-variant:small-caps;
      font-weight:bold; text-decoration:underline; letter-spacing: 2px;
top: 80px; width: 400px;
      left: 400px; height: 25px; background-color: yellow">80 from the
top and 400 from the left</DIV>
}}}


what is the equivalent using seaside syntax?


Thanks.

Lawson
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: freeform placement of elements in seaside...?

Bob Arning
You can always just use #style:

html div style: '
position: absolute; left: 20px; top: 40px;'; with: [...blah...blah...].

Cheers,
Bob

On 8/30/10 9:55 PM, Lawson English wrote:
 How do i place elements at arbitrary positions using Seaside?
in pier, I do:


{{{
<DIV style="position: absolute; font-family: arial; font-style: italic; font-variant:small-caps;
     font-weight:bold; text-decoration:underline; letter-spacing: 2px; top: 80px; width: 400px;
     left: 400px; height: 25px; background-color: yellow">80 from the top and 400 from the left</DIV>
}}}


what is the equivalent using seaside syntax?


Thanks.

Lawson
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: freeform placement of elements in seaside...?

LawsonEnglish
On 8/30/10 7:27 PM, Bob Arning wrote:
You can always just use #style:

html div style: '
position: absolute; left: 20px; top: 40px;'; with: [...blah...blah...].

Cheers,
Bob


For some reason, that wasn't working when I tried it. Typos I guess.


Lawson

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside