Good day all, I hope that you could help me with a problem that I'm experiencing in Dreamweaver CS6. I'm at the mark up stage at this point and and am trying to create a hyperlink but all of this this has been to no avail at this point and time. I can't seem to get the hand cursor and rollover links color on my home. What could I be doing wrong here...here's my code: - <div id="home"><a href="#">home</a></div>
-
-
#mainContent #home {
-
background-color: rgba(0,0,0,0.5);
-
height: 16px;
-
width: 48px;
-
margin-top: 3px;
-
position: absolute;
-
z-index: -2;
-
left: 84px;
-
top: 309px;
-
font-family: Arial, Helvetica, sans-serif;
-
font-size: 9px;
-
font-weight: bold;
-
text-transform: uppercase;
-
color: rgba(255,255,255,1);
-
line-height: 16px;
-
text-align: center;
-
border-radius: 10px;
-
}
-
4 2778
If you want a different style for when you "rollover" the link, more commonly known as hover, you have to use the hover pseudoclass to apply a new style.
I'm a novice in HTML5 and CSS3, could you tell how I could achieve this? Most of my other hyper links (all except for one more to this one) work fine so do their hover effects, I set their hover effect in dreamweaver cs6 by pressed ctrl+j, under category I headed to links (css)and set my rollover link color therein to yellow. Like I said that for the most part they work out fine but for some reason they not working here and I don't know why.
Here's an example of another div where i'm experiencing problems. Here I get the hand cursor but the yellow rollover color doesn't appear? -
<h1><a href="#">Terms of Use</a> | <a href="#">Privacy Policy</a> | <a href="#">Advertise With Us</a></h1>
-
-
#footer #mainColumns #subscription h1 a {
-
color: rgba(255,255,255,1);
-
font-family: Arial, Helvetica, sans-serif;
-
font-size: 11px;
-
font-weight: bold;
-
}
-
Like I said earlier, you need to use the hover class. - a:hover { color:yellow; }
here in 1 problem
In #home u have given z-index=-2 thats why its not working so remove it after that ancor properties will automatically work...
fore more help.<link removed>
Sign in to post your reply or Sign up for a free account.
Similar topics
by: schmendrick |
last post by:
Is it possible to disable a control with Text (Textbox, combobox etc)
but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i
hit the edit key, not a...
|
by: Mark Hahn |
last post by:
I am using wxPython (wxWindows) and need a simple non-styled text control
with an arbitrary image background. Since wx does not support transparent
colored backgrounds on controls, I'm being...
|
by: GeneSZ |
last post by:
How can I make a stored procedure which has a output parameter with
text data type? My procedure is:
CREATE PROCEDURE try
@outPrm text Output
AS
select @outPrm =(select field1 from...
|
by: Paul M. |
last post by:
Hi,
This might be more of an HTML question, but I'm encountering it via
a javascript function. I'm trying to do rollovers without using
images. Here's some of the code:
<script...
|
by: kim |
last post by:
Hello! Here, in brief, is my problem.
Access 2002. I need to export to a csv text file with text delimiters
on every field. I find that if I save the original data in Excel and
make sure the...
|
by: Marty Cruise |
last post by:
Does anyone know of an wait-type cursor that can show text beside the
hourglass? I'd like to display status messages beside the hourglass while
not allowing the user to click anything...
|
by: Rod |
last post by:
Hi,
Does anyone know of a way to combine an icon with text on a pushbutton
without venturing too deeply into the murky world of the graphics library.
The icon is a gif loaded from a file but...
|
by: Imicola |
last post by:
Hi,
I want to use primary key IDs in my tables which are autonumbers, with a text prefix. I.e. for table tblVillage, the ID's will by V1, V2, V3... and for table tblHumanCases, the ID's will be...
|
by: christine chong |
last post by:
now i'm using asp .net c# develop a system. i wish to using calendar control with text box, that when my cursor is at the text box then calendar just appear. then the date i select from calendar is...
|
by: tokcy |
last post by:
Hi,
I have created dynamic row with text box i.e. initialy i have only one text box and add button when i clicked on add button it create another text box. and i want to append the values of...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |