Kristian Rafteseth
Kristian Rafteseth

Reputation: 2032

CSS, Trouble aligning divs in chrome

Im having a mysterious problem with some positioning in chrome. Its about one of my pages: http://www.iphonedeksler.no/

The div to the right, with class="content", is too far down in chrome, but perfect in firefox and IE.

Whats adding to the mystery, is that when you inspect, and toggle the "float:right;" css rule off, and then on again, it aligns like it should.

Is this a chrome bug, and should I use css hack for chrome only?

Upvotes: 0

Views: 63

Answers (1)

Serafino Messina
Serafino Messina

Reputation: 36

It seems that .main { clear: both; } is messing up the .content div alignment. If you remove clear: both you will solve the alignment problem.

Upvotes: 2

Related Questions