Solved

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

Posted on 2002-03-04
14
268 Views
Last Modified: 2012-08-14
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?
0
Comment
Question by:kristinc
  • 8
  • 2
  • 2
  • +2
14 Comments
 
LVL 18

Expert Comment

by:mgfranz
ID: 6840167
Are the "class" and "ID" styles identical?
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6840173
Oh yeah, this isn't really an ASP situation, but more of a CSS or basic HTML question...
0
 

Author Comment

by:kristinc
ID: 6840183
I wasn't sure where to put it.  No they are not identical.
0
 

Author Comment

by:kristinc
ID: 6840201
I wasn't sure where to put it.  No they are not identical.
0
 

Author Comment

by:kristinc
ID: 6840207
This is the class:


DIV.breadcrumb
{
    FONT-SIZE: 10px;
    TEXT-TRANSFORM: uppercase;
    COLOR: #004685;
    FONT-FAMILY: Arial
}
0
 
LVL 23

Expert Comment

by:naveenkohli
ID: 6840231
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
 
LVL 23

Expert Comment

by:b1xml2
ID: 6840917
kristinc,
make sure you have Response.Buffer set to True.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 23

Expert Comment

by:b1xml2
ID: 6840924
secondly,
change your css to
===================
div#divBreadCrumb {position:absolute;left:295px;top:103px;
visibility:visible;z-index:-1;}
0
 

Author Comment

by:kristinc
ID: 6841727
b1xml2,

When I do this, the font is back to what it should be but the positioning does not take effect.  Any suggestions?
0
 

Author Comment

by:kristinc
ID: 6842004
It does not seem to like the Request.ServerVariables("INFO_PATH")
0
 

Author Comment

by:kristinc
ID: 6842148
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
 
LVL 2

Accepted Solution

by:
jsmckenzie earned 200 total points
ID: 6842530
does the breadcrumb function generate HTML?
0
 

Author Comment

by:kristinc
ID: 6842627
The breadcrumb function does generate HTML.  It puts a hyperlink on the paths.
0
 

Author Comment

by:kristinc
ID: 6842651
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now