By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,432 Members | 795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,432 IT Pros & Developers. It's quick & easy.

user controls and style sheets

P: n/a
I created a control which works fine. I applied a cssClass style sheet for a
panel in my control. When the controls is loaded on a page and displayed in
a browser, it works fine. However, when I am trying to test the control I
cant see the style affects.

Any ideas ?
Jan 14 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Just Me wrote:
I created a control which works fine. I applied a cssClass style sheet for a
panel in my control. When the controls is loaded on a page and displayed in
a browser, it works fine. However, when I am trying to test the control I
cant see the style affects.

Any ideas ?
Where did you define the style? In the HEAD section, or in a file? And
if in a file, how do you include the file? Maybe the test page doesn't
find the CSS file.

Also, how do you apply the style to the control? With a class, or with
the control's ID?

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Jan 14 '07 #2

P: n/a
Where did you define the style? In the HEAD section, or in a file? And
if in a file, how do you include the file? Maybe the test page doesn't
find the CSS file.
This is an acax file, so there is no head tag

Also, how do you apply the style to the control? With a class, or with the
control's ID?
With the cssClass attribute.

it seems random, somtimes it takes affect and sometimes does not. Its really
infuriating. Also, if I say put a panel on and drag the bottom down, you can
see the dimensions change and if you start the app it displays correctly,
but on the design canvass it appears much smaller.
>
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch

Jan 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.