• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Aligning a template

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi , I am trying to align a template with the next code I want set a value for head(top) another for content(middle) and for footer(bottom)

The code is:

<div id="page">

<div id="header" class="cell" style="vertical-align:bottom" align="bottom">
<ui:insert name="header" >

<ui:include src="/template/#{Content.templateHeaderBBDD}.xhtml" />
</ui:insert>
</div>

<div id="content">
<ui:insert name="content" >
<ui:include src="/template/#{Content.templateContentBBDD}.xhtml" />
</ui:insert>
</div>

<div id="footer">
<ui:insert name="footer" >
<ui:include src="/template/#{Content.templateFooterBBDD}.xhtml" />
</ui:insert>
</div>



</div>



I call the <div id="header" class="cell", this is in the css and contains .cell {vertical-align:bottom;}

I have tried a lots of times, but doesn´t works.
¿Any idea?

Regards

>
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's not HTML. Are you using some server-side templating markup?
 
Dura Hurtado
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply.

I never have work with server-side templating markup.

No just I am trying with CSS.

Thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic