View Single Post
Join Date: Feb 2008
Posts: 88
Reputation: knight fyre is an unknown quantity at this point 
Solved Threads: 1
knight fyre's Avatar
knight fyre knight fyre is offline Offline
Junior Poster in Training

Re: Web Design: CSS problem with FF2

 
0
  #5
Mar 24th, 2008
I did something like that to correct the code (float and relative) except without the use of breaks.

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

I normally do this kind of layout like this:


HTML and CSS Syntax (Toggle Plain Text)
  1. <div style="position:relative; width:100%">
  2. <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  3. <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  4. <div style="width:33%; float:left; text-align:center;"><img src="my_image.gif" /><br />Text</div>
  5. </div>


Matti Ressler
Suomedia
Reply With Quote