creataweb Some Guy with Awesome Senior High School PhotoTop Member VIP ★ 20 ★ Impact 7,505 Jul 18, 2007 492 views 3 replies #1 I have trouble centering this countdown clock. I think I am rusty, haven't been working with this stuff for a bit. Anyways, can someone go to this page and remind me how to center the countdown clock? //////Fixed for now......//////// Thanks. Last edited: Jul 23, 2007
I have trouble centering this countdown clock. I think I am rusty, haven't been working with this stuff for a bit. Anyways, can someone go to this page and remind me how to center the countdown clock? //////Fixed for now......//////// Thanks.
Eric VIP Member VIP ★ 20 ★ Impact 328 Jul 18, 2007 #2 Add the following to your CSS, within the lcdstyle class: Code: text-align: center; Or... Change Code: <div id="countdowncontainer2"></div> To Code: <div id="countdowncontainer2" align="center"></div> Either of those should work.
Add the following to your CSS, within the lcdstyle class: Code: text-align: center; Or... Change Code: <div id="countdowncontainer2"></div> To Code: <div id="countdowncontainer2" align="center"></div> Either of those should work.
creataweb Some Guy with Awesome Senior High School PhotoTop Member VIP ★ 20 ★ Impact 7,505 Jul 18, 2007 #3 alright I will try that out. Thanks for the info!
M moinuddin102 Established Member ★ 15 ★ Impact 11 Jul 18, 2007 #4 in css: body { margin: 0px; padding: 0px; text-align: center; } #container { margin: 0 auto; width: 900px; text-align: left; } Click to expand... in html page: <div id="container">There will be something.</div> Click to expand... for more: http://www.maxdesign.com.au/presentation/center/
in css: body { margin: 0px; padding: 0px; text-align: center; } #container { margin: 0 auto; width: 900px; text-align: left; } Click to expand... in html page: <div id="container">There will be something.</div> Click to expand... for more: http://www.maxdesign.com.au/presentation/center/