Bruce wrote:
I have used negative margins at various times, but I have a question I would like to throw out there. I work a lot reconfiguring Movable Type, and there can be a series of articles down a page. On my main page, I have a border around each one, but the positioning I used to have content first in the template after the heading meant that I had to set a top margin of 100px.
Problem was, that carried through all the posts making them 100px apart...as the template rewrites each article from the same code, and is way too much space. I set the bottom margin to -80px to remove the space. Looks good in Firefox and Internet explorer6, and I am sure it is fine. It is just that setting margins to -80 seems kinda hacking CSS...maybe not in a good way? What do you think? Site is xhtml1.0 Transitional
Bruce Prochnau, www.bkdesign.ca
I wouldn't call it hacking, however I try to avoid negative margins as much as possible. That said, do make use of the possibility because sometimes they can do great things in the way of effects that are otherwise difficult and/or messy to achieve. It can even negate the use of hacks in some situations.
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
