473,320 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Attempts to center a float.

397 Expert 256MB
Comments and suggestions?
attempts to center a float
Sep 2 '08 #1
8 1203
Dormilich
8,658 Expert Mod 8TB
text doesn't float around it (tested FF 3 / linux), looks like positioned over the background text (text outside #page).
Sep 6 '08 #2
David Laakso
397 Expert 256MB
Thanks, Dormilich. Hmm, Strange. Seems to be working on this end as intended in FF/3.0.1 XP and Mac FF/3.0.1 on OS X 10.4.11.

Same problem on re-load in Linux?
Sep 6 '08 #3
Dormilich
8,658 Expert Mod 8TB
maybe I should clarify the problem, the div itself is centered but if I put text around it (see code) there's no floating in the float sense
[HTML]<p>background text...</p>
<div id="page">
</div id="block">
<p>floating content</p>
</div>
</div>
<p>more background text</p>[/HTML]
just tested it in FF 3.01 / MacOS 10.4.11—just the same
Sep 6 '08 #4
David Laakso
397 Expert 256MB
It is a simple question. Is the float centered rail to rail or not?
Sep 7 '08 #5
Dormilich
8,658 Expert Mod 8TB
I'll give a screenshot
Sep 7 '08 #6
David Laakso
397 Expert 256MB
I'll give a screenshot
I only asked if the float was centered horizontally. No more. No less. Your additions to the test are of no interest.
css 2.1 specs
Sep 7 '08 #7
drhowarddrfine
7,435 Expert 4TB
It is centered in FF3 on Ubuntu.
Sep 7 '08 #8
David Laakso
397 Expert 256MB
Good! Thank you, drhowarddrfine!
Sep 7 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Gustav Medler | last post by:
Css only offers float:right; and float:left; Is it possible, to center an image, floated around by text? Cross browser funcionality is needed for NS4.7, IE 5.x, Op 6.x, Moz 1.x, Konqu 3.x. I...
32
by: Axel Dahmen | last post by:
Hi, I've posted this question a few months ago but didn't get a truly satisfying answer then. So I'd like to post my question again: How can I center a DIV? The content in the DIV should be...
8
by: | last post by:
How do you center, like I am trying to do, below the group of images? Why does it not work? Example: <div><h2>The Title</h2><img src="images/BigPicture.jpg" height="150px" width="250px"></div>...
2
by: sylvian stone | last post by:
Hi, I'm trying to do something that has always been easy with tables - namely use a three column layout, and above the main layout, show three images - one on the absolute left, one on the absolute...
0
by: Dessip | last post by:
Hey, The code that follows im having problems with, i think tis the CSS, but i dont have a clue of fixing it, i have tried any things but without the float:Left there is no point the folloing...
24
by: GloStix | last post by:
I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to...
2
by: David | last post by:
I'm trying to style a kind of minimalist welcome page where each of X number of (gray?) boxes will be links to a part of the site. I want to implement the navbar (ie, set of boxes linking to...
7
by: raylopez99 | last post by:
I have a logical drawing space much bigger than the viewport (the screen) and I'd like to center the viewport (the screen) to be at the center of the logical drawing space. After following the...
1
by: Lagon666 | last post by:
Is it possible to change #wrapper's inner elements alignments to center of page? I think its possible by using TABLE, but what about DIV? <style> #left { background: red; width: 100px;...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.