Request.ServerVariables("PATH_INFO") and styles in Netscape

I am using Request.ServerVariables("PATH_INFO") to display the path of a page that the user has browsed to on a web site.  My problem is when I put the Request.ServerVariables("PATH_INFO")it pops out the style of the font for the rest of the page in Netscape only.  I have this in a div tag and I have set a style to the div as well.  When I replace the Request.ServerVariables("PATH_INFO") with just text within the div, the style of the rest of the page is fine.  Here is the code:

<!--
          #divBreadCrumb { position: absolute; left: 295px; top: 103px; visibility: visible; z-index: 1;}
     -->
     </style>
     <link rel="stylesheet" type="text/css" href="includes/stylesheet1.css">
     <!--#include file = "includes/breadcrumb.asp"-->
</head>
<div id="divBreadCrumb" name="divBreadCrumb" class="breadcrumb"><% = BreadCrumb(Request.ServerVariables("PATH_INFO")) %></div>

Any suggestion?
kristincAsked:
Who is Participating?
 
jsmckenzieConnect With a Mentor Commented:
does the breadcrumb function generate HTML?
0
 
mgfranzCommented:
Are the "class" and "ID" styles identical?
0
 
mgfranzCommented:
Oh yeah, this isn't really an ASP situation, but more of a CSS or basic HTML question...
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
kristincAuthor Commented:
I wasn't sure where to put it.  No they are not identical.
0
 
kristincAuthor Commented:
I wasn't sure where to put it.  No they are not identical.
0
 
kristincAuthor Commented:
This is the class:


DIV.breadcrumb
{
    FONT-SIZE: 10px;
    TEXT-TRANSFORM: uppercase;
    COLOR: #004685;
    FONT-FAMILY: Arial
}
0
 
naveenkohliCommented:
I have seen some weired stuff in NetScape. It could be as silly as that you don't have the closing ";" in your breadcrumb style class.

FONT-FAMILY: Arial;
0
 
b1xml2Commented:
kristinc,
make sure you have Response.Buffer set to True.
0
 
b1xml2Commented:
secondly,
change your css to
===================
div#divBreadCrumb {position:absolute;left:295px;top:103px;
visibility:visible;z-index:-1;}
0
 
kristincAuthor Commented:
b1xml2,

When I do this, the font is back to what it should be but the positioning does not take effect.  Any suggestions?
0
 
kristincAuthor Commented:
It does not seem to like the Request.ServerVariables("INFO_PATH")
0
 
kristincAuthor Commented:
No.  It seems to be when I call the breadcrumb function that I am getting the styles in Netscape to pop out on me.  I will try a few other things.
0
 
kristincAuthor Commented:
The breadcrumb function does generate HTML.  It puts a hyperlink on the paths.
0
 
kristincAuthor Commented:
I think that might have been what it was.  There were style attributes within the breadcrumb function.  I took them out and now there doesn't seem to be a style problem.  Thanks!
0
All Courses

From novice to tech pro — start learning today.