Page 1 of 1

A sharing violation occured / navigation

Posted: Wed Aug 24, 2011 12:48 am
by david_yg
Hi, I am trying to create navigation bar, each word suppose to give a distance with other word. Ex.: Home About etc. yet, I am unable to create such things. At first, I am trying to create it with normal spacing inside a <p> yet, whenever I view it in IE it appears differently (no spacing). I tried another way which is by using css yet an errors appears:

A sharing violation occured while accessing C:\xampp\htdocs\php_template2\admin\administrator.php

administrator.php

Code: Select all

!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Administrator</title>

<link href="style-admin.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="677" height="1008" border="0">
  <tr>
    <td height="114" bordercolor="#ECE9D8" scope="col"><div id="header">
      <p>header</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
    </div></td>
  </tr>
  <tr>
    <td height="57" bordercolor="#ECE9D8"><p>navigation</p>
    
    <p class = "pos_fixed">Home Event Gallery Contact Us</p></td>
  </tr>
  <tr>
    <td height="730" bordercolor="#ECE9D8"><p>News Manager Category Manager </p>
      <p>img img</p>
    <p>&nbsp;</p>
    <p>Event Manager </p>
    <p>img</p></td>
  </tr>
  <tr>
    <td height="95" bordercolor="#ECE9D8">footer</td>
  </tr>
</table>
</body>
</html>
Why is it?


style-admin.css

Code: Select all

HTML and CSS Syntax (Toggle Plain Text)
@charset "utf-8";/* CSS Document */ #header {	background-color: #CCCCCC;} p.pos_fixed{position:fixed;top:30px;right:5px;}@charset "utf-8";
/* CSS Document */

#header {
	background-color: #CCCCCC;
}

p.pos_fixed
{
position:fixed;
top:30px;
right:5px;
}
Any clue ? Also, how to create a nice spacy navigation bar (there is adequate spacing between each word) ?