2 replies [Last post]
follyfoot
Offline
newbie
Last seen: 13 years 15 weeks ago
Joined: 2007-06-12
Posts: 2
Points: 0

Hi All,

I'm new to CSS and have come across a rather annoying problem!

I am trying to indent some text and instead of the usual indentation only the first line of the text is being indent with all subsequent lines of text aligning to the left hand margin. For example;

_______This is line 1 [Please note the " _ " is not visible]
This is line 2
This is line 3

Does anyone know how to solve this, it is happening in both Firefox and IE

the CSS code that I am using is;

#leftnavmiddle {
background-color: #CCCCCC;
width: 150px;
}

#leftnavmiddle a {
font-size: 11px;
color: #993300;
text-decoration: none;
text-indent: 10px;
}

Many Thanks for any help

Folly

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 3 years 10 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

looks like you need to wrap

looks like you need to wrap all your text in a paragraph tag and do a left padding or margin

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

follyfoot
Offline
newbie
Last seen: 13 years 15 weeks ago
Joined: 2007-06-12
Posts: 2
Points: 0

you my man... are a star!

you my man... are a star!