Solved

CSS Layout

Posted on 2012-03-21
1
185 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add image on html mail 6 27
Add shadow behind div 5 25
Ouput in html in powershell 2 21
Hiding Adsense on Mobile Devices 2 29
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

828 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