Quote:
Originally Posted by odamizu
That's my point exactly. You had written that after setting negative margins at the <html> level, "Nothing else need be done."
However, if the publisher has set margins at the <p> level, then you need to delete or adjust those margins, otherwise the negative margins at the <html> level won't work as desired.
Note: I'm not arguing against setting negative margins at the <html> level; in fact, I may start using <html> instead of <p>. I'm just saying it's not always as simple as inserting a couple lines of CSS to add negative margins to <html>.
|
Yes, you are correct. My statement was not 100% correct. Yes, you do need to check to left/right margins in <body>, whatever class is used with <p> and for any @page.
Quote:
Yes, I think that's correct. I shouldn't have used the word "override" as that's not accurate.
If you set negative margins of -45px for <html> and the publisher has margins of 5px for <p>, then I think you end up with with <p> margins of -40px. So if you want negative margins of -45px you need to delete or adjust the margin settings for <p>.
|
I would expect that to be the case just as you've described.