close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CSS NAV HELP | ONE / TWO WORD LINKS SPACING

Thread began 11/11/2013 4:14 am by Daniel | Last modified 11/11/2013 8:37 am by MikeyT | 348 views | 1 replies |

Daniel

CSS NAV HELP | ONE / TWO WORD LINKS SPACING

Hi

Ok so I have come accross a problum, i'm trying to replicate this nav at melonwebdesign.co.uk and cant seam to get it to look the same. I'm not sure why as I have less links and mine still dont look the same.

As you can see in mine the gaps between the dotted border are much bigger and the hole nave is was to spread out.please see my attemp at danielwaddon.com/design

Sign in to reply to this post

MikeyT

Try the following CSS:

#nav {
float: right;
width: 750px;
clear: both;
margin-bottom: 15px; /* added a bottom margin of 15px */
}

#nav li a {
display: block;
width: auto;
color: #FFF;
text-decoration: none;
font-size: 12px;
text-align: center;
margin: 6px 14px; /* changed right and left margin to 14px */
padding: 6px;
font-weight: bold;
line-height: 2px;
}

In order to remove the last right hand dotted border, you can try applying a class to the last list item in your nav's HTML markeup. Then, write some CSS such as:

.last {
border-right: none;
}

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...