UL links does not work the way I want
Hello
Just trying to learn more about CSS and I have a problem.
I have an unordered list vertical and used the li tag do a "box" around each link (border background/red red/black text)
I then did the text in each box a link by using the menu "edit/make the connection" option. It works very well.
So next I tried to create a rule composed (li, a: hover) to change the color of the font in black and red background color - basically reverse the colors of the non-pointe State. So now stationary, while the text changes to black as I want it in the background everything passes to red as soon as I select this color in the rule?
Here are some photos to show what I'm trying to explain.
NO - HOVER
Li a: hover tag
I guess I'm not using the li,: hover tag correctly and am sure someone can put me right.
In addition, using the ' menu edit/make link option will make only the text a link but I would like to area it entire boxes of eah element as part of the link - how do you do that? What I have to do each item an image?
And here's the CSS.
@charset "utf-8";
{body
Background: url (.. / _images/Background.jpg);
}
{html, body
margin: 0px;
padding: 0px;
text-align: center;
}
{p}
do-family: "Times New Roman", Times, serif;
do-size: 18px;
color: #FFF;
text-decoration: none;
}
H1 {}
do-family: "Times New Roman", Times, serif;
font size: 24 PX.
color: #FFF;
margin-top: 0;
text-decoration: none;
}
{#wrapper}
text-align: left;
Width: 1000px;
position: relative;
margin-right: auto;
left margin: auto;
}
#header {}
height: 200px;
Width: 1000px;
Clear: both;
}
#header img {}
margin: 0px;
padding: 0px;
height: 200px;
Width: 1000px;
}
#mainContent {}
height: 900px;
Width: 765px;
float: right;
low-margin: 45px;
padding-right: 25px;
padding-left: 10px;
}
#sideBar {}
height: 900px;
Width: 200px;
float: left;
Clear: left;
}
#footer {}
background-color: #060;
height: 200px;
Width: 1000px;
Clear: both;
}
UL {}
padding-left: 5px;
margin: 5px 0px 0px;
}
Li {}
do-family: Georgia, "Times New Roman", Times, serif;
font-size: medium;
line-height: 1.5em;
make-weight: bold;
text-transform: uppercase;
Color: #F00;
Width: 125px;
border: medium framed #F00;
list-style: none;
top of the margin: 5px;
margin-bottom: 5px;
Background: #000;
padding-left: 10px;
}
Li a {}
Color: #F00;
text-decoration: none;
}
Li, a: hover {}
Color: #000;
background: #F00;
}
Thank you
Remove the comma. You're style of an element; not two.
Li a: hover
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
Tags: Dreamweaver
Similar Questions
-
BUY the link does not work, the browser opens a blank page...
Hello! How to buy Photoshop CS6? BUY the link does not work, browser opens the blank page
Hello
You may please check out the link below to buy CS6.
In this case, always a blank page opens, I'll ask you try another web browser or delete the history and the current web browser cookies and try again.
Hope this will help you.
Kind regards
Hervé Khare
-
How can I cancel a subscription and get a refund?
An application does not work, the "assistance of the developer page" link provided by itunes is broken, and email provided by the application developer's sole means of support, but no response in 3 weeks to multiple addresses.
The page you posted has since how to stop an auto-renewal subscription to renew again (see, change, or cancel your subscription - Apple Support).
To contact iTunes support try http://reportaproblem.apple.co or https://www.apple.com/emea/support/itunes/contact.html
-
Shortcut of mouse to "Open the link in a new tab" help "Middle-click on the link" does not work on 10.0.1, it worked on version 9.0.1.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
to turn off printer 2 faces, and the author of the previous question link does not work
Please read this post then provide some details. What operating system? Windows, you can change the default value by going into the directory devices and printers, click with the right button on the Officejet 6830, select Printing Preferences, and choose the desired default values, apply.
-
I gave this e-mail address to answer to another email user but my password has been changed and nt theres initially asked
zynga took my moms account and changed password for facebook and e-mail, she followed the steps to change the password but the link does not work as it changes the password of my account, she tried this link 3 times now is there anything else she can try.
Hello
· What operating system is installed on your computer?
· What browser do you use to connect to the internet?
· Which email service provider you are talking about?
Because the problem is linked to facebook I suggest you to post your query on facebook forum for assistance:
-
As mentioned above does not work the Adobe Customer Support Portal link (to the good Student Edition order fulfillment).
After goingt to: www.adobe.com/go/eduverify and by clicking on the Adobe Customer Support Portal link a page saying: "" Adobe Customer Support Portal is an update of the system to implement major system improvements and will be temporarily unavailable starting at 15:00 DST of the Pacific on Friday, October 9".Today is August 10! Site is down for more than a year now!
Please help me, I want to just sign my Student Edition Lightroom 5 and get the serial number.
MattJimbo we had a maintenance period of this weekend. This impact on the availability of certain services. My apologies for the inconvenience.
-
I can't install my dreamwever the download link does not work
I can't install my dreamwever the download link does not work and I need to install, I already pay for it
Try using another browser.
-
MSN now social api link does not work
Https://support.mozilla.org/en-US/kb/add-social-features-your-browser MSNnow link does not work for me. Is this a problem by msn or make a mistake here?
Hi, unfortunately MSN announced that it may have been discontinued. You can see the discussion for the here as well https://support.mozilla.org/en-US/kb/.../5198
This has been updated and we are sorry for the inconvenience.
-
Qosmio X 875-Regza-link does not work
REGZA-link does not work. When I connect to laptop to Toshiba TV HDMI cable, there is no icon regza-link on TV and I can't control the media player to the TV remote.
At your Qosmio laptop factory settings?
With other words do you use with preinstalled OS that you got with it? -
Satellite A660 BIOS update link does not work
Hey, I got a message today (on Toshiba tempro) that the BIOS update is available.
Unfortunately, the link does not work.I hope someone reads this part of the administration of technical assistance.
Hello
For PSAW3E:
http://support.toshiba-tro.de/Tedd-files2/0/BIOS-20100920154827.zipRun as admin.
-
Re: where download update BIOS - toshiba link does not work!
Where to download the latest version of the BIOS for U500 PSU5EE?
On the toshiba page link does not work!I need the latest BIOS because I installed Windows 7 64-bit and sometimes I get BSOD and selfrestarts - event ID 41 63 task category - PC, and I discovered that there is possible problem in CPU that is not fully 64 - bit compatible and update of the BIOS might help solve this problem.
When I click to download the link, it shows me: 404 - Not Found.
In my view, there is a temporary server problem. Wait a few moments and try again. Sometimes it happens
-
When I hit send file, send it to this page or send link does not work
When I hit the file send send this page or send the link does not work
* original title - my file, send a page or the link does not work *.
Hello
Welcome to the Microsoft Answers Forum!
Please provide us with more information.
· What on the computer email client do you use?
Windows 7 is not no matter what installed integrated e-mail client that is required to send links. You may need to either install Windows Live Mail or Outlook.
You can visit the below mentioned link to download windows live mail.
http://download.live.com/wlmail
If you want to install Outlook and then you will need to post your question in the newsgroup to the Office to get the best resolution. Please see the link below:
http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx
I hope this information helps. Please get back to us if you have any other questions on this subject.
Thanks and greetings
-
My Windows 8 Expertzone download link does not work
Download link does not workHello
I finished Windows 8 Associate level training through Microsoft Expertzone and I received a free copy of windows 8, but the download link does not work any help please?Thank youHello Fadi Estevan,
This is not the right site for questions about Microsoft ExpertZone.
Contact them at the * address email is removed from the privacy *If you are not in the United States, go to the link here ExpertZone and enter your country.
Then go to the bottom of the page "contact us".I hope this helps.
Marilyn
-
Pavilion G6 touchpad driver download link does not work
I own a HP Pavilion G6 model 2010ax.
I tried to download the drivers for touchpad for the model from the following link on the Web of HP India site: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-106935-1&cc=in&dlc=en&lc=en...
A page is not displayed an error message is displayed by clicking on the download button.
Final download link: http://ftp.hp.com/pub/softpaq/sp56001-56500/sp56465.exe
Is there another place where this driver can be downloaded? Or should I use the latest orders from synaptics Web site. Even if it provides drivers to download, synaptics Web site recommends using drivers that are released by the manufacturer of the laptop.
Hello:
It seems that the driver link does not work for all phones g6-2000.
I would use the model series g6-2100, which should work perfectly (and the download works also).
Otherwise, feel free to use the one directly from synaptics.
Paul
Maybe you are looking for
-
How can I sort by song when searching?
Hello When I search in my itunes library, the view shows only results sorted by album. As I buy songs quite often not in an album, but as a simple, most of the albums are not available, where the titles are being sorted by "unknown album". It's quite
-
Portege M400 and 3.60 BIOS
Ubuntu Linux running on the M400 and it seems that almost all BIOS version 3.60 prerequisite are broken because there are errors of the quirk on the CPU APIC. Perhaps Microsoft could circumvent the APIC tables broken for awhile but things with Linux
-
System performance 'Windows' and wireless mouse problems
I have a HP Pavilion dv7-3 with a mouse Microsoft Wireless Mouse attached model 4000. So far it has been working well. Now the top scroll button on the right will not work. Down works great. This takes place when I'm on the internet. Brand x cl
-
Reader of Compaq Evo N180 with Toshiba DVD - ROM SD-C2502
Drive will not open cd audio or data will open video dvd
-
Envelopes of Word 2002 order print correctly
In Word 2002, arrested envelopes print properly - does not print the return address and delivery address printed at the top of the envelope. I tried to go to tools/letters & envelopes/mailing labels/Options to define the distances, but it does not