• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

my css dont appear to be showing when away from my web server

hi all
I am using css hosted on iss 7 when i view the site using the server name like http://webserver/website/ it is showing correctly
but when i try to view it like www.website.com it appears that the css is nto there

what might be the issue here
0
awolarczuk
Asked:
awolarczuk
  • 3
  • 2
1 Solution
 
nap0leonCommented:
sounds like a path issue.
0
 
awolarczukAuthor Commented:
i am happy to show you my code if you like
index.asp......

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>dBAS+ Securitisation, Networking, Software Solutions</title>
<link href="settings.css" rel="stylesheet" type="text/css" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
</head>

<body>
	<div class="center">  <!-- This is the Start of the page used to center the page ---->
		
		<div id="heading-area" ><!-- This is the Start of the header area ---->
			<img src="images/header.png" alt="" id="logo" width="100%"   />
						
		</div> <!-- This is the close of the header area-->
		
		<div id="middle"><!-- This is the Start of the middle area on the page  ---->
			<div id="innermiddle"><!-- This is the Start of the innermiddle area on the page  ---->
			
				
			
			</div> <!--This is the close of the middle  area-->
		
		
		</div><!-- This is the close of the middle  area-->
		
		
	
	</div><!-- This is the close of the center-->
</body>

</html>

Open in new window

settings.css

body{
background-color : white;
text-align:center; 
margin-top: 0px; 
font-family: Verdana} /* main background color*/

#content {
position: relative;
text-align:left; 
width:100%;
margin-left:auto;
margin-right:auto;
margin-top:0%;
height: auto;
background-color : white;}

* {
margin : 0;
padding : 0;
}

.center {
margin-left : auto;
margin-right : auto;
width : 99%;
height : auto;

}

#heading-area {
width : 99%;
position:relative;
background-color : #cc0000;
}

#middle{
	width : 99%;
	height:auto;
	position:relative;
	top:1.5%;
	background-color : #cc0000;
	

}
#innermiddle{
	background-color: white;
	margin-top:.5%;
	margin-bottom: .5%;
	width: 99%;
	height:auto;

}

#text{
position:relative;
width : 35%;
text-align:justify;
float : left;
top:10%;
font-family: Verdana;
font-size: 13px;
left: 1%;


}

#footer{
width : 99%;
position:relative;
top : 3%;
background-color : #cc0000;
}

Open in new window

0
 
nap0leonCommented:
What directory is your CSS in?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
awolarczukAuthor Commented:
nap0leon: same as the index mate
0
 
COBOLdinosaurCommented:
Give it the full path.  Can't hurt and probably resolves the problem.



Cd&
0
 
awolarczukAuthor Commented:
COBOLdinosaur: mate tied it and same issue
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now