nayen — 2012-10-10T03:43:11-04:00 — #1
I am working on the following website:
The navigation bar below the logo looks different on Firefox and other browser. I like the way it looks on Firefox and I want it to look the same on other browsers as well but I couldn't make it. Do you have any ideas?
ronpat — 2012-10-10T04:20:28-04:00 — #2
guestboss.com doesn't connect. Is there another link?
nayen — 2012-10-10T04:23:31-04:00 — #3
Hi, it is not g, it is q.
ronpat — 2012-10-10T04:34:43-04:00 — #4
Thanks, must be getting sleepy here. Will try again <smile>
ronpat — 2012-10-10T04:42:41-04:00 — #5
I'm looking at Firefox and IE8. They look almost exactly the same. Could you be more specific about which browsers do not look right? and describe the differences that you see?
nayen — 2012-10-10T04:49:46-04:00 — #6
Please check it in Chrome, Safari or Opera and you will see the difference. The navigation buttons have the correct padding in Firefox, but not in Chrome or other browsers, including IE. In IE, top and bottom padding for the inner box are not displayed. I could have used images for buttons but I don't want to use images every time I can't fix some CSS3 stuff. I am using a list (ul) for the navbar, perhaps I should use divs?
ronpat — 2012-10-10T10:03:24-04:00 — #7
OK, cutting edge CSS3 - there will be retro compatibility problems. Might be better if someone else offers help here. I actually thought the padding in IE8 was more consistent than Firefox. Oh, well.
enver — 2012-10-10T11:27:22-04:00 — #8
I have looked at your site in Firefox 15.0.1, Chrome 13.0.782.112, Safari 5.0.3, Opera 12.02, Internet Explorer 8.0.6001.1872 and even Kindle Fire (via the Opera Mobile Emulator) on Windows XP.
All of these browsers show exactly the same layout with only a very minor difference in thickness to the borders in Opera. I don't think there is anything you can do about the way different graphics engines render borders.
Çok güzel olmuş! Hiç bir sorun yok.
nayen — 2012-10-11T01:58:13-04:00 — #9
Thanks all for trying to help. I finally fixed this by changing the CSS slightly. The buttons look better now on all browsers.
ronpat — 2012-10-11T02:10:26-04:00 — #10
Thanks for the followup, nayen. I looked at the link posted and it doesn' t look any different to me, but maybe it hasn't been updated, yet. I'm curious to learn how you fixed the buttons.
Best 2 U
nayen — 2012-10-11T03:19:28-04:00 — #11
You can see the current CSS code. What I changed is that I added "float: left" to "li" items and "display: block" to "li a" items in the navbar. That's pretty much it.