A CSS coding error is causing the links on the divs in the code below not to work except for the first one https://bankruptcycanada.com/bankruptcy-calculators
The css style applied to each div is sidebar-content-library. I think I need to clear the floats for each div.
How can I do so? I would appreciate a pointout because I’ve tried everything and I can’t get the hyperlinks on the divs after the first one to work.
Please EXPLAIN what “doesn’t work” means. In what way do the links not “work”. They are indeed performing the way they are coded, so I do not know what you expect to see. A make-believe screen shot might help clarify a description.
When I looked at the site earlier, I did not find “sidebar-content-library” in the HTML for the page that you linked to. That added to my uncertainty to your expectations.
Its because you are floating everything and the background of the heading div is sitting on top of all your links. You could add clear:both to ,heading or perhaps better to unfloat those links and use another containment mechanism.
Well i redesigned the hyperlink list as long as there is no ID with the left-content name it should work, I did copy and paste everything on that web page and pasted my code over that list there appears to be small changes to some of the content for example the headings arn’t blue and the list below those links arn’t showing the arrows but are showing bullets.
I am sorry about those issues I think maybe I pasted over some of the “other” content like a class name maybe but you can try it if you know how much to replace as I can not read that page so well it’s a mess.
Other than the missing div or class I pasted over it didn’t effect anything else on the page as I can see. try it if it doesn’t work do CTRL + Z If you can,
Alright sorry that doesn’t necessarily have to be there as there is already classes on that heading 4 on the page probably why the colour wasn’t blue.
but if the style is right the heading should align with the list.
I usually have it inside to make sure that when heading needs to be aligned with listed items than they automatically do when placing them inside the <ul> tags.
obviously extra line of styles would be required to style the header but yeah your right sorry
This way does come in handy when using the checkbox hack since only style needed to apply is checking the checkbox to unhide <li> tags and it will only work in that ul since the checkbox is a sibling so it doesn’t effect anything outside the <ul> tags.