Ask a Question related to ASP.NET General, Design and Development.
-
Cy Huckaba #1
Re: CSS linked in aspx not working
My experience with css has led me to always use an actual path when linking to
stylesheets. It's easiest and you can add that same tag to any page at any level
in your site if you give it a reative path to the root.
use "/Styles.css" if you are in the root directory of the web.
Try this for the same directory "./Styles.css"
Also, when working with css across browsers, make sure you are case-sensitive,
netscape won't usually match unless it's exact.
Cy Huckaba
"Andy Nagai" <aanagai@earthlink.net> wrote in message
news:ZKQJa.10010$C83.983644@newsread1.prod.itd.ear thlink.net...> Hi
>
> I have a basic css class:
>
> .TextBoxStyle
> {
> border-right: blue double;
> border-top: blue double;
> font-size: medium;
> border-left: blue double;
> color: white;
> border-bottom: blue double;
> background-color: #6699cc;
> }
>
> in a .css file in the root web folder. same folder as aspx file. I reference
> the css file like this in the aspx file in the head:
>
> <LINK href="Style.css" type="text/css" rel="stylesheet">
>
> Now the textbox just displays normal when i run the page. none of the style
> is applied. When i insert the css class directly in the aspx file, it
> displays like it supposed to. But when i link to the css file, nothing
> happens. For some reason linking to the css file doesnt work. Anyone
> encounter this?
>
>
>
>
Cy Huckaba Guest
-
passing a token from pageA.aspx to pageB.aspx
I am trying to get pageA.aspx gridView to pass a key (say deptID) to pageB.aspx which will use the value passed as a filter in it's own griView... -
NAT Problem not working with ASPX pages
why? I dont have a proxy or a firewall I have a site that works just fine but whan I configures a NAT adress ASPX pages are not working. ... -
SQL statement working in SQL Server but not in .aspx.cs page
I have written the following query with a subquery to add a counter to be added to a drop down list, which works in SQL Server, but when I transfer... -
statically linked tcl conflict with dynamically linked tcl error
My solaris 8 computer have a dynamically linked tclsh as the default. After another statically linked tclsh is executed, the computer environment... -
aspx - string from method from in inherited class not working
Hi all, tricky to explain this one: have got a class called Language which extends System.Web.UI.Page Language has a method "getText()" which...



Reply With Quote

