 |

September 2nd, 2008, 08:58 PM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: US
Posts: 302
|
|
Attempts to center a float.
Comments and suggestions?
attempts to center a float
|

September 6th, 2008, 09:55 PM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 599
|
|
text doesn't float around it (tested FF 3 / linux), looks like positioned over the background text (text outside #page).
|

September 6th, 2008, 10:18 PM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: US
Posts: 302
|
|
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?
|

September 6th, 2008, 11:57 PM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 599
|
|
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
|

September 7th, 2008, 01:37 AM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: US
Posts: 302
|
|
It is a simple question. Is the float centered rail to rail or not?
|

September 7th, 2008, 01:41 AM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 599
|
|
Attempts to center a float.
I'll give a screenshot
__________________
the best way to find a solution—switch off the computer and go home
|

September 7th, 2008, 02:04 AM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: US
Posts: 302
|
|
Quote:
|
Originally Posted by Dormilich
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
|

September 7th, 2008, 02:26 AM
|
 |
Expert
|
|
Join Date: Sep 2006
Posts: 4,586
|
|
It is centered in FF3 on Ubuntu.
|

September 7th, 2008, 02:35 AM
|
 |
Expert
|
|
Join Date: Aug 2008
Location: US
Posts: 302
|
|
Good! Thank you, drhowarddrfine!
|
 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|