|
| |
|
|
Amadey
Posts: 3 Joined: 2/2/2007 Status: offline
|
Attribute Selector problems in IE7 - 2/2/2007 9:42:13
nothing important, just trying to do a custom skin ~ that's supposed to be fun right ;0 I thought it would be nice to test in IE7 as it just might be possible to offer/use skin for IE7 too but... I got halted at the first hurdle the site I would like to customise a wee bit uses tables and lots of them, and is minus any logical nesting structure in places, there are some classes set but never where you need them ;) - so the only way I can target a particular set of links is via a unique table attribute.. great, I thought, IE7 supports attribute selectors now, so this should be a breeze but I may have found one of it's oddities - It does support the attribute selector on most elements, BUT it doesn't seem to support selection using certain attributes and only on tables from what quick tests have shown :( For the <table> element Heres what works: [summary=".."] [custom=".."] Here's what doesn't: (just about everything that could be useful!) [height=".."] [width=".."] [border=".."] [cellspacing=".." [cellpadding=".."] the ".." can be either alpha or numeric (the unique attribute that I need to use is height :o) this list is perhaps not exhaustive, just the ones I tried anyway thought I would post here in case question ever comes up and I would be interested to hear if anyone has read anything about why this is, or if it's a reported bug already.. ___________________ Links Deleted
< Message edited by Mike54 -- 2/8/2007 9:20:38 >
|
|
|
|
Tailslide
Posts: 5915 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Attribute Selector problems in IE7 - 2/2/2007 10:02:06
Where are you putting these attributes - in the stylesheet? I don't think cellspacing and cellpadding are valid anymore - which DOCTYPE are you using for this? Certainly height, width and border work fine far as I know but then I only use tables for data rather than layout.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|