| Author |
Re: Scree resolution problem
|
|
| .: Nadia :. *TMM* 2005-09-14, 4:14 am |
| The easiest way is to select the table and in the Property Inspector, set
the Align to center...
the code for your table would be:
<table width="734" height="343" border="0" align="center" cellpadding="0"
cellspacing="0">
Do the same for your header table.
--
Nadia
Team MM Volunteer for Dreamweaver
--------------------------------------------
Templates|CSS Templates| http://www.csstemplates.com.au
Dropdown Menu Designs | SEO Articles |Tutorials
http://www.DreamweaverResources.com
---------------------------------------------
Search this forum:
http://tinyurl.com/2rfa2
---------------------------------------------
"dave4500" <webforumsuser@macromedia.com> wrote in message
news:dg7vl7$4ki$1@forums.macromedia.com...
> Can anybody tell me what I am doing wrong here. I want to center this page
> so
> it does not look so bad with a higher resolution. This is my first attempt
> at
> making a webpage and it does not look very good. Seems to want to stay at
> the
> left of the screen. If I have to redo the page that is ok.
> Any ideas would help in plain english terms please.
> Thanks
> The site is at http://www.ndhospice.com
>
| |
| Yves G 2005-09-14, 4:17 am |
| add the following code to your styles (in code view):
body {
margin-right: auto;
margin-left: auto;
width: 776px;
}
so it will become:
<style type="text/css">
a:link,a:visited{color:006666;font:11pt verdana}
a:active{color:cc9966;font:11pt verdana}
A:hover {color: cc9966;font:11pt verdana}
body {
margin-right: auto;
margin-left: auto;
width: 776px;
}
</style>
| |
|
| :)
The CSS method is a good one too (better in fact).
dave4500 wrote:
> Guess it was to easy for me to figure out...thanks Misha.
| |
|
| I'd style the tables individually actually.
<table id="header">
<table id="content">
#header { width: 776px; margin: 0 auto; }
#content { width: 776px; margin: 0 auto; }
FOr IE 5 you need to add:
body { text-align: center; }
#header ( text-align: left; }
#content { text-align: left; }
> body {
> margin-right: auto;
> margin-left: auto;
> width: 776px;
> }
> </style>
>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |