Styles problem

  • Thread starter Thread starter acko bogicevic
  • Start date Start date
A

acko bogicevic

Hi
i have a page that reference .css file
<link ... href="myCss.css">

In myCss file i have one settings for links.
I also have a userControl that has a few links.
When i put this control on page all links from userControl get settings
from page.
I would like links on userControl to have their own settings.
Is it possible?
Thanks


acko
 
When a user control is rendered to the client, it is rendered as an html
block inside the parent page class. The browser doesn't distinguish the
difference between the two. It only sees one big block of html. If you
want the user control links to be different, you'll have to create classes
and apply them using the CssClass attribute.

I was minding my own business when acko bogicevic blurted out:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top