Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-21-2012, 09:48 PM #1
- Join Date
- Jan 2012
- Thanked 0 Times in 0 Posts
Need to center text in each section
I'm using a site that is designed to have a horizontal scroll.
I need the contents of each section to be centered horizontally with JS so if the resolution changes, the text is centered too.
The site is www.big-band.com.ar
Any help is very appreciated.
Thanks a lot!!
01-22-2012, 07:38 AM #2
No, you need the sections to be centered using CSS.
Probably as simple as using something likeCode:
<div style="text-align: center;">An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.