This is a discussion on "CSS for Safari and opera" within the Web Page Design section. This forum, and the thread "CSS for Safari and opera are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS for Safari and opera
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
CSS for Safari and opera
I have built a website for a company http://www.scouts.org.uk/conferencecentre/ that works well on a PC with FF, IE6, IE7, bot not in Opera (have attached an image). In safari (have attached an image)i have problem with the navigation bar as it over flows to the next line.
You can see the CSS in FF by using firebug. I wonder if the conditional statements for IE6 and 7 are obstructing this. Can anyone help? Please If you need anything please let me know |
|
|
|
#2
|
|||
|
|||
|
Re: CSS for Safari and opera
Here you have a comparison between the FF and Safari versions:
![]() As you can see, Safari and FF do not render the fonts in exactly the same way. By the time you get to the end of the line these differences add up. There are a number of solutions to this. I think you would prefer comming up with them on your own. In Opera the reason is different. You are calling for<div id="navcontainer"> but no #navcontainer exists on your CSS (that could have helped) or defining the same types of margin-top to#littlebox as to #navlist. |
|
#3
|
|||
|
|||
|
Re: CSS for Safari and opera
You're trying to cram too much text into that navbar.
Always leave a little "breathing room". Different browsers have different default text sizes (and font weights). |
|
#4
|
|||
|
|||
|
Re: CSS for Safari and opera
Guys thanks so so much for your time in replying.
However is there a conditional statement or hack i can use to fix this problem in Safari cause that is the only issue Again thank you both so much |
|
#5
|
|||
|
|||
|
Re: CSS for Safari and opera
Quote:
But you're not getting the bigger picture. Other (admittedly more obscure) browsers may also do this, and hacking for Safari will not fix them. You're trying to be too precise about the width of text. It's much better to allow a little space in your design, so that variations in text size don't cause a problem. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ie6 utter mess&ie7 mess. safari&opera&firefox alright | thosecars82 | Web Page Design | 2 | May 21st, 2008 11:02 |
| Opera rtl direction | marSoul | Web Page Design | 0 | Mar 1st, 2008 20:44 |
| Fine in FF, Opera, but not in IE | ivyholly | Web Page Design | 8 | Jan 3rd, 2006 20:30 |
| Opera Bug | wheatus | Web Page Design | 0 | May 11th, 2004 13:42 |