"...Whether they do or not, targeting civilians remains unlawful under intl law..."
Oh, the Palestinians do, indeed, position their rocket-launchers and bases and leadership inside civilian population centers, and we both know it. Consequently, it is both convenient and truthful for the Israelis to say that they do not target civilian population centers.
"...My opinion is they are not doing this. Gaza is a densely populated area..."
And much of the rest of the world perceives otherwise.
"...I have read it is one of the most densely populated areas in the world. I doubt it would be possible to find a place for Palestinians to defend themselves from Israeli attacks that is not a civilian area..."
That is a problem for Palestinians to solve, if they wish to cut down on civilian casualties.
"...To label all self defense as unlawful because all of Gaza is densely populated by civilians would deny Palestinians their rights to resist their Occupation with armed resistance, which is a right granted to them by intl law."
And here I thought you just said - a moment ago - that you did not believe that they (the Palestinians) were doing this (parking launchers and bases and leadership inside densely populated areas) - so, which is it?
They have two choices.
1. move their launchers and bases and leadership away from civilian centers, or...
2. continue to take higher civilian casualties when the Israelis counterstrike after an attack
Those are the only two choices that signify.
The rest is background noise and static by comparison.
If they cannot sustain a military campaign because they are absorbing too many civilian casualties, then I suggest that they cease military operations.
The choice is theirs.
And the consquences are on them, and not Israel, and not the rest of the world.
And all the Legal Nicities in the world aren't going to change that Reality one little bit.