Web Analytics Made Easy -
StatCounter .inputbox and customizing just one - CodingForum


No announcement yet.

.inputbox and customizing just one

  • Filter
  • Time
  • Show
Clear All
new posts

  • .inputbox and customizing just one

    Alright, I have the following defined for all my input boxes:

    .inputbox {
    color: #343A58;
    background: #b4c6d9;
    border: 1px solid;

    This works good but how can I apply a different set of rules to a single input box?
    The problem is that I use Joomla! and the input box code that I want to modify is included through php and does not allow me to change it's class in html, so is there a way for me to just overwrite this particular input box's CSS without extensive code changes in Joomla?

    Thanks for your help!

  • #2
    Perhaps. I suggest you read up on the cascade and specificity.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
    Java != JavaScript && JScript != JavaScript
    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.


    • #3
      If you have a link to the page in question it may help, so we can look at the HTML.