CSS - Format text within html elements

0

I have the following problem, I need to format a pager, but I can not touch the html tags, since it is a very old page ... The code is as follows:

div {
  margin-top: 20px;
  margin-left: 20px;
}

div a {
  padding: 10px;
  border: 1px solid gray;
}
<div>
  1
  <a data-swhglnk="true" href="/Administrar/DelegacionDetalleGr?page=2">2</a>
  <a data-swhglnk="true" href="/Administrar/DelegacionDetalleGr?page=3">3</a>
  <a data-swhglnk="true" href="/Administrar/DelegacionDetalleGr?page=4">4</a>
  <a data-swhglnk="true" href="/Administrar/DelegacionDetalleGr?page=5">5</a>
  <a data-swhglnk="true" href="/Administrar/DelegacionDetalleGr?page=2">&gt;</a>
  <a data-swhglnk="true" href="/Administrar/DelegacionDetalleGr?page=123">&gt;&gt;</a>
</div>

The problem is that I'm not able to put the selected page with borders because it has no html tag ... does anyone have any idea what I can do?

Many thanks and best regards,

    
asked by Adrian 10.04.2018 в 13:48
source

0 answers