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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Centralise Pages In Browser

Status
Not open for further replies.

ITSSM

IS-IT--Management
Feb 6, 2008
23
GB
Hi
I have a Dreamweaver template that fits a 1024x768 screen exactly.

However, on larger resolutions the pages are to the left and there is a big gap to the right.

On larger screen resolutions I'd like the pages/template to centralise (rather than be over to the left) so there is a gap either side but its even.

Can anyone advise on how I can do this please?
 
Easy way is to put it all in a sized div and set the div's margins to auto.

Also see and
___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Thanks for that Jon

This doesnt souynd too diffcult but I'm not sure if I have to put the div tags around just the paqes or if I have to do it on the template, or both.
 
Just inside the <body></body> tags should do it, but depends on just what you're doing and what odd stuff DW adds. I suggest you read through the references that I gave above for a fuller explanation.

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Is your template a table? If so, can't have the table center ... in properties?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top