Re: [WSG] dfn and a: Which Order?

2007-04-25 Thread Michael Turnwall
I agree that it should be adfntext/dfn/a since the text is actually a definition. --Michael Turnwall Mordechai Peller wrote: Semantically, which is better: dfna/a/dfn or adfn/dfn/a My thoughts are the latter, as the dfn is closer to the word or phrase to which it's referring

Re: [WSG] H1 font not set in IE

2007-07-17 Thread Michael Turnwall
Nick Roper wrote: Hi, We are making some changes to an existing site for a client - basically converting to CSS as far as possible. I'd appreciate it if someone could take a look at this page: http://dev.logical.co.uk/castlewelding/final/gates_railings.php The font for the h1 should be

Re: [WSG] an inline element (inside a block element) sibling of another block element

2007-07-24 Thread Michael Turnwall
Julin Landerreche wrote: Hi all, Suppose: div pI deserve to be a block/p aI don't deserve to be a block/a /div The "a" element has a block parent ("div") as element. But it also has a sibling element ("p"), which is a block element. *Would you say it's valid?* I've been

Re: [WSG] Inline style works but css does not

2008-08-01 Thread Michael Turnwall
If you are on a mac, Textmate is the best choice. -- Michael Turnwall for all your web code needs turnwall.net David Fuller - magickweb wrote: I agree with you there however I have been known (usually when im half dead from coding too long) to look @ a misplaced space or + or whatever

Re: [WSG] H1 and the img tag

2008-08-25 Thread Michael Turnwall
You can just use text-indent to move the text off the screen and then put a background image into the H1 tag. -- Michael Turnwall for all your web code needs turnwall.net Schalk Neethling wrote: Hi there everyone, I was wondering. There is a general practice to use text replacement

Re: [WSG] W3C Validation Question

2008-08-26 Thread Michael Turnwall
Can you site any documentation that states theh opening HTML tag is optional? -- Michael Turnwall for all your web code needs turnwall.net David Dorward wrote: On Tue, 2008-08-26 at 10:02 -0400, Joseph Taylor wrote: Well for starters you're missing your opening html tag

Re: [WSG] W3C Validation Question

2008-08-26 Thread Michael Turnwall
Nevermind, just looked it up myself. Optional in HTML but xHTML. -- Michael Turnwall for all your web code needs turnwall.net Michael Turnwall wrote: Can you site any documentation that states theh opening HTML tag is optional? -- Michael Turnwall for all your web code

Re: [WSG] Images Paragraph Width

2008-08-29 Thread Michael Turnwall
What about a _javascript_ solution? Find the width of the image and give the paragraph tag a width to match. -- Michael Turnwall for all your web code needs turnwall.net Aldona wrote: Hi, I have a problem which I feel like I should know but apparently don't. :-) I have an image

Re: [WSG] pos- relative or margin?

2009-01-08 Thread Michael Turnwall
People use position:relative instead of margins to help avoid margin collapse. Here's some links in case you aren't familiar with margin collapse. http://www.w3.org/TR/CSS2/box.html#collapsing-margins http://www.andybudd.com/archives/2003/11/no_margin_for_error/ Michael Turnwall for all