Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

Bizarre HTML/CSS behaviour

This problem appears across all browsers

Third level left hand side navigation: line-height or margin top/bottom is too big when a certain group of items are clicked.

NOT OK:
http://ndlrnstage.esa.edu.au/for_teachers/sample_curriculum_content/tm_-_civics_and_citizenship.html

OK:
http://ndlrnstage.esa.edu.au/for_jurisdictions/resource_development_process/digital_resources/quality_assurance.html

The styling in the 'NOT OK' above should look the same as the 'OK' above.

??
0
jeremyll
Asked:
jeremyll
  • 4
  • 4
1 Solution
 
BadotzCommented:
hmmm...different folders, different pages - different CSS?
0
 
jeremyllAuthor Commented:
It's definitely referencing the same css.

if you click the first level nav item above it, http://ndlrnstage.esa.edu.au/for_jurisdictions/collaborative_networks/the_le@rning_federation_consultative_committee/consultative_committee.html

it shows the correct styling...
0
 
BadotzCommented:
Your "not OK" page has fifteen (15) links to external stylesheets. I'd say that somebody, somewhere is stepping on someone else's toes.

Personally, I'd remove all the links except the navigation link and see how that works. Then I'd add in another CSS link until I find the one that breaks the navigation.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jeremyllAuthor Commented:
@Badots: good tip.

I tried that. I deleted all the children items under 'Sample curriculum content' pasted the children elements from 'Access information' and the styling worked fine!

??
0
 
jeremyllAuthor Commented:
Helped solve my problem. Had lots of &ampnbsp; in the xsl file.
0
 
BadotzCommented:
Grade "B"? Was I bad?
0
 
jeremyllAuthor Commented:
I could give you an A, do you knwo how to change this?  :-)
0
 
BadotzCommented:
I just wanted to know your thinking - it really doesn't matter.

You took my advice, and it led you to a solution.

Perhaps think twice next time, and if you really feel the effort wasn't worth it, talk to the expert. Figure out how to make things right.

After all, we don't get paid - we only get the odd T-shirt. Your praise is why we're here ;-)
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now