Solved

Why wont paragraphs justify?

Posted on 2009-07-12
1
314 Views
Last Modified: 2012-05-07
Please see this site: www.koolungahotel.com.au

I want the paragraphs to justify on both edges instead of left. I've tried using the CSS but won't work, can anyone see where I've gone wrong?
0
Comment
Question by:TonyCabone
1 Comment
 
LVL 12

Accepted Solution

by:
Chad Haney earned 500 total points
ID: 24836964
Here is your problem:
p {
	font-size: 1em;
	padding: 0px 20px 5px;
	text-align: left;  /*Change this to justify   The text you have is in a p tag, so this is overriding your previous call*/
}

Open in new window

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
html Uncheck Checkbox 2 25
Are these icons a web font? 3 21
Hiding Adsense on Mobile Devices 2 30
message Alert on an empty search 10 22
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

830 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