navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Attribute Selector problems in IE7

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Attribute Selector problems in IE7
Page: [1]
 
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

(in reply to Amadey)
jaybee

 

Posts: 13959
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Attribute Selector problems in IE7 - 2/2/2007 10:36:36   
quote:

trying to do a custom skin
A custom skin for what? Normal web site, MySpace, Wordpress, Joomla.etc etc.... they're all different.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Attribute Selector problems in IE7
Page: [1]
Jump to: 1





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