Link whole div in Layout
Permalink
Hi there
I am currently building a new page with C5.7 and just 'finished' the home page. There is just one thing left. As you can see onhttp://neu.buchertiefbau.ch there are several boxes with a bit of text in it. These boxes are made by a new layout of two times four columns. Which works great.
If i link the text in one of these boxes, users have to click exactley the text. I'd like to link the whole box instead the p tag only.
Any ideas how to implement this? Is there a possibility to place the a tag arround the div instead placing it in the div?
Thanks a lot.
I am currently building a new page with C5.7 and just 'finished' the home page. There is just one thing left. As you can see onhttp://neu.buchertiefbau.ch there are several boxes with a bit of text in it. These boxes are made by a new layout of two times four columns. Which works great.
If i link the text in one of these boxes, users have to click exactley the text. I'd like to link the whole box instead the p tag only.
Any ideas how to implement this? Is there a possibility to place the a tag arround the div instead placing it in the div?
Thanks a lot.
That's correct. There where no links at the moment. I just linked the first tile.
I added two new twitter bootstrap layouts to the content area with 4 columns. Added a class to all 8 sections and added a little bit of javascript code to the functions.js to make these areas square and position the texts with line-height in the middle of each square.
so nothing special.
I added two new twitter bootstrap layouts to the content area with 4 columns. Added a class to all 8 sections and added a little bit of javascript code to the functions.js to make these areas square and position the texts with line-height in the middle of each square.
so nothing special.
I would build it as a unordered list with the padding on the a element.