user controls and style sheets

J

Just Me

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 ?
 
L

Laurent Bugnion [MVP]

Hi,

Just said:
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
 
J

Just Me

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
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top