By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,662 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

[CSS] to float or not to float

P: n/a
Hello everybody !

I'm working on a new stylesheet for my website, and haven't been able to
understand how to make it do what *I* want :)

I'm pretty sure it's simplistic, but I'm stuck...

To be short, I have a div "menu" which contains a div "logo" with
float:left, a div "menustyle" with float:right... and 'in between' a div
"men1" (which contains a few divs), with no "float" declared, and which
I'd like to "simply" center between the two other divs ("logo" and
"menustyle")...

I'm probably doing something wrong, because "logo" et "men1" are on the
same level, but "menustyle" is "one line" under the others...

I played around with clear, and it didn't work, but then again I'm not
too sure how/where to use it, or even if it's what I should be doing...
;)

As usual, IE and Moz don't agree on the rendering, although that same
error happens in the two browsers, but I'm leaning toward believing Moz
as an habit...

*Utterly Lost* I am :)
The address :
http://www.pouipouidesign.net/index....min=ultralight

The css : http://www.pouipouidesign.net/ultralight/accueil.css
Thank you in advance for any help or tip you could provide !!

Marie ALHOMME

Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Marie ALHOMME@ Libertysurf wrote:
Hello everybody !

I'm working on a new stylesheet for my website, and haven't been able
to understand how to make it do what *I* want :) [SNIP] Thank you in advance for any help or tip you could provide !!

Marie ALHOMME

I answer myself to tell you that the solution has been handed to me on a
french newsgroup.
Apparently "just" a html error : changing the order of the divs in the
source code solved it !

Sorry to have bothered you "for nothing" !

On the other hand, I'm puzzled by this, so if anyone knows where to
point me for additionnal information on that issue (order of divs in
html and floating problems) I'd love to check it out !
Thank you again, and have all a great day !
Marie

Jul 20 '05 #2

P: n/a
Marie ALHOMME@ Libertysurf wrote:
[snip]
On the other hand, I'm puzzled by this, so if anyone knows where to
point me for additionnal information on that issue (order of divs in
html and floating problems) I'd love to check it out !


<http://css.maxdesign.com.au/floatutorial/>

--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #3

P: n/a
Marie ALHOMME@ Libertysurf wrote:

http://www.pouipouidesign.net/index....min=ultralight
The css : http://www.pouipouidesign.net/ultralight/accueil.css

Thank you in advance for any help or tip you could provide !!


Please, before this gets any farther... since you have mozilla around,
do look at this page at an enlarged text size. Zoom to at least 150%,
though 200% is probably closer to what I saw.

--
To email a reply, remove (dash)un(dash). Mail sent to the un
address is considered spam and automatically deleted.
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.