Using negative margins OK to achieve block position?
ChancyRat
Registered Users Posts: 2,141 Major grins
Is it okay to do this - meaning no negative impact on page load time, or anything else I can't imagine?
Sometimes I put negative margins on several blocks on a page.
In the current text block example I have a -110 top margin, and gave it a 300 px container size. (Not sure the latter was required.)
I don't know any other workaround to position blocks of various uneven sizes. Thanks.
Sometimes I put negative margins on several blocks on a page.
In the current text block example I have a -110 top margin, and gave it a 300 px container size. (Not sure the latter was required.)
I don't know any other workaround to position blocks of various uneven sizes. Thanks.
0
Comments
.sm-page-widget-xxxxxxxxx {
position:relative;
top: -110px;
}
My Website index | My Blog
Thanks, Allen. In my groping to understand, you are saying... Okay what are you saying? lol. To throw out use of photo blocks and use html, so that this CSS can be used?
My Website index | My Blog
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations