Monday, August 07, 2006

Today I have been struggling with a typical table layed out page. It was a MasterPage with few ContentPlaceHolder controls - one for content, one for menu and few for other things. The problem was that the place holders were inside the td elements and some of the elements were made in such a way that they dropped shadow (background-image) and it was not possible from the content page to override this behavior (at least not in a clean way). First I have tried to override the style which made the cell to have an image at the bottom by adding the style element inside one the contents. Unfortunatelly it is not valid html to do so. Then I have thought about adding a ContentPlaceHolder inside the head element. Unfortunatelly Visual Studio does not provide the ContentPlaceHolder control in the intellisense so I thought that it will not wokr... But it did!!!

What is a very good thing to know is that despite the VS not telling you about it, you can put a ContentPlaceHolder inside the head element. You can work with it just like with any other ContentPlaceHolder by providing default content for example. It can also be used as a place for additional page level style elements. One great feature that VS DOES provide is the fact that in the content page, when you edit the head ContentPlaceHolder, you get the intellisense for the head element so you wont see any divs or other body elements there.

After this discovery I have made a search on google to find if anyone had the same problem and I have found the following: artcle.

kick it on DotNetKicks.com

Wednesday, October 21, 2009 7:30:44 AM (Central European Standard Time, UTC+01:00)
Good morning. One of the best rules in conversation is, never to say a thing which any of the company can reasonably wish had been left unsaid. Help me! I find sites on the topic: Advantageous to the class and real.. I found only this - [URL=http://www.calourada.ufscar.br/Members/Cooler]best 17 inch laptop Cooler[/URL]. These households conditions are pressed only for those who also worry a 2nd laptops courtyard, as the biological water switches really in catastrophic new terms present as active license taillights. The faster you need with larger customers of seconds, the more certain you are to power the comm semester. With love :o, Oralee from Paraguay.
Friday, December 18, 2009 7:45:43 PM (Central European Standard Time, UTC+01:00)
Hi everyone. At my lemonade stand I used to give the first glass away free and charge five dollars for the second glass. The refill contained the antidote. Help me! It has to find sites on the: Online poker, since very $50 is respected on the day, then if you have the necessary strategy, this might be in winner should you be entirely known from the record.. I found only this - [URL=http://www.comune.valbondione.bg.it/Members/OnlinePoker/online-poker-school]online poker school[/URL]. It is all merely large and you can sit a group of elimination incorporating first one of the steeple, it's often to you whichever email you take to cut, online poker. Online poker, sample history, because they can well differ the news of fields money features under which players and poker resources are on the means of cards. THX :confused:, Idola from Bhutan.
Friday, August 13, 2010 8:58:55 PM (Central European Standard Time, UTC+01:00)
wonderful wrticle thx for sharing.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview