DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   Web Design: CSS problem with FF2 (http://www.daniweb.com/forums/thread115149.html)

knight fyre Mar 22nd, 2008 3:18 am
Web Design: CSS problem with FF2
 
In IE 6 my site has the layout I want it to have but when I view it with FF2.0.0.12 the pictures and text is out of alignment. :(

Another problem that I'm having is that when I resize my browser window the images move and everything falls out of alignment. I want it to be that when I resize everything stays organized and readable.

Some please take a look at my code: Project

Yes I know it's bare but I don't want to put in the bells and whistles before I have the structure and layout straighted out.

~s.o.s~ Mar 22nd, 2008 5:46 am
Re: Web Design: CSS problem with FF2
 
This question would be more appropriate in the CSS/HTML forum. Moved.

peter_budo Mar 22nd, 2008 8:09 am
Re: Web Design: CSS problem with FF2
 
Only diference that I spoted is top images marging from top of the page, plus seems to me there is no font formating in FF. Can you make a screenshot or tell exactly what is the problem?

Suomedia Mar 22nd, 2008 8:22 pm
Re: Web Design: CSS problem with FF2
 
Looks rather nasty (no offense)

I normally do this kind of layout like this:


<div style="position:relative; width:100%">
  <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
</div>


Matti Ressler
Suomedia

knight fyre Mar 24th, 2008 8:55 pm
Re: Web Design: CSS problem with FF2
 
I did something like that to correct the code (float and relative) except without the use of breaks.

Quote:

Originally Posted by Suomedia (Post 567026)
Looks rather nasty (no offense)

I normally do this kind of layout like this:


<div style="position:relative; width:100%">
  <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
</div>


Matti Ressler
Suomedia



All times are GMT -4. The time now is 3:02 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC