PDA

View Full Version : Justifying Text



nootkan
11-07-2005, 10:04 PM
Does anyone know the proper way to justify text (but not the h3 or img) within a style?
.feature{
padding: 0px 0px 10px 15px;
font-size: 85%;
}

.feature h3{
padding: 15px 0px 5px 0px;
text-align: center;
}

.feature img{
float: left;
padding: 10px 10px 0px 0px;
}

Nootkan

jscheuer1
11-08-2005, 05:50 AM
It depends on the markup. Easiest way, going with what you already have, is to add a:


.feature div {
text-align:justify;
}

Then just enclose all the text you want justified within a div or divs within the feature element.

nootkan
11-08-2005, 08:59 AM
Thanks for that. I was close with my trys. :D