Changed my DIV id's to classes and got a "mixup"...

Discussion in 'HTML & Website Design' started by Mr.Dog, Dec 17, 2012.

  1. #1
    Hello,

    I've had repeating DIVs with the same id's. So in order to solve the problem, I changed them to classes. Simply substituted "id" with "class"... and I got myself a mixup.

    Could this be possible or is there some other "bug"? Can't seem to find the problem. All I did was to re-name. I should work technically, as I know classes can be repeated, as opposed to id's...
     
    Mr.Dog, Dec 17, 2012 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #2
    Queue broken record: Without seeing the site in question...

    ID's do have 'master' inheritance rights, classes do not... Also, stupid question, did you change all # to . in your CSS? Though in case I haven't said it enough times in your past two dozen threads:

    Queue broken record: Without seeing the site in question... Without seeing the site in question... Without seeing the site in question... Without seeing the site in question... Without seeing the site in question... Without seeing the site in question...
     
    deathshadow, Dec 17, 2012 IP
  3. Mr.Dog

    Mr.Dog Active Member

    Messages:
    912
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Solved the issue, was a small glitch :)
     
    Mr.Dog, Dec 18, 2012 IP