Assigning cssstyles individually in the HTML module

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/14/2009 8:45:29 AM
Gravatar
Total Posts 40

Assigning cssstyles individually in the HTML module

Hi All,

 

Actually according to my requirement, I am adding contents all of same usercontrol i.e.,htmlcontent

I need to change the styles for the contents as required,as it was taking cssstyle i.e., "modulecontent".so tried to use new css class but it was taking old as in code for divsingleitem class-"modulecontent" by default..so to overwrite that, i had added new column cssclass and tried with dummy data it was working fine and i am getting what i want.But the thing is as i entered values using query in sqlseerver,i was getting.so in local system its ok that we can do anything as we wish ,but in server i need to run the script.and in code behind i tried to insert the values in that way,but as the contents are binding dynamically it was not working.

actually my requirement is like this:

 

i have 5 contents i.e., cnt1,cnt2,cnt3,cnt4,cnt5..for all these contents we are using single style. but i need

  • cnt1 without border and overflow should be allowed with different background
  • cnt2 and cnt3 with border and different backgroundimages and colore
  • cnt4 and cnt5 without border and different bgcolors and image

can anyone tell me how to do this?

actually i tried this in local it was working as i had decalred one column in db and getting data from there(by inserting in sqlserver) but i need to insert those values right in code behind before getting that.as those are dynamic contents i am not able to get the required styles to insert

can u plz anyone help me by giving ideas or suggestions to finish this?

already i had posted posts for several questions but dint got any answer but i tried and i did what actually want.For this requirement i am not getting wat to do?

hope i will get replies for this atleast!!

 

Thanks in advance,

yamunarani

 

 

You must sign in to post in the forums. This thread is closed to new posts.