PDA

View Full Version : test



Not2Sure
October 13th, 2003, 11:48 AM
some stuff from work



<?php
include "about_menu.txt";
?>


then include .txt nav

example



<ul>
<li><a href="welcome.php">Welcome</a></li>
<li><a href="mission.php">Our Mission</a></li>
<li><a href="achievements.php">Our Achievements</a></li>
<li><a href="history.php">Our History</a></li>
<li><a href="team.php">Meet the Team</a></li>
<li><a href="equal_opps.php">Equal Opportunities</a></li>
<li><a href="privacy.php">Privacy Statement</a></li>
<li><a href="disability.php">Disability Statement</a></li>
<li><a href="calendar.php">Calendar</a></li>
<li><a href="opening_hours.php">Opening Hours</a></li>
<li><a href="links.php">Links</a></li>
<li><a href="map.php">Map</a></li>
<li><a href="contact.php">Contact Us</a></li>
<li><a href="accessibility.php">Site Accessibility</a></li>
</ul>


style sheet



#logo {
position:absolute;
left: 0;
top: 0px;
width: 740px;
height: 50px;
margin:0px;
padding:0px;
background: #639;

}

#navigation {
position:absolute;
left: 0;
top: 50px;
width: 740px;
height: 20px;
margin:0px;
padding:0px;
background: #cc3;
border-bottom: 1px solid #000;
}

#leftcolumn {
position:absolute;
left: 5px;
top: 115px;
width: 120px;
margin: 0px;
visibility: hidden;

}

#middlecolumn {
position:absolute;
left:160px;
top: 90px;
width: 395px;
margin:0px;
padding:0px;
}

#rightcolumn {
position:absolute;
left: 595px;
top: 90px;
width: 145px;
margin:0px;
padding:0px;
/*border: 1px solid #306;
background: #f3f3cd;*/
}

body {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 85%;
background: #fff;
margin:0px;
color: #000;
}

h1 {
font-size: 1.3em;
font-weight: bold;
}


#leftcolumn p {
font-size: .7em;
line-height: 1.3em;
font-weight: bold;
margin: 0px;
padding-bottom: 8px;
text-align:right;
}



#leftcolumn ul {
font-size: .7em;
line-height: 1.3em;
font-weight: bold;
margin:0;
padding:0;
list-style-type: none;
text-align: right;
}

#leftcolumn li {
padding-bottom: 1px;
border-bottom: 1px dotted #ccc;
}

#leftcolumn a {
color: #000;
text-decoration: none;
}

#leftcolumn a:visited {
text-decoration: none;
color: #000;
}

#leftcolumn a:hover {
text-decoration: underline;
color: #000;
}

#middlecolumn h1 {
margin: 0;
padding-bottom: 4px;
color: #306;
border-bottom: 1px dotted #306;
}



/*#bigcolumn {
position:absolute;
left:160px;
top: 110px;
width: 580px;
margin:0px;
padding:0px;
}

#navigation a {
text-decoration: none;
color: #000;

}

#navigation a:visited {
text-decoration: none;
color: #000;
}

#navigation a:hover {
text-decoration: underline;
color: #000;
}

#crumb p {
font-size: .7em;
line-height: 1em;
margin-bottom: 0px;
}

#leftcolumn p {
font-size: .7em;
line-height: 1.3em;
font-weight: bold;
margin: 0px;
padding-left: 4px;
color: #c33;
text-align:right;
}

#middlecolumn p {
margin-left: 85px;
margin-bottom: 1em;
}

#middlecolumn table p, #bigcolumn table p {
margin-left: 0;
margin-bottom: 1em;
}



.srchres1
{

COLOR: #000000;
BACKGROUND-COLOR: #dbdbf6;

}

.srchres2
{

COLOR: #000000;
BACKGROUND-COLOR: #f3f3cd;


}


#middlecolumn li {
margin-bottom: .2em;
}

#middlecolumn ul, #middlecolumn ol {
margin-left: 120px;
}



#middlecolumn h2, #middlecolumn h3 {
margin-left: 85px;
}


note: use /* to comment out CSS thats not needed.

PS. if you looked at this you must be sad

Voetsjoeba
October 13th, 2003, 02:58 PM
I'm must be sad :(:P

Not2Sure
October 13th, 2003, 05:36 PM
lol, that is some code i needed from work but my email was messed up so i just posted it here and got it when i got home... but you can still look... but don't touch... lol j/k :thumb: