RE: [WSG] hr / or CSS3 Border Background
Hi, tee said: However, seeing that HTML 5 has given hr tag a new purpose: http://dev.w3.org/html5/spec/Overview.html#the-hr-element http://dev.w3.org/html5/spec/Overview.html#flow-content-0 quote: The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book. In HTML5 doesn't the section element do that job? To be honest, I've always felt hr seems a strange element to use in any circumstance. Chris This message has been scanned for malware by SurfControl plc. www.surfcontrol.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] position relative or margin?
Hi, Which is the right method to position a logo in the header. with position :relative;top:10px; left:10px; or margin:10px 0 0 10px; pls rell me the pros and cons thanks in advance -- Thanks and regards Naveen Bhaskar gtalk : navi.menon yahoo/msn : navi_menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] hr / or CSS3 Border Background
Chris Taylor wrote: Hi, tee said: However, seeing that HTML 5 has given hr tag a new purpose: http://dev.w3.org/html5/spec/Overview.html#the-hr-element http://dev.w3.org/html5/spec/Overview.html#flow-content-0 quote: The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book. In HTML5 doesn't the section element do that job? To be honest, I've always felt hr seems a strange element to use in any circumstance. Well, I work arse-backwards from the way most books on Web design approach things. I gather content first, then mark it up with HTML so that it reads sensibly without CSS, only then adding structural elements and CSS. In that context, it sometimes make sense to add HR elements... Cordially, David -- *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] position relative or margin?
Naveen Bhaskar wrote: Hi, Which is the right method to position a logo in the header. with * position :relative;top:10px; left:10px;* or *margin:10px 0 0 10px;* ** pls rell me the pros and cons ** Depends on how you want the logo to interact with the rest of the header. Relative positioning moves the content of the element, but as far as the rest of the header is concerned it has not moved. Using margins, the entire logo moves, jostling any element that's beside it. All positioning methods have their uses... Cordially, David -- *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] position relative or margin?
On 10/08/2009, at 10:35 PM, Naveen Bhaskar wrote: Hi, Which is the right method to position a logo in the header. with position :relative;top:10px; left:10px; or margin:10px 0 0 10px; pls rell me the pros and cons With 'position: relative' the element takes up the space in the document where it originally would have been and is then shifted 'relative' to that original position. Margins can be used to push an element around but the space it takes up in the document is where it is visually. This is particularly noticeable with negative margins. If you set a negative top margin on an element then the element that follows it in the document will also move up the page and the gap between them will be the same as what it would have been originally. If you use relative positioning and set 'top' to a negative value there will be a bigger gap between the positioned element and the following element. This is because the following element will set its position in relation to where the positioned element would have been before positioning. http://snadden.com/sandbox/relative.html *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Checking CSS3 Support [hr / or CSS3 Border Background]
http://www.modernizr.com/ From: Bushidodeep field.ni...@gmail.com Does a JS/DOM script exist for checking CSS3 support across user-agents? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] Checking CSS3 Support [hr / or CSS3 Border Background]
Hi, Many Thanks. Just what was desired. C On Aug 10, 2009, at 1:20 PM, Ross Bruniges wrote: http://www.modernizr.com/ From: Bushidodeep field.ni...@gmail.com Does a JS/DOM script exist for checking CSS3 support across user- agents? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] position relative or margin?
Return Receipt Your [WSG] position relative or margin? document: wasJulia Dalbo/ACT/IMMI/AU received by: at:11/08/2009 08:49:36 AM Important Notice: If you have received this email by mistake, please advise the sender and delete the message and attachments immediately. This email, including attachments, may contain confidential, sensitive, legally privileged and/or copyright information. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. DIAC respects your privacy and has obligations under the Privacy Act 1988. The official departmental privacy policy can be viewed on the department's website at www.immi.gov.au. See: http://www.immi.gov.au/functional/privacy.htm - *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
[WSG] position relative or margin?
Return Receipt Your [WSG] position relative or margin? document: wasmark.gr...@centrelink.gov.au received by: at:11/08/2009 11:41:44 ** IMPORTANT: This e-mail is intended for the use of the addressee and may contain information that is confidential, commercially valuable or subject to legal or parliamentary privilege. If you are not the intended recipient you are notified that any review, re-transmission, disclosure, use or dissemination of this communication is strictly prohibited by several Commonwealth Acts of Parliament. If you have received this communication in error please notify the sender immediately and delete all copies of this transmission together with any attachments. ** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***