inherit
142554
0
Jun 4, 2014 22:42:41 GMT -8
• absinthe
fallallover
39
July 2009
rocoyo
|
Post by • absinthe on Jan 20, 2011 20:24:00 GMT -8
i have been looking for this for quite some time, i want something to help me CSS easily.
problem is I am trying to attribute CSS to things that don't like CSS e.g. things without ID tags or a Class.
been trying to use a script to add a classname but take the login input field on the main page
i came up with
document.getElementsByName("username")[0].className += " username";
but I am stumped now so asking y'all if you have any ideas?
|
|
inherit
130228
0
Jul 11, 2024 19:19:59 GMT -8
Charles Stover
1,731
August 2008
gamechief
|
Post by Charles Stover on Jan 31, 2011 20:01:05 GMT -8
.loginform input[name=username] { /* CSS here */ }
|
|