Solved

CSS Layout

Posted on 2012-03-21
1
178 Views
Last Modified: 2012-06-27
layoutHello, I have two links, which are too close. I want them one is on the left, the other is on the middle somewhere of the page.
Thanks.
<div id="nav">
		
			<a href="/">Lookup Tables</a>
			        
		<a href="/">Metric Mapping</a>
	</div>

Open in new window

0
Comment
Question by:zhshqzyc
1 Comment
 
LVL 38

Accepted Solution

by:
Tom Beck earned 300 total points
ID: 37750018
You could just adjust the padding to push the second one away from the first.
<style>
#nav a{
    padding-right:40px
}
</style>
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now