css class
##############
.about-copyright2{
border-top:#6a6a6a 1px solid;
width:72%;
text-align:center;
font-size:x-small;
position:absolute;
bottom:-50px;
left:11%;
}
###########
The view using this class
################
<div class="user-main">
<%=yield-%>
</div>
<div class="about-copyright2">
<cite
class="author-margin">gyg22-KN7UnAbNpbg@public.gmane.org</cite>
©2008
</div>
##########
The tag <div class="user-main"> has dynamic content,so when the
content in this tag changes,i want the tag <div class="about-
copyright2"> to be left at the bottom of the dynamic content.The css
class giving above is unable to realize the position requirement,how
do i manage?
Thank you !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
On Dec 19, 12:48 pm, daociyiyou <chey...-/E1597aS9LRv1O+Z8WTAqQ@public.gmane.org> wrote:> css class > ############## > .about-copyright2{ > border-top:#6a6a6a 1px solid; > width:72%; > text-align:center; > font-size:x-small; > position:absolute; > bottom:-50px; > left:11%;} > > ########### > The view using this class > ################ > <div class="user-main"> > <%=yield-%> > </div> > <div class="about-copyright2"> > <cite class="author-margin">gy...-KN7UnAbNpbg@public.gmane.org</cite> > ©2008 > </div> > ########## > > The tag <div class="user-main"> has dynamic content,so when the > content in this tag changes,i want the tag <div class="about- > copyright2"> to be left at the bottom of the dynamic content.The css > class giving above is unable to realize the position requirement,how > do i manage? > Thank you !anyone help me? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
please help me ,thank you On Dec 19, 2:07 pm, daociyiyou <chey...-/E1597aS9LRv1O+Z8WTAqQ@public.gmane.org> wrote:> On Dec 19, 12:48 pm, daociyiyou <chey...-/E1597aS9LRv1O+Z8WTAqQ@public.gmane.org> wrote: > > > > > css class > > ############## > > .about-copyright2{ > > border-top:#6a6a6a 1px solid; > > width:72%; > > text-align:center; > > font-size:x-small; > > position:absolute; > > bottom:-50px; > > left:11%;} > > > ########### > > The view using this class > > ################ > > <div class="user-main"> > > <%=yield-%> > > </div> > > <div class="about-copyright2"> > > <cite class="author-margin">gy...-KN7UnAbNpbg@public.gmane.org</cite> > > ©2008 > > </div> > > ########## > > > The tag <div class="user-main"> has dynamic content,so when the > > content in this tag changes,i want the tag <div class="about- > > copyright2"> to be left at the bottom of the dynamic content.The css > > class giving above is unable to realize the position requirement,how > > do i manage? > > Thank you ! > > anyone help me?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m afraid you are in the wrong group for your question... I''d try something geared toward CSS more than Ruby on Rails since your problem is really about CSS... Jean-Marc http://m2i3.com On Dec 19, 3:35 am, daociyiyou <chey...-/E1597aS9LRv1O+Z8WTAqQ@public.gmane.org> wrote:> please help me ,thank you > > On Dec 19, 2:07 pm, daociyiyou <chey...-/E1597aS9LRv1O+Z8WTAqQ@public.gmane.org> wrote: > > > On Dec 19, 12:48 pm, daociyiyou <chey...-/E1597aS9LRv1O+Z8WTAqQ@public.gmane.org> wrote: > > > > css class > > > ############## > > > .about-copyright2{ > > > border-top:#6a6a6a 1px solid; > > > width:72%; > > > text-align:center; > > > font-size:x-small; > > > position:absolute; > > > bottom:-50px; > > > left:11%;} > > > > ########### > > > The view using this class > > > ################ > > > <div class="user-main"> > > > <%=yield-%> > > > </div> > > > <div class="about-copyright2"> > > > <cite class="author-margin">gy...-KN7UnAbNpbg@public.gmane.org</cite> > > > ©2008 > > > </div> > > > ########## > > > > The tag <div class="user-main"> has dynamic content,so when the > > > content in this tag changes,i want the tag <div class="about- > > > copyright2"> to be left at the bottom of the dynamic content.The css > > > class giving above is unable to realize the position requirement,how > > > do i manage? > > > Thank you ! > > > anyone help me?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---