Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > problem with templates

problem with templates
Thread Tools
Senior User
Join Date: Oct 2003
Location: Minneapolis
Status: Offline
Reply With Quote
Nov 30, 2004, 02:16 PM
 
I am new to using dreamweaver so templates are quite foreigh to me. I put tabs (code i found and copied) in the repeating region on the top. The tabs themselves have a maroon background and grey on rollover. The problem is that links in the editable region are also maroon and grey on rollover. How can i code it so that the colors for links are different between the reapeting region and editable region? I just want the links in the editable region to be normal blue underlined links instead of looking like the tabs. If it helps, the code i got for the tabs can be found here , on the example page. Thanks.
     
Mac Elite
Join Date: Jan 2000
Location: Pittsburgh, PA
Status: Offline
Reply With Quote
Nov 30, 2004, 02:58 PM
 
Originally posted by TubaMuffins:
I am new to using dreamweaver so templates are quite foreigh to me. I put tabs (code i found and copied) in the repeating region on the top. The tabs themselves have a maroon background and grey on rollover. The problem is that links in the editable region are also maroon and grey on rollover. How can i code it so that the colors for links are different between the reapeting region and editable region? I just want the links in the editable region to be normal blue underlined links instead of looking like the tabs. If it helps, the code i got for the tabs can be found here , on the example page. Thanks.
Um, I don't think this can be done. As far as I know, the link colors (via external or local stylesheet or whatever) apply to the entire page. I've had this problem where I want images with borders that link, but don't want the border colors for the images to be the same as my link color for text. If anyone knows a way to do two different link colors, I'd be interested in learning as well.


EDIT: wait, am I really begin dumb? I never thought of this, but if you specify a font color (via the css, or via FONT tags, does that color override the link color (until HOVER or another state is activated) ? Now that I think about it, I seem to remember working in Claris homepage and having the font color override the link color. But maybe I'm wrong.

spike[at]avenirex[dot]com | Avenirex
IM - Avenirx | ICQ - 3932806
     
Junior Member
Join Date: Sep 2004
Status: Offline
Reply With Quote
Nov 30, 2004, 03:08 PM
 
Just a guess, but you could define CSS styles for the two sets of links, and then you need to assign a style to each link in each section. It wouldn't work in the old-old-old browsers, but most web users would be able to see the colors that you choose. Keep in mind that a user's personal CSS could overide your colors and thus affect the appearance.

Just a thought.

-Ben
     
Senior User
Join Date: Oct 2003
Location: Minneapolis
Status: Offline
Reply With Quote
Nov 30, 2004, 03:15 PM
 
i did try specifying the link color and font and everything and it did not over ride the css specified colors. as for creating a new style, that's a pretty good idea. i know absolutley nothing about css to try that but i will try to play around with what i can, see if i can figure that out. thanks again.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2