![]() |
|
#1
|
|||
|
|||
|
Content Widget not linking
Hello
A simple query I hope. I have created my first content widgets and put them on my site. But the links in the widgets do not work. I have put the script line in the body of my index.tpl file and the include line is in the index.php file. Why aren't the links working? Is it to do with where I put the script line? If I put it in the head then what code would go in the body? Thanks. |
|
#2
|
|||
|
|||
|
Problem in css?
Actually I should add that the script line is within a box. I just tested it outside of this div and it worked. So it's a problem with my css I think. I'm trying to created rounded corners to my boxes and this is the code I got from a book. Any ideas where I am going wrong?
Mark up <div class="box"> <h3>Top DVDs</h3> <ul> <li><script src="http://www.awin1.com/wshow.js?s=130791"></script></li> <li><script src="http://www.awin1.com/wshow.js?s=130890"></script></li> </ul> </div> CSS code: .box { float: left; width: 180px; margin-bottom: 10px; background: url(../images/div-bottom-180x700.gif) no-repeat bottom left; } .box h3 { margin: 0; padding: 6px 8px 4px 10px; font-size: 115%; color: #333; border-bottom: 1px solid #E0CFAB; background: url(../images/h3-bg-180.gif) no-repeat top left; } .box ul { margin: 0; padding: 14px 10px 14px 10px; list-style: none; text-align: center; } .box ul li { margin: 0 0 6px; padding: 0; } |
![]() |
| Thread Tools | |
| Display Modes | |
|
|