Hello,

I'd like to state in advance that I am relatively new to CSS. So, I
apologize if my questions are somewhat simplistic.

I have a .NET user control that I wrote that is just a form that takes
input that gets saved back to a db. Simple enough. Currently it is
laid-out using the good 'ol table and in-line style attributes. I
really prefer using CSS based layouts in my forms. I have used
fieldsets with lists for such forms in the past and like that method.
However, I am currently working at a company that has created,
esentially, their own library of html tags. Example:

<MyCompany:Panel ID="_pnlJobPostingMain" runat="server"
   Style="text-align: center;">
   <fieldset class="JobPosting">
       <legend>
           <MyCompany:Localize ID="_locJobPostingHeader"
runat="server"></MyCompany:Localize>
       </legend>
       <ol>
           <li>
               <MyCompany:Localize ID="_locJobTitle" runat="server"></
MyCompany:Localize>
               <MyCompany:TextBox ID="_txtJobTitle" runat="server"></
MyCompany:TextBox>
           </li>
           <li>
               <MyCompany:Localize ID="_locDepartment"
runat="server"></MyCompany:Localize>
               <MyCompany:DropDownList ID="_ddlDepartment"
runat="server"></MyCompany:DropDownList>
           </li>
           <li>
               <MyCompany:Localize ID="_locJobType" runat="server"></
MyCompany:Localize>
               <MyCompany:DropDownList ID="_ddlJobType"
runat="server"></MyCompany:DropDownList>
           </li>
           <li>
               <MyCompany:Localize ID="_locJobDuties"
runat="server"></MyCompany:Localize>
               <uc:ucMultilineTextBox ID="_txtJobDuties"
runat="server" />
           </li>
           <li>
               <MyCompany:Localize ID="_locJobRequirements"
runat="server"></MyCompany:Localize>
               <uc:ucMultilineTextBox ID="_txtJobRequirements"
runat="server"  />
           </li>
       </ol>
   </fieldset>
</MyCompany:Panel>

Our first choice for every tag must come from this library
("MyCompany" above) No class element exists for these tags. This poses
a problem with using CSS. At least I think so? How would I go about
styling the above sample?

My second question has to do with CSS styles in ascx files. Is there a
way to associate a particular clas to an entire control like you can
with a form element?

Again, I apologize if my questions are simplistic or just don't make
sense. Feel free to ask me for any further clarification.

Thank you all in advance!

rbr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to