Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# baldec 10/9/2008 4:36 PM
Hello there, have an asp:table in my module that I add rows and columns on dynamically.

The table have a class set to "foo" and the class "foo" is defined in the stylesheet accordingly.

Though when I use this in the module the table dont bother with the stylesheet at all.

Is there some kind of hierarchy in Cuyahoga that botch my attempts to style the module in a separate stylesheet. Or should it be possible to just attach the stylesheet in the normal manner as shown below?
%link href="css/Listings.css" rel="stylesheet" type="text/css" /%

%asp:Panel ID="ListingsFrame" runat="server" Visible="false"%
    %asp:Table ID="ListingsTable" runat="server" CssClass="foo"%
    %/asp:Table>
%/asp:Panel>

Theories?
# Ryan 10/9/2008 5:25 PM
I'm going to take a guess and say this is a pathing issue. Try using the full uri to the css file and see if that works.
# baldec 10/10/2008 8:44 AM
Yup, URI issue indeed. I had the assumption that VS did correct when it added them. Apparently that is a bad assumption to make.

For a followup question. Aint there any way to make the path search for the css start in the folder of the calling ascx? Find it quite odd that that it wouldn't be possible to make a module site independant .)