Problems with FF and Safari compitablity

This is a discussion on "Problems with FF and Safari compitablity" within the Web Page Design section. This forum, and the thread "Problems with FF and Safari compitablity 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 Jun 17th, 2007, 16:53
New Member
Join Date: Jun 2007
Location: Malmö, Sweden
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Problems with FF and Safari compitablity

Hey! =)

Im new here and also new to web design. I made my first page ever a few weeks ago in Dreamweaver 8 using HTML and CSS and without knowing any better I only tried it during development in IE7. About the time it was finished and uploaded I realized that it didnt work as expected in either FF och Safari. FireFox seems to create margins around some of the divs on certain pages, and Safari just shows a black page :S

Since I am a severe noob in this area my efforts of fixing this have been without result. If anyone of you have the time and energy help me or just guide me to a place where I can get help I would greatly appreciate it!

My page is at www.johnscott.se

Thank you in advance!

Sincerely
John Hellman

Edit: Oh perhaps you need to access the css-file? It is located at www.johnscott.se/css.css , I hope you can access it like that =)

Last edited by jimdeluxe; Jun 17th, 2007 at 16:58.
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 Jun 17th, 2007, 20:06
Junior Member
Join Date: May 2007
Location: london
Age: 26
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

It works fine in FF fore me.

Try seting margins to 0 not 0px.

or
*{margin: 0;
}


or try html, body{ margin: o;
}

Or you could just set up a new css for only FF.


set up a wrap tag
#wrap{
width: 850px;
}


<notagz1>
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 Jun 17th, 2007, 20:10
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

I would say don't put all your text in an image. It's terrible for SEO. Not to mention accessibility. Firefox seems to display well. If you're having trouble with margins try...

Code: Select all
* {
margin: 0;
padding: 0;
}
Hope this helps, I don't have Safari so I can't help you much there.
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 Jun 18th, 2007, 01:32
New Member
Join Date: Jun 2007
Location: Malmö, Sweden
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Thank you for your replies!

I tried the different mentioned versions of border and margin set to 0, but no to success. I still get two black horisontal lines on the "News" and "Portfolio" pages, do you not get these? What can cause this? And why only in FF?

I am aware of the problems with text placed in images (trust me updating my news is a pain). But since I am using a home-made font I thought it was the easiest way to make the page viewable without forcing viewers to download and install the font. Better ideas are very welcome!

Edit: Notagz1 what do you mean with wrap? Where would I use that code?
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 Jun 18th, 2007, 12:00
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

The way you have designed the site is less than conventional.

Do you have any css for the #menu?
I don't see one. My guess would be that there is extra space being added in the menu or just below it.

Firefox renders css/html for accurately than IE. Design your site for Firefox first and then make adjustments for IE. That will cause you less frustration in the future.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jun 18th, 2007, 12:05
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

You do realize that your site has no real text, don't you? You're using images for the content instead of text.

Bad idea.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jun 18th, 2007, 13:21
New Member
Join Date: Jun 2007
Location: Malmö, Sweden
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Thank you Lchad for your eagle eye =)
Of course the reason this was happening was that I completley forgot to add the menu, top and bottom to my CSS, noob mistake

I am aware of the inconvienience with imagebased text and this was a choice I made fully aware of the problems it will cause. As I mentioned in my previous post this was the only way I could come up with to use such a customized font without forcing people to download and install it first. Better to have the inconvience on me then on my viewers =)

It works now, however there's still some difference in how FF and IE7 handles the CSS, is there any easy way to make a page determine if the viewer is using FF or IE7 and choose between different CSS-files?

Last edited by karinne; Jun 18th, 2007 at 14:01. Reason: Play nice now!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jun 18th, 2007, 13:41
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Quote:
Originally Posted by jimdeluxe View Post
I am aware of the inconvienience with imagebased text and this was a choice I made fully aware of the problems it will cause. As I mentioned in my previous post this was the only way I could come up with to use such a customized font without forcing people to download and install it first. Better to have the inconvience on me then on my viewers =)
I'm not thinking of the problems it will cause you, I'm thinking of the problems it will cause your "viewers" and search engines.

I very much doubt you are "fully aware" of these problems.

Last edited by karinne; Jun 18th, 2007 at 14:01. Reason: Alright ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jun 18th, 2007, 14:03
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Members are here to help. Don't insult them!

From http://www.quirksmode.org/css/quirksmode.html

on img display
Quote:
Standard: An image has display: inline by default. Therefore it has a slight space below it, because the image is placed on the baseline of the text. Below the baseline there should be some more space for the descender characters like g, j or q.
In quirks mode img has a default display: block, while in really strict mode it has a default display: inline. The offshoot is that in strict mode it's not possible to make a container fit tightly around the image, unless, of course, you explicitly say img {display: block}.
So ... just add

Code: Select all
#top img {
   display: block;
}
and it should be fine.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jun 18th, 2007, 14:05
New Member
Join Date: Jun 2007
Location: Malmö, Sweden
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Gah Im confusing myself, please delete this post, or just ignore it! =)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jun 18th, 2007, 14:09
New Member
Join Date: Jun 2007
Location: Malmö, Sweden
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Thank you karinne, and everyone else!
I will try that.

My apologizes for the unnecessary comments, and to mikehoply.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Jun 18th, 2007, 14:25
New Member
Join Date: Jun 2007
Location: Malmö, Sweden
Age: 24
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

Quote:
Originally Posted by karinne View Post

So ... just add

Code: Select all
#top img {
   display: block;
}
and it should be fine.
This helps removing the top line (between the #top and #menu divs), but when I put it on #menu too it flips out probably because of the many images in the #menu div.

E.g.

Code: Select all
#top img {
  display: block;
{
 
#menu img {
  display: block;
{
Any ideas?

Edit: Ohh and btw thank you very 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
  #13  
Old Jun 18th, 2007, 14:33
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problems with FF and Safari compitablity

just add a class to that one image that's causing the 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

Tags
compitability, css, firefox, html, problems, safari

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
Navigation problems in safari mikka23 Web Page Design 5 Mar 24th, 2008 21:00
[SOLVED] SIte looks fine in FF, Safari...Problems IE Scotalia Starting Out 23 Mar 12th, 2008 20:24
Safari for Windows moojoo Webforumz Cafe 49 Jun 25th, 2007 14:23
Major problems on Mac Safari & IE redspiral Web Page Design 4 May 16th, 2006 11:06
CSS and Safari joshcxa Web Page Design 2 May 9th, 2006 10:43


All times are GMT. The time now is 04: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