Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: CSS nightmare

date posted 11th August 2003 16:58

hi chrid

works perfect in Safari on the Mac, which is supposed to be Moz 5.0,
but according to another thread i might have got that wrong...

anyhow - you might want to try using { float: left; } on the green box
only... this is how i achieved the two column layout on my site.

the second box will then just plop happily to the right of the first
floated box...

you have to be careful with floating items 'cos they invoke all sorts
of wierd rules once you start using them, and the usual inheritance
goes out of the window. but if you check one of the more complicated
pages of my site (www.evoke-media.com/html/webdesign.htm) i got all
the columns to line up by using float: left on each one, and then *not*
having a float command on the last one.

you can get rid of things like 'position: relative' or whatever. it
makes no odds with floated items.

HTH
luke



On Monday, August 11, 2003, at 04:59 PM, The Chridmeister wrote:

>
> Hello all, I'm another of these people who are weaning themselves off
> tables and going for css for layout. I'm having a total mare with
> Mozilla (and quite possibly other non-IE browsers) and so far I've
> found nothing on the web to help me.
>
> Here's my problem:
> http://www.chridmeister.co.uk/test/test.html
>
> In IE it renders as I'd expect, two columns centred side by side on
> the page, which resize and reposition with the browser. It took some
> effort to get this working at all in Mozilla, at first I was using
> float and the boxes were all over the place (and would also 'pop'
> vertically in IE when the browser window shrunk down). Now, it almost
> works, but in Moz the boxes overlap.
>
> Can someone have a look and tell me what I might be doing wrong? I'm
> going bonkers.
>
> Chrid
>
>
> --
> http://www.chridmeister.co.uk
> "Yarr! It's driving me nuts!"
>
>
> ==========
> redmail.com - webmail with a difference!
> 10Mb for just GBP 9.99 a year. Launch special 1Gb for GBP 99.99 a year
> IMAP, POP3, Spam Filtering and Anti Virus as standard.
> Visit http://www.redmail.com/?fl-signup to join.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
August 31st 2003
August 30th 2003
August 29th 2003
August 28th 2003
August 27th 2003
August 26th 2003
August 25th 2003
August 24th 2003
August 23rd 2003
August 22nd 2003
August 21st 2003
August 20th 2003
August 19th 2003
August 18th 2003
August 17th 2003
August 16th 2003
August 15th 2003
August 14th 2003
August 13th 2003
August 12th 2003
August 11th 2003
August 10th 2003
August 9th 2003
August 8th 2003
August 7th 2003
August 6th 2003
August 5th 2003
August 4th 2003
August 3rd 2003
August 2nd 2003
August 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000