User Controls and Css Style sheets

T

tshad

If I have a User Control with tables in it and a Css Style sheet defined in
the .aspx file - will the style sheet apply to the User Control (.ascx
file)?

If that is the case, if I have a style sheet in the User Control, will that
override the outside sheet?

Thanks,

Tom
 
M

Mischa Kroon

tshad said:
If I have a User Control with tables in it and a Css Style sheet defined
in the .aspx file - will the style sheet apply to the User Control (.ascx
file)?

If that is the case, if I have a style sheet in the User Control, will
that override the outside sheet?

Probably yes and yes :)

view the final html the last .css is the css which is leading :)

so

..test {xxx:xxx}
....

<table class=test>
....

..test {xxx:yyy}

will use the yyy value.
 

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,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top