Jump to content

[SOLVED] brain fart


dare87

Recommended Posts

So here is my problem. I have my set of links on the left of my site. The look is done with css. As you can see I have a class that is called sideBarTitle. I originally plan not have this as a link, but things change.

 

Is there a way to do a php code, that makes the css, think it's not a link, or does anyone have an idea on how to change the css.. I have been working on it for the last few hours.

 

Thanks

 

<ul>
<li class="sideBarTitle">Main</li>
<li><a href="index.php">Home</a></li>
<li><a href="applications.php">Applications</a></li>
    <li><a href="download_2003.php">Demo Spreadsheet</a></li>
<li class="sideBarTitle"><a href="ss_solutions.php">Spreadsheet</a></li>
<li><a href="uc.php">Discussion</a></li>
<li><a href="ss_consultation.php">Consultation</a></li>
    <li><a href="ss_development.php">Development</a></li>
<li class="sideBarTitle"><a href="acad_solutions.php">AutoCAD</a></li>
    <li><a href="uc.php">Discussion</a></li>	
    <li><a href="uc.php">Consultation</a></li>
<li><a href="uc.php">Development</a></li>
<span id="sideTitle"><a href="prgm_solutions.php">Programmables</a></span>
    <li><a href="uc.php">Discussion</a></li>	
    <li><a href="uc.php">Consultation</a></li>
<li><a href="uc.php">Development</a></li>
<li class="sideBarTitle">Info</li>
<li><a href="testimonials.php">Testimonials</a></li>
<li><a href="contact.php">Contact Us</a></li>

</ul>

 

#sideBarLeft {

position: relative;

left: 15px;

float: left;

width: 125px;

padding-bottom: 15px;

}



#sideBarLeft ul {

margin: 0;

padding: 0;

list-style: none;

}


#sideBarLeft li {

width:100%;

display: block;

padding: 10px 0px 2px 0px;

font-weight: bold;

text-align:right;

}



#sideBarLeft li a {

horizontal-align: left;

width:94%;  

display: block; 

padding: 2px;

}



#sideBarLeft li a:link {

font: 11px Verdana, Arial, Helvetica, sans-serif;

color: #000000;

text-decoration: none;

border-bottom: 1px dashed #5b7aa4;

font-weight: normal;

}



#sideBarLeft li a:visited {

font: 11px Verdana, Arial, Helvetica, sans-serif;

color: #000000;

text-decoration: none;

border-bottom: 1px dashed #5b7aa4;

font-weight: normal;

}



#sideBarLeft li a:hover {

font: 11px Verdana, Arial, Helvetica, sans-serif;

color: #000000;

background: #e3e3e3;

font-weight: normal;

border-bottom: 1px dashed #5b7aa4;

text-decoration: none;

}



.sideBarTitle {

font: 12px Verdana, Arial, Helvetica, sans-serif;

border-bottom: 1px solid #000000;

}


/*

Link to comment
Share on other sites

I am also looking for a possible php solution.

 

Quite how would php running on the server change the style of a link or non-link when displayed on the client?  Perhaps you need to explain what you expect to do on the server to effect the change in the display.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.