Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Custom User Control not inheriting CSS Style
Old 08-25-2006, 02:04 PM Custom User Control not inheriting CSS Style
foobar's Avatar
Extreme Talker

Posts: 225
Trades: 0
Alright, here's my problem.

I have an index.aspx page. This page is the standard banner, footer, content menu setup. On the left, I have a menu that displays links to the user if he's logged in, or a login form. This menu is contained in a custom user control and works fine.

Now, the issue here is that my user control (the menu) isn't inheriting any of the styles I have in my stylesheet. If I explicitly set the style in the style attribute of my div tags it works fine, but I want to keep all the style and layout properties in the CSS files and not code any of them directly into the page.

Thoughts?
foobar is offline
Reply With Quote
View Public Profile Visit foobar's homepage!
 
 
Register now for full access!
Old 08-25-2006, 06:26 PM Re: Custom User Control not inheriting CSS Style
yoemanspiffy's Avatar
Experienced Talker

Posts: 42
Trades: 0
You got a link I can look at bud?

YM
__________________
My grandfather used to work for your grandfather. Of course the rates have gone up.


Please login or register to view this content. Registration is FREE
yoemanspiffy is offline
Reply With Quote
View Public Profile Visit yoemanspiffy's homepage!
 
Old 08-28-2006, 04:59 AM Re: Custom User Control not inheriting CSS Style
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Post the code pal.
Did you set the CssClass property?
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to Custom User Control not inheriting CSS Style
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11297 seconds with 12 queries