Admittedly, it's going to be tedious to build the four pages above to prove the example. I estimate about 5 minutes of work to build the example. However, after the example is created you will have a model system to which you can make alterations to see what happens as a result of the changes.
It doesn't matter whether you use div or span or textbox so I thought, why not put in all three and prove it.
Next, we needed several pages. You said masterpage so I wanted this example to show that if you build the feature on the masterpage you'll never have to write anything about it on any other page. I could have just said that, and it probably would have made sense, but it will be more real when you see it.
We built the Default.aspx page next because if you didn't have it at some point the program would look for it and if it wasn't there you would get a white screen, and that causes panic.
We then built the Login.aspx page (which also has a register tool) so that you can login and see how the line at the top changes. The Login.aspx page also has a tool for logout. This is helpful because you can login and logout and verify that the upper line is mirroring the changes without fail.
I mentioned on the masterpage what I did with the Web Site Administration Tool (look for the hammer and world icon under Solution explorer--it's the icon furthest to the right--at least this is true for Visual Web Developer. This note was also built there to fill space in the part that is the bottomline div on the masterpage.
Note that we built three different div areas with three different colors. This takes us back to the original question "where should I put it? or in this case, where should I put them?"
Once you are satisfied that the example works (with "them" in the blue area) move "them" to another place on the masterpage and then test the different pages again. I think after you have moved it to three different places you will be convinced that it doesn't matter--and I think as an indirect benefit you will have a higher confidence for what you can do with a masterpage which will benefit you when you work with future designs.
Given the amount of time that I put into building this, and the amount of time that you put into making it, I would recommend that you tell me after you have finished this, and maybe we use this example to do a few more things (it is important to mark the post as resolved and issue points both to show good faith and also because other persons seeing a "Not Resolved" and coming here and finding it resolved (after reading for five minutes) will feel something bad and I don't want any of them to be unhappy about wasting the five minutes.
for my notes- this project is "TestLogin"
Larry Dechent -
Sampson Coatingswww.wemakebetterpaint.com has 29 examples (C# & VB) to help beginners with ASP.NET.