Re: [WSG] paragraph indent
G'day Lukasz Grabun wrote: According to the spec (http://www.w3.org/TR/REC-CSS2/text.html#indentation-prop) it indents only the first line: "This property specifies the indentation of the first line of text in a block". So, the answer was and is correct. Thanks Lukasz. I tested my solution in MSIE6 and Firefox before sending it too. They both behaved per spec, indenting only the first line of each paragraph. If the intention was to indent the whole paragraph, my suggestion would have been along the lines of p { margin-left: 1em } Regards -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] paragraph indent
Tatham Oddie napisał(a): How about p { text-indent: 1em } This will indent the whole paragraph, while Alan is only trying to indent the first line. According to the spec (http://www.w3.org/TR/REC-CSS2/text.html#indentation-prop) it indents only the first line: "This property specifies the indentation of the first line of text in a block". So, the answer was and is correct. -- Łukasz Grabuń, http://www.grabun.com/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] paragraph indent
Bert, >> I wanted to get my paragraphs to indent on a site so I tried the most >> intuitive thing: >> p:first-line{padding:1em} > How about > p { text-indent: 1em } This will indent the whole paragraph, while Alan is only trying to indent the first line. Thanks, Tatham Oddie Fuel Advance - Ignite Your Idea www.fueladvance.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] paragraph indent
G'day I wanted to get my paragraphs to indent on a site so I tried the most intuitive thing: p:first-line{padding:1em} How about p { text-indent: 1em } Regards -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **