|
|
 |
Re: FN-FORUM: Css horizontal alignment
date posted 3rd September 2007 14:38
> margin: 0 auto;
Try
text-align:center;
margin:0 auto;
for compatability with IE. Get used to this. Most things that work on
standard browsers won't do the same thing on IE.
> I am just learning css, and am trying to use it on anything that I am
> designing from now on - I find it really offputting that you cannot
> preview
> css layouts within dreamweaver design panel - is their any way around this
I have no problems at all seeing styles in place with dreamweaver. It's
all down to how you have the folders set. When designing a site, I alwasy
create a subdomain on my webserver, then create a new site for each one in
dreamweaver rather than working on the parent root folder (eg set the
local to drive:path to my files/website root/currentsite
and remote site as /public_html/currentsite)
I also make use of the $_SERVER[DOCUMENT_ROOT]."/path/myfile.php" system
variable to make sure that I get to the right place. A definate must if
you're implimenting SEO
> I considered setting up two screens - one being a preview within the
> browser
> which I can refresh - how does everyone else work??
2 Screens is an absolute must for me. But I tend to have dreamweaver on
the right and phpMyAdmin on the left so I can see the db and the page at
the same time.
Aidan
|
 |
|