Link Styles
I am not sure if this is the right forum but here goes:
I am using jdeveloper 11.1.1.3.0 and WC 11g.
I want to style links differently depending on where they sit on a page.
Right now I havce a simple menu with four links:
<af:menuBar id="city">
<af:goMenuItem text="find" id="gmi1">
<etc>
</af:menuBar>I want to style the links in this menu bar but dont seem to be able to do so. I am using my own CSS rather than the trinidad CSS. I am going to be creating multiple iterations of this menu, so styling the individual links with the property inspector is not a viable option.
This is the basic CSS style I am trying to use:
.af:goMenuItem::city a {color:#800000;}
.af:goMenuItem::city a:hover {color:#ccc;}
or
.af:goMenuItem::menu-bar-item a {color:#800000;}
but I need to specify the style to thos particular class ("city") of links so the style doesn't change throughout.
Can anyone help?
Pat
Contain the nav bar in a wrapper with an ID. Use descendent selectors to specifically target those links. For example -
#nav a { color:fuchsia; }
#nav a:hover { color:heliotrope; }
Now, the only links on the page that will have these weird colors are the ones that are here -
<div id="nav">
</div>
Similar Messages
-
How can you have two link styles on one page?
I have one style (formatted link style) for internal links in
my footer but I want a different style for the external links in my
mainContent. Is it possible to have two different "styles" of links
on one page? I tried creating a new set for the mainContent links
and being positioned underneath my footer link's styles, the "new"
mainContent link styles overrode the footer link style. Is there
another way of going about this?
Thanks anyone, JulieJulie:
> I'm just not code savvy.
As long as you permit yourself to offer this argument, you
will struggle
with Dreamweaver. If you are serious and want to improve, you
will have to
overcome your code-phobia.
What is in these two files?
> <link href="css/area.css" rel="stylesheet"
type="text/css" />
> <link href="css/footlinks.css" rel="stylesheet"
type="text/css"
> media="screen"
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Rock Artist" <[email protected]> wrote in
message
news:[email protected]...
> Murray, I was just looking over my code and noticed the
links in my footer
> are
> styled, in the first place, by a class I created in my
main.css (for all
> of my
> pages) called ".webdis" (nickname for webmaster and
disclaimer). I do see
> my
> link format style in the head of this document but am I
supposed to see it
> where the footer is (in the code)?
>
> If you look at the first external link (the only one I
have attached a
> link to
> so far):
> </p>
> <p class="contentlinx"><a href="
http://www.hotsprings.org/">Hot
> Springs
> Convention & Visitor's Bureau</a><br
/>
>
http://www.hotsprings.org/<br
/>
> </p>
>
> It took on same style as my footer links. I'm a little
frustrated, it just
> seems like it should be so simple. I'm ready to launch
this thing tonight
> and
> this is the only "little" thing I have left to do. I
hate to cheat and
> make
> each one of these site links a graphic and link it as a
graphic, but I am
> so
> ready to get this thing up.
>
> I'm just not code savvy. I am going to attach my code to
this reply and
> maybe
> you can tell me what I'm doing wrong. Thanks, Julie
>
>
>
>
> <!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>Area Interests</title>
>
> <link href="css/main.css" rel="stylesheet"
type="text/css" />
> <style type="text/css">
> <!--
> .contentlinx {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 14px;
> color: #336600;
> }
> -->
> </style>
> <link href="css/area.css" rel="stylesheet"
type="text/css" />
> <link href="css/footlinks.css" rel="stylesheet"
type="text/css"
> media="screen"
> />
> </head>
>
> <body>
> <div id="wrapper">
> <div id="header"></div>
> <div id="sidebar">
> <p align="center"><a
href="index.html"><img
> src="images/vert_nav_bar/home_button.jpg"
alt="navigation button to home"
> width="155" height="50" /></a><a
href="property.html"><img
> src="images/vert_nav_bar/property_button.jpg"
alt="navigation button for
> property" width="155" height="50" /></a><a
href="maps.html"><img
> src="images/vert_nav_bar/maps_button.jpg"
alt="navigation button for maps"
> width="155" height="50" /></a><a
href="gallery.html"><img
> src="images/vert_nav_bar/gallery_button.jpg"
alt="navigation button for
> photo
> gallery" width="155" height="75" /></a><a
href="gallery.html"><img
> src="images/vert_nav_bar/area_button.jpg"
alt="navigation button for area
> interests" width="155" height="75" /></a><a
href="contact.html"><img
> src="images/vert_nav_bar/contact_button.jpg"
alt="navigation button for
> contact
> us" width="155" height="75" /></a></p>
> <div id="sidephoto"><img
src="images/tree_flower.jpg" alt="garvan tree
> flower" width="145" height="275" /></div>
> </div>
> <div id="header2">
> <h2 class="style2">AREA INTERESTS</h2>
> </div>
> <div class="proptext" id="content">
> <p>HOT SPRINGS NATIONAL PARK, ARKANSAS</p>
> <div id="photofeature"><img
src="images/garvin_stream.jpg" alt="garvan
> gardens" width="275" height="218" /></div>
> <p align="left">America's first resort, also
referred to as "The
> Spa
> City", Hot Springs definitely has a pulse
> of its own. Visit the sites below to find out why this
is one of
> the
> most popular vacation destinations in the South.
Featuring world famous
> natural
> hot springs, historic bathhouse row, and thoroughbred
horse racing at
> Oaklawn
> Park. The perfect place to relax, the perfect place for
adventure, Hot
> Springs
> provides a year-round opportunity for outdoor
recreation, world-class bass
> fishing and fabulous water sport activities, hiking,
horseback riding and
> quartz crystal hunting. In fact, take a day trip to
Murfreesboro to the
> Crater
> of Diamonds State Park, the only diamond-producing site
in the world that
> is
> open to the public and try your hand at diamond hunting
or searching for
> 40
> other types of semi-precious stones, rocks and minerals.
Garvan Woodland
> Gardens, a 210 acre forested peninsula jutting into Lake
Hamilton with a
> showcase of floral landscapes, streams and waterfalls,
is a "must
> see". Hot Springs has a strong art community as
well. Enjoy artist's
> galleries, film-making events and musical venues all
over town. Did I
> mention
> historical architecture? There is too much to mention
here about this
> wonderful
> city, please see for yourself by visiting the local
sites below to see
> what's
> happening in and around town.<br />
> </p>
> <p class="contentlinx"><a href="
http://www.hotsprings.org/">Hot
> Springs
> Convention & Visitor's Bureau</a><br
/>
>
http://www.hotsprings.org/<br
/>
> </p>
> <p class="contentlinx">Facts About Hot
Springs<br />
>
http://www.hotsprings.org/media_room/news-detail.asp?news_id=9</p>
> <p class="contentlinx">City of Hot Springs<br
/>
>
http://cityhs.net/</p>
> <p><span class="contentlinx">The Greater Hot
Springs Chamber of
> Commerce<br />
>
http://www.hotspringschamber.com/</span><br
/>
> </p>
> </div>
> <div id="footer">
> <p><span
>
class="webdis">WEBMASTER | &
> nbsp;<a
href="disclaimer.html">DISCLAIMER</a></span></p>
> </div>
> </div>
> </body>
> </html>
> -
Text Link Styles not working in Footer Section
I have a master page with a footer that has three columns of navigation text links inside.
In order to match my design I have created a customer text link style for these links.
However when I preview my site (in muse and browsers) the roll over effect (should show an underline) doesn't work.
I've searched the forums and found that someone else had a similar problem and it was down to them having a paragraph and character style stacked on top of one another. However I have checked this on my links and this is not the case.
NOTE: I have already successfully managed to create a similar style that resides in a side bar navigation panel in some of the sites internal pages and these link styles are working fine.
So, I'm not sure if the file has become corrupt or if I'm missing something that I've done wrong?
One question I have is at which point to you apply the text link style?
1. By clicking on the line of text to select it?
OR
2. By clicking further into the text box; as if you were editing it, then selecting all of the characters in the word you want to make a link. With the word selected, click on the style name in the Character Panel to apply it?
OR
3. as with the above example, once you have selected all of the characters in the word you want to make a link. Click on the Hyperlink drop down arrow (from the main toolbar) and choose the style name you wish to apply, from the drop down box 'Text Link Style'
NOTE:
I'm running version v2.3, Build 50, CL 771675
AIR Runtime: 3.5.0.600
UPDATE:
I couldn't wait any longer, so I just deleted the text boxes and styles and re-created them both and they seem to work now. Lot of additional work though that I'd rather have not had to do.Sorry, I forgot to say, to see how the email link at the
bottom of the page should look please see www.bethhockley.com
Thanks,
Beth -
Text link styles not transferring in IE 5.2 for Mac
Hi,
My page www.bethhockley.com/ptihome2.htm uses two styles of
text link, both of which are defined in my external CSS
www.bethhockley.com/bethhockleychanged.css the text links look as
they should in all browsers barr IE 5.2 for Mac. My os is osx
10.3.9.
In IE10.3.9 the link [email protected] (on the blue bar
at the bottom of the page) shows up in the link style "commercial"
rather than in the link style "email"
Does anyone know why this is?
Thanks,
Beth HSorry, I forgot to say, to see how the email link at the
bottom of the page should look please see www.bethhockley.com
Thanks,
Beth -
Link Styles are not working properly
I have set the links styles in my top nav bar to be
Normal: BLUE
Hover: WHITE and BOLD
Visited: BLUE
Actve: WHITE and BOLD
The bold is working, but the color is not changing
Simular problen on the Vertical Nav Ban
Here the Hover and Bold do work, but not the active does not work
Normal: TAN
Hover: WHITE and BOLD
Visited: TAN
Actve: WHITE and BOLD
Here's a link to the page
http://www.imagine-y.com/Clients/TrevorSite/Trevor4When you use the link pseudclass in your css it has to be expressed in the correct order.
LoVe HAte
Link
Visited
Hover
Active
It doesn't matter that you have not expressed all four but the three that you have still need to be that way.
Anyway, try it, we have nothing to lose!
Martin -
Link Styles aren't displaying in Preview or Browser
I have created my Adobe Muse site - Desktop, Tablet & Phone however on the Contact Us page for the tablet and desktop all of the text is highlighted and underlined in blue.
I did create a new Link Style and assigned it to all of this text although when I open the site in browser or preview it all i see is blue.
The text is just a normal font in a text box like the rest of the text on the website. I dont understand why its all turning into links? I dont mind this information being links I just need it to not be blue.
PLEASE HELP ASAP!!!HI there.
It is on the following pages:
http://192.168.0.204:33333/Preview/pantry-magic/contact-us.html
http://192.168.0.204:33333/Preview/pantry-magic/tablet/contact-us.html
Thanks for your help.
Demi
Signature -
Can you edit the default link style in muse?
I'm not doing anything special, but haven't been able to change the default link style OR insert another link style to override it. Any help out there? Thx in advance.
Hi
You can change the link style or create a new one :
http://take.ms/p4xnO
Thanks,
Sanjit -
Help editing default link style in Muse.
I thought I was going to figure this out, but it's making me crazy. In Adobe Muse can you change the 'default link style'?
I've tried making a new style and applying it, but no matter what I do it won't stick. Any ideas would be helpful.Help with using Adobe Muse CC is better place to ask
This forum is about the Cloud as a delivery process, not about using individual programs
If you start at the Forums Index http://forums.adobe.com/index.jspa
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll -
Different links styles in body and footer?
Hello,
I want to set different links style for hyperlinks in footer than they are in body of the site. Is this even posible?
The problem is that body background is white, and footer background is dark brown. So there is no way that I can use the same links styles.
I know that there is "workaround" with linking text frames, but this is not what I want.
THANKS!
MatjazPlease refer to the Link Styles FAQ thread and apply different styles to your links in body and footer.
http://forums.adobe.com/thread/982968
Thanks,
Vinayak -
Link styles via CSS...
Hi,
I would like to control my link styles within my CSS panel,
but if I set up one set (up, over, blah, blah)...how about if I
want yet another style set for link text that's within a different
color cell? Is it possible? How?
Also, I have controlled background imagery and copy via CSS.
But I would like to add ALT tags to portions of the background
image. My properties inspector won't bring it up as an option due
to the CSS. Do I just have to work with the HTML instead of the
visuals?
-- Same situation for the 'hot spot' tool, and I really need
to use it but my bg image is unselectable due to it being inserted
via CSS. The Properties doesn't "see it". How do I get around that?
thank you!!
thanks!Pseudo-classes and container styles are what you need - here
are some
tutorials.
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"r_tist" <[email protected]> wrote in
message
news:fafjlv$q28$[email protected]..
> Hi,
>
> I would like to control my link styles within my CSS
panel, but if I set
> up
> one set (up, over, blah, blah)...how about if I want yet
another style set
> for
> link text that's within a different color cell? Is it
possible? How?
> Also, I have controlled background imagery and copy via
CSS. But I would
> like
> to add ALT tags to portions of the background image. My
properties
> inspector
> won't bring it up as an option due to the CSS. Do I just
have to work with
> the
> HTML instead of the visuals?
> -- Same situation for the 'hot spot' tool, and I really
need to use it but
> my
> bg image is unselectable due to it being inserted via
CSS. The Properties
> doesn't "see it". How do I get around that?
>
> thank you!!
>
> thanks!
> -
I have multiple link styles defined for a site, the links in the left column should underline on hover - I defined the style sheet a couple of months ago and it works. Here's the problem, I created a new page and added the link - it won't underline on hover. I have tried removing the style, adding the link, adding back the style, applying the style to just that one link, for some reason no matter what I try that one link won't take the style. Makes no sense to me. I have the same problem on another site - any help would be greatly appreciated!
this is the page: www.yhpark.com/gallery.html
and how I defined the link style:
.LeftColNav a:link {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #3F3F3F;
text-decoration: none;
text-align: LEFT;
.LeftColNav a:visited {
color: #3f3f3f;
text-decoration: none;
.LeftColNav a:active {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #3f3f3f;
text-decoration: none;
.LeftColNav a:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #3f3f3f;
text-decoration: underline;Atania wrote:
thank you! thank you! I switched the sequence and now all of the links
are behaving correctly (all of the time) -
You're welcome. :-)
Nadia
Adobe® Community Expert : Dreamweaver
http://www.perrelink.com.au
Unique CSS Templates | Tutorials | SEO Articles
http://www.DreamweaverResources.com
http://twitter.com/nadiap -
I have a web page with 2 navigations - one horizontal under
the header and the other located vertically down the left of the
page.
The text colour styles of each are different.
So I wanted to allocate seperate a:link a:visit a:hover
a:active to both navigations, to do this I have used the following
css:
For the horizontal navigation:
.table2 a:link, a:visited {
text-decoration:none;
color:#FFFFFF;
.table2 a:hover, a:active {
color: #8da2c4;
For the second navigation:
.table3 a:link, a:visited {
text-decoration:none;
color: #717578;
.table3 a:hover{
color:#333333;
However when uploaded, instead of the horizontal navigation
returning to white once visited, it turns grey - the colour of the
second navigation. The browser (IE) obviously has trouble
seperating the assigned link styles even though I have tried
targeting more specifically.
Does anyone know of a way around this, if there is a way at
all??!
Much appreciatedPseudo-classes and container styles are what you need - here
are some
tutorials.
http://www.mako4css.com
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"(_seb_)" <[email protected]> wrote in message
news:[email protected]...
> Lou28 wrote:
>> I have a web page with 2 navigations - one
horizontal under the header
>> and the other located vertically down the left of
the page.
>> The text colour styles of each are different.
>> So I wanted to allocate seperate a:link a:visit
a:hover a:active to both
>> navigations, to do this I have used the following
css:
>>
>> For the horizontal navigation:
>>
>> .table2 a:link, a:visited {
>> text-decoration:none;
>> color:#FFFFFF;
>> }
>> .table2 a:hover, a:active {
>> color: #8da2c4;
>> }
>>
>>
>> For the second navigation:
>>
>> .table3 a:link, a:visited {
>> text-decoration:none;
>> color: #717578;
>> }
>> .table3 a:hover{
>> color:#333333;
>>
>>
>> However when uploaded, instead of the horizontal
navigation returning to
>> white once visited, it turns grey - the colour of
the second navigation.
>> The browser (IE) obviously has trouble seperating
the assigned link
>> styles even though I have tried targeting more
specifically.
>>
>> Does anyone know of a way around this, if there is a
way at all??!
>>
>> Much appreciated
>>
>
> change:
> .table2 a:link, a:visited {
> to:
> .table2 a:visited, .table2 a:link {
>
> and do the same for .table3 links.
>
> --
> seb ( [email protected])
>
http://webtrans1.com | high-end web
design
> Downloads: Slide Show, Directory Browser, Mailing List -
What is going on here? When I edit the default link style in the hyperlinks drop down box at the top of the muse design page i cannot get the new style to apply to a link?
The new link style is listed, but when I try to apply it to a link on the site, it does not work
Yes I can use the states panel, but the link styles is supposed to be a shortcut
What is the trick? What am I missing?The style is saved in the same boz under hyperlinks as the default link style
But when I create a link, I cannot get the new style to be applied
I found this last night
First create the link style, and then create the textbox with the text in it. Once done, select the text (not the textbox), and then make it a link (this will pick up the default link style). Now if you apply the link style to the textbox it will pick up the new style. The catch here is to make the text a hyperlink by selecting the text. Check this short video here: http://screencast.com/t/JWGGXlNsl
Is there another solution?
Thanks
Kirby -
Hi.
I have many different links of my page. I have set up the
hover, visited ect. However, I would like different links to look
different and act differently on the same page (colours, fonts, and
sizes)
Please advise as to how to have different link styles on same
page. Thank youPseudo-classes and container styles are what you need - here
are some
tutorials.
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"dreamweaver07" <[email protected]> wrote in
message
news:fq9s8t$sdj$[email protected]..
> Hi.
>
> I have many different links of my page. I have set up
the hover, visited
> ect.
> However, I would like different links to look different
and act
> differently on
> the same page (colours, fonts, and sizes)
>
> Please advise as to how to have different link styles on
same page. Thank
> you
>
>
> -
How can you have multiple, different css link styles?
Every time I want to create a different looking link just for some copy, it always reverts to the A:link style, even if I create a new style that looks just the way I want. How can I create multiple link styles and then be able to select the one I want at any time???
I would greatly appreciate any help.
AllanHow are you applying the different styles to your links? In most cases, it's easiest to wrap the link(s) in an element, like a < div > that has a class or ID assigned, for instance class="altLinks". Then, set up the CSS style names like:
.altLinks a:link
...and so on. Then, the styles would just apply to links within the element(s) with class "altLinks". Here's a tutorial that might also help:
http://www.golivecentral.com/pages/tutorials.shtml#basicCSSlinks2
Otherwise, if you're still having trouble, post back with a link to your page so we can see what's going on. -
I've created a Link Style that worked just fine on one block of text, but when assigned to another block, has no effect. I've deleted the offending block and started over, but the assigned Link Style still won't activate when viewing in the browser.
Thanks, Sachin. Quitting and restarting Muse allowed me to continue, but I haven't had a chance to try and duplicate the problem. Right now, I have a more serious issue-I don't want to have to create separate versions of my site for tablets and phones since I haven't needed them before, and I can't figure out how to generate the Desktop code without the device sensing feature that points tablets to www.lightroom.com/tablet/index.html. Any advice?
Rob Reiter
Fine art printing for photographers and other artists
The LightRoom 2263 Fifth St. Berkeley, CA 94710
(510) 649-8111 (888) 649-8111 toll-free
Hours: 9-6 M-F and Saturday by appointment
[email protected] http://www.lightroom.com
Become a Fan of The LightRoom on Facebook http://tinyurl.com/yf3xnue
Visit our web site and sign up for our newsletter! You'll find info on new services,
gallery shows, industry news and specials only available to subscribers.
Maybe you are looking for
-
How to use signed classes/Jars in Java Stored Procedure?
I am using java encryption API in my java application that I want to deploy as java stored procedure. The API is kept in the signed jar files. The Application is running in the MS-DOS environment but not in Oracle8i. It gives me following error. java
-
Configuring Server DNS for Mail on Google Apps
I'm trying to configure the DNS on my Snow Leopard Server for mail.mydomain.com to point to Google for Google Apps mail hosting. I thought I could go into mydomain.com and put an alias record to point to ghs.google.com, but that's no longer working.
-
I have not updated my iPod in a few years and usually have my iPhone 5 synching. I would like to update my music on my iPod - but it does not even register and I get a "bubble" coming up saying "USB DEVICES DISABLED - Unplug the device using too much
-
Itunes opens...then shuts down
I will open up my itunes, it will show in the window that it is configuring the gapless-playback for EVERY song in my library. Sometimes it only gets through 8 songs, then it quits unexpectedly. I've let it run before and it's gotten up to 500+. Othe
-
VBUND(Trading Partner) field in BSEG from Tcode FB50
How to VBUND(Trading Partner) field in BSEG from Tcode FB50 ? ( through program way) is it possible? Thanks, Sridhar