[WSG] paragraph indent

2005-07-03 Thread Alan Trick
I wanted to get my paragraphs to indent on a site so I tried the most intuitive thing: p:first-line{padding:1em} It did nothing. I tested a couple other things to make sure I was doing the right thing, but it appears that I can only change the font values. Then I tried this:

Re: [WSG] paragraph indent

2005-07-03 Thread Bert Doorn
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

RE: [WSG] paragraph indent

2005-07-03 Thread Tatham Oddie
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

Re: [WSG] paragraph indent

2005-07-03 Thread Lukasz Grabun
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

Re: [WSG] paragraph indent

2005-07-03 Thread Bert Doorn
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

RE: [WSG] Will HTML be nicer to PHP than XHTML?

2005-07-03 Thread Paul Bennett
Subject: Re: [WSG] Will HTML be nicer to PHP than XHTML? Personally, I believe this is one of the strong argumens for XHTML. PHP is very sloppy, and when you combine that with another sloppy language, HTML, the mess is tremendos. For small projects and new people it's not much of an issue,

[WSG] IE's doing it again

2005-07-03 Thread Wayne Godfrey
I've started building a new template to get my main content section as the first item in the source and solve some of my clearing problems. Works great everywhere, except, now image this, Internet Deplorer. The problem seems to be within either the nav or subnav lists that follow one another.

[WSG] font size in a table

2005-07-03 Thread Hope Stewart
I created a simple webpage containing a few paragraphs, a list and a table (for tabular data). For some reason that I cannot for the life of me work out, the font size of the text is much bigger in the table than elsewhere on the page. (Tested in FF, Safari, Opera/mac). It's driving me nuts! I

Re: [WSG] font size in a table

2005-07-03 Thread russ - maxdesign
You have an incomplete doctype which makes browsers go into quicks mode and then font size inheritance is ignored inside a table. Russ I created a simple webpage containing a few paragraphs, a list and a table (for tabular data). For some reason that I cannot for the life of me work out, the

Re: [WSG] font size in a table

2005-07-03 Thread Hope Stewart
Thanks, Russ! I've fixed the doctype on the real page and it works beautifully now. The page is on a site with a non-web standards design that I've inherited. It's due for a revamp in a couple of months when I plan to introduce standards. I thought I'd start to experiment with this new page but

Re: [WSG] textarea: why rows and cols?

2005-07-03 Thread Patrick H. Lauke
Scott Swabey (Lafinboy Productions) wrote: I declare the height/width of textareas in CSS and don't use cols/rows in the markup. I haven't come across any problems in [ limited ] testing so far. Unfortunately a textarea without rows and cols attributes won't pass validation for xhtml 1.0

Re: [WSG] textarea: why rows and cols?

2005-07-03 Thread Peter Asquith
Patrick H. Lauke wrote: I agree with the thread starter that the visual display size of a textarea should really be defined via CSS. If these were maxrows and maxcols, it would be a case for having it in the HTML, but as it stands this seems to muddy the line a bit too much... The need

Re: [WSG] textarea: why rows and cols?

2005-07-03 Thread Patrick H. Lauke
Peter Asquith wrote: The need for the rows and cols attributes can be seen once you imagine the page without any CSS styling. Similarly, the requirement for the size attribute on a text input element and width and height on img the element. Ultimately CSS may not be available on all the

RE: [WSG] Image Thumnail Advice

2005-07-03 Thread Webmaster
Hi Cole, Your mistake can also be step 3. If you're on a Windows box then you're quite possibly dealing with conflicting image resolutions. If you create a new image in Photoshop you'll notice that it's most likely set to 72dpi. I believe Windwos default is 80(?). I then recommend using

RE: [WSG] SV: digest for wsg@webstandardsgroup.org

2005-07-03 Thread Webmaster
On this note, does anyone know how to dynamically recreate all the other image alignment options currently available through HTML? E.g. absmiddle, text-top etc., or are we stuck with right/left and then margin settings? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [WSG] textarea: why rows and cols?

2005-07-03 Thread Peter Asquith
Patrick H. Lauke wrote: Personally, I find this type of answer quite dangerous, as it leads to a slippery slope. Yes, the default rendering of browsers may be different when CSS is not available, but does that mean we then still have to stuff visual cues in HTML? The same rationale would

RE: [WSG] font size in a table

2005-07-03 Thread Webmaster
Hi Hope, This was bugging me for ages too. I don't know _why_ it does it but my workaround to-date has simply been to implicitly set font-size for p, td and li. My table and list text usually display larger when I only set the font-size in the body element. I've asked this question before but is

Re: [WSG] font size in a table

2005-07-03 Thread Prabhath Sirisena
On 7/4/05, Webmaster [EMAIL PROTECTED] wrote: Hi Hope, This was bugging me for ages too. I don't know _why_ it does it but my workaround to-date has simply been to implicitly set font-size for p, td and li. My table and list text usually display larger when I only set the font-size in the

Re: [WSG] font size in a table

2005-07-03 Thread Hope Stewart
On 4/7/05 1:23 PM, Webmaster [EMAIL PROTECTED] wrote: This was bugging me for ages too. I don't know _why_ it does it but my workaround to-date has simply been to implicitly set font-size for p, td and li. My table and list text usually display larger when I only set the font-size in the body

RE: [WSG] font size in a table

2005-07-03 Thread Webmaster
Yes I had no idea that doctype could effect CSS rendering like this. I was always scraed to use XHTML 1.0 strict but the combination below looks good. It will become my new standard. Thanks for asking the question. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [WSG] IE's doing it again

2005-07-03 Thread David Laakso
Wayne Godfrey wrote: I've started building a new template to get my main content section as the first item in the source and solve some of my clearing problems. Works great everywhere, except, now image this, Internet Deplorer. The problem seems to be within either the nav or subnav lists

Re: [WSG] font size in a table

2005-07-03 Thread russ - maxdesign
Paul, To switch to standards compliant mode, you must have a full and complete doctype but it does NOT have to be XHTML at all. Hope could just have easily changed from an incomplete HTML4.01 Transitional doctype to a complete version. This is not a criticism of Hope, as she may have had other