0

I have a web site with a header on the top and a menu on the left. Every time I click on element of the menu it links to an anchor, but the (classic) problem is that the anchor is below the header. I want to change the CSS of the anchors but the id of each element is dynamic.

Here's my anchor

<div id="#{name}"></div>

Here's my not working CSS:

<style>
##{name}{
my css...

}
</style>

How can I apply my CSS to the div "#{name}" ?

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
Jean
  • 601
  • 1
  • 10
  • 26

0 Answers0