apply css to content page .NET 2005

J

jmorgret

I am trying to apply a style contained in my Style.css sheet to a table
on my content page. The master page has a link to the css. I have
class="MyTable" and ID="MyTable" in the attributes of the table. When I
view the page in the VS designer it is correct but when I run the styles
I want aren't there.

Is there a step that I am missing? I didn't see a way to add a link to
the css in the content page.

Thanks,

Jennifer
 
G

Guest

No that should work, i have done it that way many times. I sugest you look
at the source of the rendered HTML to see if you can figure it out.
 
J

jmorgret

I'm not sure what I am looking for on the source page. The table shows
the correct class and id but the sytle attributes don't show up. It is
so weird that it shows the attributes in design mode in VS just not when
the page is run.

I don't know...

-Jennifer
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top