CSS for Safari and opera

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.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Apr 12th, 2008, 18:38
New Member
Join Date: Apr 2007
Location: London
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Attached Images
File Type: jpg bp_safari.jpg (92.1 KB, 3 views)
File Type: jpg bp_opera.jpg (102.5 KB, 3 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 12th, 2008, 22:35
Reputable Member
Join Date: Apr 2008
Location: Or-Yehuda, Israel
Age: 60
Posts: 119
Thanks: 0
Thanked 3 Times in 3 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 13th, 2008, 09:44
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Apr 13th, 2008, 10:53
New Member
Join Date: Apr 2007
Location: London
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Apr 14th, 2008, 08:02
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS for Safari and opera

Quote:
Originally Posted by jelly46 View Post
However is there a conditional statement or hack i can use to fix this problem in Safari cause that is the only issue
No, only IE is safe to hack for.

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42