Teaching myself CSS - Can anyone help me with my navigation?
First, I must say that I (and trial & error) have taught myself everything I thus far know about web design. I've never submitted my code to be critiqued in a forum so I'm hoping it's not a horrible mess.
That being said, I'd love it if someone could assist me in figuring out how to get my "sub navigation" to look the way I want it to. I've only put basic text in it's general place for the moment, instead of attempting a million things & cluttering up my code any more than I already have.
Basically, I want the sub navigation to appear (to the right) when the user hovers over each of the 4 respective large navigation images. I want it to appear outside of the main content, or rather outside of the sidebar in which the main navigation is placed. (eventually I plan to figure out how to code the whole hidden/show on hover thing...but that is my secondary concern to placement at this time. def wouldn't mind tips for that also though!!)
I've included a link to my test site so that you can see all code, images involved. (i've uploaded all related files to the server) If that doesn't work, please let me know what else you need.
In advance, thank you so much!
http://www.thefawngroup.com/testing/index.html
I'd investigate using the "spry vertical menu' which ships with Dreamweaver. yes you will need to alter the css BUT you will quickly have a good basis for your navigation.
There are plenty of people around here, especially Gramps, who knows the DW spry stuff inside out and will help out if you get stuck.
First get a basic spry vertical navigation onyour page >Insert>Spry>Spry Menu Bar>Choose vertical option.
Go into code view and change the spry html structure to as below: (You can copy and paste the code below inplace of the code that is put there automatcally).
<ul id="MenuBar1" class="MenuBarVertical">
<li><a class="MenuBarItemSubmenu" id="navImageOne" href="#">Item 1</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" id="navImageTwo" href="#">Item 2</a>
<ul>
<li><a href="#">Item 2.1</a></li>
<li><a href="#">Item 2.2</a></li>
<li><a href="#">Item 2.3</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" id="navImageThree" href="#">Item 3</a>
<ul>
<li><a href="#">Item 3.1</a></li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
</ul>
Open the linked spry css file and change the width of the below css selector to the same width as your large navigation image (I've set it at 300px)
ul.MenuBarVertical
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: 300px;
Change the below css selector to match the width of your large nav image.
ul.MenuBarVertical li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 300px;
Change the margin of the below css selector to as below and change the width to 150px (this will be the width of your submenus)
ul.MenuBarVertical ul
margin: 30px 0 0 340px;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 150px;
left: -1000em;
top: 0;
Change the width of the css selector below to 150px as shown
ul.MenuBarVertical ul li
width: 150px;
Change the height and width of the css selector below to match that of your large navigation image (I've set them to 300px)
ul.MenuBarVertical a.MenuBarItemSubmenu
background-repeat: no-repeat;
background-position: 95% 50%;
height: 300px;
width: 300px;
That should get you a step closer to where you need to be. Test in browser.
You should have 3 large boxes on the page which when moused over turn blue and a submenu flicks out to the right.
Now add the following css selectors. One for each of your large Nav images. Change - yourNavImageOne.gif - to the name of your image. If the image is in a folder named 'images' then add that before the image name - images/yourNavImageOne.gif. Do the same for yourNavImageTwo.gif and yourNavImageThree.gif
#navImageOne {
background-image: url(yourNavImageOne.gif);
background-repeat: no-repeat;
#navImageTwo {
background-image: url(yourNavImageOne.gif);
background-repeat: no-repeat;
#navImageThree {
background-image: url(yourNavImageOne.gif);
background-repeat: no-repeat;
Now in design view you should see your navigation images.
To get the roll-over effect add the below css and change the image to the rollover image that you want to appear when your large Nav image is moused over.
#navImageOne:hover {
background-image: url(yourNavImageOne.gif);
background-repeat: no-repeat;
Add the addition roll-over css for your other images:
#navImageTwo:hover {
background-image: url(yourNavImageOne.gif);
background-repeat: no-repeat;
#navImageThree:hover {
background-image: url(yourNavImageOne.gif);
background-repeat: no-repeat;
Similar Messages
-
can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!
There's a whole lot to read in your post, and frankly I have not read it all.
Having said that, this troubleshooting guide should help:
http://support.apple.com/kb/TS1538
In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it. -
Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how to resolve it. This is my problem:
Have downloaded for example: Queen – Bohemium Rhapsody from a compilation album as well as a few complete Queen Album CDs into the iTunes library and then put them into playlists,
When I go onto my phone and select Queen on the MUSIC app using Songs tab at the bottom of the screen it will display all Queen songs and their resective Alum pics, that is all those not in a complilation album, .
If I know the song title I can select the songs tab and find the song that way,
I’ve tried fiddling with the settings in the iTunes app by going to ‘get info’ tab and trying to sort the problem out that way but am not having much luck.What I want the phone to do is show, for example all Queens songs including those in compilation albums. Can this be done, would be grateful for any ideas on how it can be done, that is if ic can be done, any ideas
Thanks for your helpTry assigning Queen as the Album Artist on the compilations in iTunes on your computer.
-
Hey, when I connect either my ipod or ipad to itunes I get the prompt 'itunes was unable to load data class information from sync services. Reconnect or try again later. Can anyone help me with syncing my devices?? Thanks in advance
I am having the same issue, anyone else ?
-
"It is formatted incorrectly, or is not a format that iBooks can open". Can anyone help me with this message of a book that I purchased on iBooks, read, highlighted in the book and now I can't open it anymore. Please help!!!
Mine does the same thing occasionally, is your phone jailbroken? Sometimes it will work if you delete the book and reinstall it or put your phone into airplane mode then turn it back off.
-
I can't find the 2G, 3G and LTE options after updating to iOS8.1, can anyone help me with this? I'm using iPhone5s
I have check on my service provider about the correct APN settings, but unfortunately doesnt work still..
-
I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?
Hello,
That means it can find the Hard Drive, or can't find the things needed for booting.
See if DU even sees it.
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.) -
Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?
The figures you mention only make sense on your intranet. Are you still using the same wireless router. The verizon one is somewhat limited as far as max wireless-n performace. For one thing it only has a 2.4 radio. I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.
-
When my screen saver has been on a while, I have to use the cursor to "rub out" part of the screen saver to see my login section. Can anyone help me with this?
I don't have a solution for you, but just wanted to let you know I used to have the exact same problem. I resolved it (for the most part....about 90% of the time, anyway) by adjusting the screensaver and power settings to never let the computer go to sleep.
-
(The iPhone "Named" cannot be restored at this time because the iPhone software update server could not be contacted or is temporarily unavailable.)
can anyone help me with this issue, every time i try to restore it will come up like this error message.Restore the iPhone when connected to iTunes by cable.
Still the same TS1275?
Is your iPhone jailbroken?
Or
Has your computer ever been used to jailbrake or downgrade (Tinyumbrella) any iPhone? -
When typing the name of the contact I want to send a text message to, names from my contact list no longer pop up as suggestions. Can anyone help me with this?
There's always a way to reset the device jmn33! Thanks for keeping us in the loop. To process a full reset/restore on the device please visit http://vz.to/12TLCsR. Please keep us posted once this is completed, thanks!
MatthewS_VZW
Follow us on Twitter @VZWSUPPORT -
My search bar for my iTunes library no longer works. Also, the menu bar is no longer visible. Noticed this problem last Saturday. This might be an issue with my desktop, and not iTunes itself Can anyone help me with this?
Press Ctrl-B to toggle the menu bar on and off.
When you say that the "search bar for my iTunes library no longer works" can you be more specific? The operation of the search function has changed in iTunes 12, essentially having two very distinct modes:
when Search Entire Library is checked, entering a search string will generate a dropdown of all matching items within your whole library, from which multiple operations are available via context menus
when Search Entire Library is unchecked, entering a search string creates a filtered view of whatever your current focus is (e.g., if you're looking at a playlist the filter applies only to items in that playlist) with none of the dropdown options as in the first case -
Can anyone help me with getting the best setting for me system
can anyone help me with getting the best setting for me system on cpufan it says my temp is 38c but on corecentre it says 42c can anyone help get my system overclocked any more but keeping it stable as well thanx in advance for the help
my corecenter temp sometimes says im at 60 cel at idle....and i have the most recent update...i would rely on speedfan for temp control...core center seems to always read 3 degrees higher than speedfan on my pc....
i wouldnt be too concerned...those temps are pretty low to begin with. -
I have updated to the latest version of iPhoto. But now iPhoto will not let me amend the preset text in the text boxes.
the text is highlighted for a nano second but it will not stay highlighted so that I can add my own text.
can anyone help me with this issue.
Many thanksYou might try using the add-on 'NoSquint' which allows numerous zoom options specific to each page you visit & keeps your settings - https://addons.mozilla.org/en-US/firefox/addon/nosquint/
If you want to go back to 3.6x, you will find it here:
http://www.mozilla.com/en-US/firefox/all-older.html
In most cases you can simply "upgrade" (meaning downgrade) directly from the installation. It would be a good idea to save your passwords & bookmarks just to be on the safe side. -
Can anyone help me with advice for a replacement hard drive
Hi there,
Can anyone help me with advice for a replacement hard drive and RAM upgrade for my Mac Book Pro 5,3
Its 3 years old & running Snow Leopard 10.6.8
I do a lot of audio & movie work so performance is important.
The logic board was replaced last summer & I was advised to replace the hard drive then...oops
Anyway it has limped on until now but is giving me cause for concern...
I have found a couple of possibilities below...so if anyone does have a moment to take a look & help me out I would be most grateful
http://www.amazon.co.uk/Western-Digital-Scorpio-7200rpm-Internal/dp/B004I9J5OG/r ef=sr_1_1?ie=UTF8&qid=1356787585&sr=8-1
http://www.amazon.co.uk/Kingston-Technology-Apple-8GB-Kit/dp/B001PS9UKW/ref=pd_s im_computers_5
Kind regards
NickThanks guys that is so helpful :-)
I will follow your advice Ogelthorpe & see how I get on with the job!!! Virgin territory for me so I may well shout for help once my MBP is in bits!! Is there a guide for duffers for this job anywhere??
& yes in an ideal world I would be replacing my old MBP but I'm just not in a position to do that at the moment....let's hope things pick up in 2013
All the very best
Nick
Maybe you are looking for
-
Problem with Wine, NVidia and fullscreen games
Hi, I'm writing about a problem i recently noticed with wine, nvidia gpu and fullscreen 2d games.Basically the problem is as follows - i am running arch with the latest kernel and nvidia drivers on Thinkpad T61 with NVidia Quadro NVS 140M. I have a p
-
Why when i open mail on iPad i can't see it at work on windows
when i look at emails at home on my ipad they dont show up the next day at work on my windows computer. if i dont open them then i can see them but i open them they dissapear. can anyone help me with this? thanks
-
Dear All, Can you Please tell how to install a software SQL Server 2012 from the Host to my Guest OS Windows Server 2008R2 in my Virtual Machine? I am using VMPlayer and have already created a VM using the Windows Server 2008R2. I just need help in i
-
Problem In Portal Installation NW2004S SR 1
Hi , Am trying to install NW2004s on my localsystem but am hung with the following errors ... Please tell me what should be done to bridge this error. The useful answers will be treated aka SDN way <b>The ErrorLog is :</b> INFO 2007-02-07 17:21:29 C
-
The signal is always strong and nobody else has any problems with it.