3 replies [Last post]
yacahuma
yacahuma's picture
Offline
Enthusiast
Puerto Rico
Last seen: 10 years 33 weeks ago
Puerto Rico
Timezone: GMT-4
Joined: 2007-07-24
Posts: 64
Points: 10

I have a css form in the way of

label:

Now I need to include a box of options. so I did
GRUPO


OPT1
OPT2





This makes sense to me. Group all those options in a div. No it looks good on explorer but not on firefox.

Well it actually looks ok on firefox except that for what comes next moves UP. I DONT GET IT. Look how the command bar hovers up in firefox but stays where is supposed to in explorer

look at the attachment , explorer on left

Any ideas

AttachmentSize
problem.jpg65.38 KB
Triumph (not verified)
Anonymous's picture
Guru

Contain your floats.

Contain your floats. Try adding overflow:hidden; to something.

yacahuma
yacahuma's picture
Offline
Enthusiast
Puerto Rico
Last seen: 10 years 33 weeks ago
Puerto Rico
Timezone: GMT-4
Joined: 2007-07-24
Posts: 64
Points: 10

That did not worked

Thank for the help. But it did not worked. I started thinking that what was moving was the command_bar so I put a display:block on it. And that seems to work. I still dont understand floats. IE did what I think is the right thing.

What confuses me the most with this whole css thing is that objects loose there bounderies, like in this case. With tables the bounderies where always easy to understand.

Triumph (not verified)
Anonymous's picture
Guru

yacahuma wrote:... IE did

yacahuma wrote:
... IE did what I think is the right thing. ...
No, IE did what you wanted but it wasn't the right thing. Smile

yacahuma wrote:
... What confuses me the most with this whole css thing is that objects loose there bounderies, like in this case. With tables the bounderies where always easy to understand.
Well, there are good reasons for things to be removed from the normal document flow. It's what makes positioning possible. Once you get the hang of it you'll never look at tables base layout with anything except disdain. Wink