Solved

Bizarre HTML/CSS behaviour

Posted on 2011-03-02
8
359 Views
Last Modified: 2012-05-11
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
Comment
Question by:jeremyll
  • 4
  • 4
8 Comments
 
LVL 29

Expert Comment

by:Badotz
Comment Utility
hmmm...different folders, different pages - different CSS?
0
 

Author Comment

by:jeremyll
Comment Utility
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
 
LVL 29

Accepted Solution

by:
Badotz earned 500 total points
Comment Utility
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
 

Author Comment

by:jeremyll
Comment Utility
@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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Closing Comment

by:jeremyll
Comment Utility
Helped solve my problem. Had lots of &ampnbsp; in the xsl file.
0
 
LVL 29

Expert Comment

by:Badotz
Comment Utility
Grade "B"? Was I bad?
0
 

Author Comment

by:jeremyll
Comment Utility
I could give you an A, do you knwo how to change this?  :-)
0
 
LVL 29

Expert Comment

by:Badotz
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now