Attribute Selectors





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

12
Date Submitted Mon. Oct. 30th, 2006 2:23 PM
Revision 1
Beginner Mattkins
Tags CSS | DHTML | JavaScript
Comments 3 comments
Allows you to hide all elements on an HTML page by their tag name. Extremely handy in getting around the "Windowless Elements" problem in IE, which is a bug that puts certain elements, most commonly select boxes, on top of any other element, no matter what. As you can imagine, this causes real problems with DHTML drop-down menus and such like. This is the simplest and quickest fix I've come up with, I simply set this function to run alongside the drop-down and all of the select tags vanish before a menu drops, then I run the show function when the menu retracts.
2
Date Submitted Sun. Oct. 22nd, 2006 6:57 PM
Revision 1
Helper fastmike
Tags CSS
Comments 3 comments
Hi. i found this css file very useful for all the newbies who use frontpage2003 text. Just try this css code and specially for color text.
(Explanation on how to upload a css file in frontpage for newbies)
assuming that you already have index.html and you have some text in it describing also.
in frontpage open file new and then delete all the tagson the page and just copy and paste the code which i have posted. save the page as a .css file. after that go to your index page or any other page you would like to link with this css file. in the Index page go to format and then style sheet links and then click on add and find the .css file and click on and select for all pages or just for the index page and then click ok. have fu
-10
Date Submitted Tue. Oct. 17th, 2006 3:25 PM
Revision 1
Helper jeremec
Tags Attribute | div | JavaScript | Name
Comments 7 comments
One way to group elements in HTML is to assign them a name attribute. Multiple elements can share a name, then you can easily access them as an array using the getElementsByName() method.

The problem is that some DOM parsers aren't keen on, or are ignorant to, this use of the name attribute, so a simple object.name returns undefined. In my case, it was a DIV in Firefox 1.5 that was behaving this way.

There is a simple work around for this that works in Firefox, I haven't tested it in others. It is to use the getAttribute method that is an extension of any element object.

This ability can be useful if you have a function that performs a transformation on the active element, and another transformation on closely related elements.
8
Date Submitted Thu. Aug. 24th, 2006 8:31 AM
Revision 1
Helper axsaxs
Tags Attribute | CSharp | read-only
Comments 0 comments
Set the read-only attribute of a file to true or false.
22
Date Submitted Fri. Aug. 18th, 2006 6:50 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 1 comments
Get computed Width of an HTML Element
15
Date Submitted Fri. Aug. 18th, 2006 6:48 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | JavaScript
Comments 3 comments
Get computed Height of an HTML Element
15
Date Submitted Sat. Aug. 5th, 2006 6:22 AM
Revision 1
Beginner Jo3y
Tags CSS | IE
Comments 2 comments
Not really a hack, but rather a workaround for layout problems with IE.
Conditional
13
Date Submitted Fri. Aug. 4th, 2006 9:46 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | HTML
Comments 3 comments
Using styles we can add scrollbars for large table where the space is a constraint
31
Date Submitted Fri. Aug. 4th, 2006 9:43 AM
Revision 1
Syntax Master sundaramkumar
Tags CSS | HTML
Comments 3 comments
a simple css way to add shadow to tables and Divs
14
Date Submitted Mon. Jul. 24th, 2006 10:20 PM
Revision 1
Helper svachon
Tags CSS | DOM | JavaScript
Comments 2 comments
Here's a library to manage CSS class names on DOM elements.