Alignment tricks in CD2
After reading the mails here since the v2 beta release one could almost get the impression that we were all better of with CD1 despite all it's bugs. That can't be the truth ... can it?
Just for clarification - are you saying that CityDesk 1.0 did not do this?
It seems that I was a little hasty in my first answer to your question about CD1/CD2 changing "center" to "middle". Having checked further it looks more like an arbitrary effect in CD1. Sometimes it's align="center" sometimes it's align=middle (with the quotes removed). I can't find a pattern but having checked many uploaded files from CD1 I have found a little of each with no clear pattern as far as I can see.
I can confirm (beacuse I'm validating to a DTD :-) that this behaviour does occur. I've had up to (say) 40 occurences a page to correct (on price lists).
I'm a proponent of using html for structure and css for style. I know there are lots of people who are used to doing both in html.
The only problem with CSS is that there is still problems with CSS when it comes to more than bacis formatting. This will be solved eventually, but until then tables etc. are often the best way to ensure that your layout is shown (almost) as you want it.
Fog Creek Home