|
|
 |
Re: FN-FORUM: Css horizontal alignment
date posted 3rd September 2007 14:30
On 3 Sep 2007, at 14:54, John Deaville wrote:
>
> Can anyone tell me if this aligns centrally horizontally
url?
>
> I am working on a mac - and on my mac - it does in camino and
> safari, but I
> looked on my pc laptop and it does not - in internet explorer - but
> it does
> in firefox
>
> Is this because I have not got the latest version of IE - can
> anyone check
> using the latest version please
>
> I used this CSS statement:
>
> margin: 0 auto;
will center an element with a defined width where its parent has a
wider width.
(Older IE's need text-align: center on body with text-align: left on
a container div.)
>
> 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
DW's renderer makes a poor attempt of CSS and will confuse you.
get a copy of TextMate or Coda - they have good project management
and if you're just using DW in code view you'll not miss much... get
stuck into the code - you know it makes sense!
;)
>
> I considered setting up two screens - one being a preview within
> the browser
> which I can refresh - how does everyone else work??
I used to have three screens, Now I just have one (30" Dell at
2560x1600)
and I also use:
http://virtuedesktops.info/
hth
|
 |
|