|
| |
|
|
mindbender
Posts: 3 Joined: 9/18/2003 Status: offline
|
Center Template or Theme in a browser - 2/20/2009 11:24:32
How do I get my template/theme to be in the center of a browser? Mine is all the way to the left and when I set the margin's it does not float according to the size of the browser screen. site: www.VeriTechLLC.com Thanks!
|
|
|
|
Larry M.
Posts: 3016 Joined: 2/20/2003 From: Greenville, South Carolina, USA Status: offline
|
RE: Center Template or Theme in a browser - 2/20/2009 12:06:48
Your existing Home Page code: <td width="100%"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="920" id="AutoNumber5" height="70" background="images/001_2.jpg"> <tr> Add: <div align="center"> before the <td width="100%"> statement (above) Add: <div> before the closing body tag Do this for every page on your site. Welcome to OutFront!
_____________________________
Larry M. "Money talks only when it's a large amount."
|
|
|
|
mindbender
Posts: 3 Joined: 9/18/2003 Status: offline
|
RE: Center Template or Theme in a browser - 2/20/2009 12:14:44
Thanks so much...that worked! Question, why add div? Just curious...
|
|
|
|
Larry M.
Posts: 3016 Joined: 2/20/2003 From: Greenville, South Carolina, USA Status: offline
|
RE: Center Template or Theme in a browser - 2/20/2009 12:33:03
quote:
why add div? Closing the div tag eliminates the possibility of cross-browser interpretation errors.
_____________________________
Larry M. "Money talks only when it's a large amount."
|
|
|
|
mindbender
Posts: 3 Joined: 9/18/2003 Status: offline
|
RE: Center Template or Theme in a browser - 2/20/2009 12:37:34
quote:
ORIGINAL: Larry M. quote:
why add div? Closing the div tag eliminates the possibility of cross-browser interpretation errors. Ok, thanks again!!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|