I want to create a bunch of Webpart for my website, all the webpart have a common special border around them. so their .ascx looks like:
<div class="my_special_border">
<div class="web_part_content">
bla bla
</div >
</div>
i want to avoid the repetition of the border in each webpart (mainly because its not one "div", but a more complex layout).
I was thinking of webpart inheritance, the base will provide the border, and each inheritent will provide its own content.
so I have a "BaseWebpart", in which I put my special border. How can I make the content of the Derived WebParts to go INSIDE the Base border? I need it to be simple to use, so other developers can add their own webparts by only inheriting from my Base. so basicly, I dont want any special Code in the DerivedWebpart (beside the inheritance)
how can I achive this?