[WSG] should ebay listing alike be tabular layout?
Hi I have a question, should ebay listing alike be tabular layout? Have a small job comes in that client asks to convert an ebay alike auction layout (which is done in table) to css. I think it's tabular justifiable and therefor do not wish client to spend unnecessary money for me to do the conversion. Thought I get a second opinion from you experts. Thanks! tee ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] on P H1-H6 Block Elements
Hi All. i just been informed that P Hn Elements are Inline Element. How Come? how can those elements be inline, and the user-agent render them as Block-level elements? http://www.w3.org/TR/html401/struct/global.html#edef-H1 http://www.w3.org/TR/html4/struct/text.html#edef-P this information shocked the ground im standing on. i used to think that the HTML modul algorithem serves us 2 kinds of tags for diferent porposes, and if P is an inline tag, so there is no Block-level elemnt for discrobing Paragraphs with a Scope and porpotions of a block level element. can anyone plz explain to me how come a P Hn tags can be inlines??? Thank you NeoSwf **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] on P H1-H6 Block Elements
Shlomi Asaf wrote: i just been informed that P Hn Elements are Inline Element. How Come? how can those elements be inline, and the user-agent render them as Block-level elements? http://www.w3.org/TR/html401/struct/global.html#edef-H1 http://www.w3.org/TR/html4/struct/text.html#edef-P can anyone plz explain to me how come a P Hn tags can be inlines??? They are *not*. Paragraphs and headings are block-elements, but they can only have inline-elements as content. That's actually what W3C says. And from another page... Block-level elements are those elements of the source document that are formatted visually as blocks (e.g., paragraphs).[1] --- I think the following list is still pretty good... The following are defined as block-level elements in HTML 4.0: [Strict only] ADDRESS - Address BLOCKQUOTE - Block quotation DIV - Generic block-level container DL - Definition list FIELDSET - Form control group FORM - Interactive form H1 - Level-one heading H2 - Level-two heading H3 - Level-three heading H4 - Level-four heading H5 - Level-five heading H6 - Level-six heading HR - Horizontal rule NOSCRIPT - Alternate script content OL - Ordered list P - Paragraph PRE - Preformatted text TABLE - Table UL - Unordered list The following elements may also be considered block-level elements since they may contain block-level elements: DD - Definition description DT - Definition term LI - List item TBODY - Table body TD - Table data cell TFOOT - Table foot TH - Table header cell THEAD - Table head TR - Table row The following elements may be used as either block-level elements or inline elements. If used as inline elements (e.g., within another inline element or a P), these elements should not contain any block-level elements. BUTTON - Button DEL - Deleted text INS - Inserted text MAP - Image map OBJECT - Object SCRIPT - Client-side script --- regards Georg [1]http://www.w3.org/TR/CSS21/visuren.html#q5 -- http://www.gunlaug.no ** 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] on P H1-H6 Block Elements
Shlomi Asaf wrote: i just been informed that P Hn Elements are Inline Element. How Come? how can those elements be inline, and the user-agent render them as Block-level elements? http://www.w3.org/TR/html401/struct/global.html#edef-H1 http://www.w3.org/TR/html4/struct/text.html#edef-P this information shocked the ground im standing on. You wouldn't be shocked if you read the DTD properly. I'm assuming that this is what you're referring to: !ELEMENT (%heading;) - - (%inline;)* -- heading -- !ELEMENT P - O (%inline;)*-- paragraph -- the (%inline;)* part refers to the type of elements that the H and P *are allowed to contain*, and does NOT refer to the H and P themselves. http://www.w3.org/TR/html401/sgml/dtd.html#block defines what elements are block level, and you'll see that %headings is listed there. So unshock yourself, all is as it should be... P -- Patrick H. Lauke __ re·dux (adj.): brought back; returned. used postpositively [latin : re-, re- + dux, leader; see duke.] www.splintered.co.uk | www.photographia.co.uk http://redux.deviantart.com __ Web Standards Project (WaSP) Accessibility Task Force http://webstandards.org/ __ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **