Image position in Firefox vs Safari?

Reply

Join Date: Mar 2008
Posts: 129
Reputation: justinmyoung is an unknown quantity at this point 
Solved Threads: 0
justinmyoung justinmyoung is offline Offline
Junior Poster

Image position in Firefox vs Safari?

 
0
  #1
Jun 13th, 2008
I'm having difficulty placing an image in a relative position in the same location on two separate browsers: firefox and safari. in firefox, the text seems larger than it does in safari. Is this typical? I'm using a Lucida Grande font. I believe this is why the image is thrown off place in firefox, but can't be sure. Is there a solution to this problem?

Thanks!
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Image position in Firefox vs Safari?

 
0
  #2
Jun 14th, 2008
Since each browser has its own way of rendering text, you need to do the following:

- Don't expect your page to look exactly the same in all browsers. This is impossible.

- Don't use either absolute or relative positioning. Use containers to position the text and the graphics.

- Place the image, using the location of the img tag within the text, and use the float style to position it left or right.

- Don't expect to center an image within text, because it is impossible to make the text equally wide on both sides. If you need to center an image, make the spaces on both sides clear.

- To keep the layout from falling apart, you might need to use table tags.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC