RE: [WSG] Unstyling named anchors
For IE and Firefox on PC, the styles I apply to a:link don't effect anchors. See example > http://www.damienhill.com/tests/links/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Noone Sent: Tuesday, 1 November 2005 7:52 AM To: wsg@webstandardsgroup.org Subject: RE: [WSG] Unstyling named anchors Thanks guys. Patrick is right. I'd already validated the code and it came up fine. The reason I've run into this little problem is because, unlike HTML, XHTML seems to require that the tag surrounds some text. Perhaps an would do it? The named anchor is picking up the color of the a:link style. I've currently got your standard style layout as below. I was wondering if simply adding an a {} style with the right color would be appropriate. a:link {} a:visited {} a:hover, a:active {} How are other people preventing this, apart from hiding their anchor tags (which I suppose is a fair enough solution. -Original Message- From: Patrick H. Lauke Thierry Koblentz wrote: > "name" is used for old browsers. And I'm pretty sure it validates > against a Strict DTD (HTML or XHTML 1.0). > Please correct me if I'm wrong here... No, you're indeed correct. Up to XHTML 1.0 Strict it's perfectly valid to use the name attribute on anchors. It's only XHTML 1.1 that deprecated it. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** 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] Unstyling named anchors
How have you applied your link styles? a { ... } Or a:link, a:visited { ... } If you style links without specifying the :link pseudo-class, then you select all anchors - whether or not the href attribute is present. Hope that solves the problem. Cheers, Damien -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Noone Sent: Monday, 31 October 2005 4:04 PM To: wsg@webstandardsgroup.org Subject: [WSG] Unstyling named anchors Hiya, When using XHTML strict named anchors need to surround some link text, yes? Does anyone have a standard approach to unstyling named anchors I this case which will work cross-browser? I'd tinkered with a[name]:hover but I'm loathe to create a style for this. I don't think hiding them is th eoption either. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Allsopp Sent: Thursday, 18 August 2005 2:11 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Semantic Calendar Hi, Check out the hcalendar microformat http://microformats.org/wiki/hcalendar It's based on the widely used iCalender format from the IEEE. Two of the founders of Microformats, Tantek Celik and Eric Meyer are speaking at Web Essentials in Sydney at the end of September. http://we05.com Tantek in particular will be looking a the issues of semantics in detail john On 18/08/2005, at 1:20 PM, Scott Swabey ((Lafinboy Productions)) wrote: > G'day all > > I have been tinkering with a calendar generation script (PHP if > relevant), and have developed two versions. One uses a semantically > correct table for layout, the other uses ordered lists to hold and > layout the day names and month dates. After working on this for a > while and thinking about it for wa too long I am faced with the > quandary - which of the two versions is _more_ semantically correct? > Does a calendar (single month) qualify as tabular data, are ordered > lists a better fit, or should I be looking at another option? > > Any feedback/opinions would be appreciated. > > Regards > > Scott Swabey > Lafinboy Productions > www.lafinboy.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 > ** > > John Allsopp style master :: css editor :: http://westciv.com/style_master support forum :: http://support.westciv.com blog :: dog or higher :: http://blogs.westciv.com/dog_or_higher Web Essentials web development conference http://we05.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 ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** 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] WE05
> You should try to make sure you actually are using a header as a header. > This is quite a mess because many web pages don't really fit the simple > h1 > h2 > etc hierarchy. It works well for academic papers, but wenever > I go to to build a website I always find myself confused as to what > should be the . Many web pages that I make don't have one because > the user already knows what the pages is about and adding another title > just takes up valueable real estate. I've read different opinions on what should be in the h1, and there are a number of different options/practices. 1. Site title (ex. John's website) 2. Page/document title (ex. Contact me) 3. Combination (ex. John's website - Contact me) 4. Something else? Which do you think is the most appropriate? Or does it depend on the site? There's a good article on Andy Budd's site about headings: http://www.andybudd.com/archives/2005/02/heading_elements_semantics_and_the_ spec/index.php Damien ** 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] Floating dl problem - Indented text
I have run into a problem with IE6 (surprise!) when floating a to the right of content that is not contained in a tag. On the first line of the content, there is a 10 pixel indent that isn't meant to be there. The code works fine in Firefox. Example code: Caption goes here Some content goes here that isn't contained in a tag... I realise that it is incorrect to include content without a tag, but a CMS we are currently working with is forcing us to make allowances for this situation. Does anybody know what is causing this? Is it a known bug in IE and is there a solution? An example of the problem I am having: http://www.damienhill.com/tests/floats/ Thanks, Damien Hill ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **