Jump to content

link colors from php include page vs link colors from main page


cypher25

Recommended Posts

We have recently recreated our website and were trying to go php to use #includes so that we could have our organization president have a folder of files that he can edit and they pull onto the front page....the problem i am running into is some formatting.

 

On the front page, we have 3 columns in the middle of the page...the left and ride "sidebars" (so i like to call them) are what our president should be able to edit (but cannot right now) and the middle is edited by me.  Our problem is the coloring of links throughout the page.  If I tell it to make links white, so they show up on the black and red background, then the middle section that has links (every once in a while) will be white on a white background.  So we made it where they are black.  Now the left and right sidebars show up as red links...which is better but not exactly what we want.

 

To compare, the site we have up and running that is right is currently in html and is www.wlknights.com and the page i am playing with to get php working right is www.wlknights.com/new/index.php.

 

Any help you can give would be a huge help.

Link to comment
Share on other sites

First, don't design a website in tables. Tables are for data, not for actual web design.

 

Secondly, if you name the left and right sides say, "#left" and "#right" and "#middle" (respectively) in your CSS file, you can edit the link colors for each side and the center column. It would be something like

#left a, #right a{color:#fff}
#middle a{color:red} 

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.