Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Give CSS to a tag less text present in a div. Re: Give CSS to a tag less text present in a div.

#96880
Zeriz
Member

I’m sorry, I have less experience with the MCV Razor engine, so I’m not sure if I can help any further now that I see what the real problem is. I guess you could make jQuery search the documents for the id “#footer”, and make it go to the 7th a-attribute to give it an unique ID – but that sounds like a very clumsy way to do this.

I think you should look for the code part that processes this HTML to the document and see if there is any possibility to give it an unique ID from there. :)