Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Centering entire template 1

Status
Not open for further replies.

CMcC

Programmer
Feb 5, 2002
196
US
Hi all. I have created a template page, but it sits to the left and I would like it to appeared centered on the browser. Any simple way to do this?
Did a search on Google but got 'Dreamweaver Center' 'Help Center' - nothing that actually helped me. All help is appreciated.
Thanks
Cmcc
 
Try some of these:

thread248-1371942

thread248-1362317

thread248-1319724

thread248-1277861

thread248-1241047

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Hi Vacunita-Thanks! Went to a link there and found that I could use <div align = 'center'> just after the body tag HOWEVER - that seems to center all text as well with in my editable region. How do I center the wrapper but not the text too? Thanks for your help.
 
I'm sure one of those links says this but:


Code:
#wrapperdiv{
width:xxxpx;  [green]\\a width that accommodates your webpage[/green]
margin-left:auto;
margin-right:auto;
}
in you webpage:

<div id=wrapper>
[green]\\rest of webpage goes here.[/green]
</div>



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thank you so much - I figured it would be to the scope of the div tags...much appreciation.
Cmcc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top