The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Opera not displaying unordered list. Other browsers do.
http://www.domblogger.net/Documentation/XMLAuthoringEvery section (that has subsections) has an unordered navigation list within a header element acting as a table of contents for subsections.
This is important for web accessibility, as it makes document navigation easier.
The list displays in FireFox, Chrome, Safari as intended. In IE it displays, though CSS is not applied. In opera (64 bit Linux) it just doesn't display at all.
Any ideas?
The CSS for the list:
.dbg-contentnav ul li {
display: inline;
}
.dbg-contentnav ul, .dbg-contentnav ul li:after {
content: " | ";
}
.dbg-contentnav ul, .dbg-contentnav ul li.first:after {
content: " : ";
}
.dbg-contentnav ul, .dbg-contentnav ul li.last:after {
content: "";
}
-=-
Sorry the html source code isn't formatted very pretty, that's a bug in php's DOMDocument class related to white space and formatting of content that has pre blocks in it, so I have to turn off the pretty formatting of html source.
Could you provide a screen shot of what you're talking about? I'm not seeing any difference between Firefox and Opera.
Me neither.
The DnD Sanctuary — a safety net for My Opera's demise.
Problem found: You are setting the content of the <ul> element to "". Other browsers seem to ignore setting the content of anything but a :before or :after pseudoelement, but this part
is rewriting the content of the <ul> element with nothing.
.dbg-contentnav ul, .dbg-contentnav ul li.last:after {
content: "";
}
is rewriting the content of the <ul> element with nothing.
Opera 12.15 - Win 8 Pro x64 All my Opera tools -Tab Vault: Save tabs for later -AutoStack: tabs opened from a stack stay there
I finally noticed where the missing list was. Yup, the CSS says the UL should be replaced with nothing.
The DnD Sanctuary — a safety net for My Opera's demise.