Main nav menu goes vertical in opera ( 6 Views )
-
Was wondering if someone wouldn't mind telling me why my main nav (which is supposed to be horizontal) goes vertical in Opera. To be honest it's not a big concern of mine if the site doesn't show up correctly in Opera. However I wouldn't mind figuring out why it's happening.
http://www.cyberiansolutions.com/index_beta.php
Thanks for all of your help.
(ebru, Jamaica)
nice site, i don't have opera so couldn't tell you
(ali, Korea, Republic of)
Quote:
Originally Posted by cyberian
Was wondering if someone wouldn't mind telling me why my main nav (which is supposed to be horizontal) goes vertical in Opera. To be honest it's not a big concern of mine if the site doesn't show up correctly in Opera. However I wouldn't mind figuring out why it's happening.
http://www.cyberiansolutions.com/index_beta.php
Thanks for all of your help.
|
Hi
Without taking all the code apart (which is what you should do to find the fault - by making the page just have the menu and nothing else, take out all the unncessary css until it works in Opera or breaks in IE), take a look at this article, whose lists do stay horizontal in Opera:
http://www.alistapart.com/articles/taminglists
Trevor
(figen, Monaco)
Quote:
Originally Posted by ClevaTreva
Hi
Without taking all the code apart (which is what you should do to find the fault - by making the page just have the menu and nothing else, take out all the unncessary css until it works in Opera or breaks in IE), take a look at this article, whose lists do stay horizontal in Opera:
http://www.alistapart.com/articles/taminglists
Trevor
|
Thanks. I understand how to troubleshoot CSS code. But since this is such a narrowly used browser, I thought someone who is familiar with Opera might kick me in the right direction.
(sezer, Mayotte)
Quote:
Originally Posted by cyberian
Thanks. I understand how to troubleshoot CSS code. But since this is such a narrowly used browser, I thought someone who is familiar with Opera might kick me in the right direction.
|
Hi
Well, I do have Opera!
And I can't find the problem that quickly it was worth digging for. However, the ones at alistapart work fine in Opera, so there must be a difference.
Trevor
(büşra, Ecuador)
Another solution would be not to use lists at all. But it makes the links look pretty bad with css turned off.
(kadir, Egypt)
Hi,
Opera 7.2 doesn't like the position:absolute on your ul and then floating the list inside.
Something like this should work.
Code:
#navcontainer ul {
border: 0;
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
#navcontainer ul li {
display: inline;/*ie double margin bug*/
float: left;
text-align: center;
padding: 0;
margin: 0;
}
#navcontainer ul li.firstlist{margin-left: 96px;}
Then just add the firstlist class to the first item in the list.
Paul
(elif, Brunei Darussalam)
Ahh, there you are Paul. Thanks!
(ugur, Slovenia)
Related Topics ... (or search in 1.720.883 topics !)
ie/opera issue with nav menu and form (4) vertical nav menu does not display correctly in mozilla/ns7 (4) why is the popout or sub-menu overwriting the main nav in ie6 (6) starting dvd with main menu instead of main movie. (2) vertical nav woos (2) nested vertical nav (7) cool vertical nav... how to? (13) questions about a vertical nav list.... (5) css vertical nav bar (5)
copyright © 2007-2031 Pfodere.COM ( 6 Pfoyihuee Online )
|