David,
Thanks a lot for the links, they really helped. I really wish I had a few more ounces of brain cells to google "css floats". The conflict of judgment between your posts make be believe you're definitely past the pre-andropausic stage. I guess it's no surprise you've reached 298 posts.
Good riddance
User Profile
Collapse
-
Dave,
Sorry if i wasn't clear, but all im looking for is some explaining on how float operate.
In my example, we have a give with with 600px then
1. #float1 is added and as expected it floats to the left
2. #float2 is added and since there isnt any place of the same line it's placed (floated) to line 2 (as expected).
3. #float3 is added and floats to the left of #float2 (as expected)
...Leave a comment:
-
somelongusername replied to One text box split to look like 4 textboxes with combined result one valuein HTML CSSYou could create 4 text boxes, and then write javascript code to capture their onChange event and then update the union'ed textbox. Other than that, I dont think there's any other way around it.
FYI: http://www.w3schools.com/jsref/jsref_onchange.aspLeave a comment:
-
-
Beyond floats
Hi all,
I've been playing around with CSS floats, trying to understand how they work and I've come across a situation that doesnt make sense.
From my understanding, any non-float elements should flow right past. In the code below, #float1 is displayed on line 1 and #float2, #float3 are on the next.
After adding #txt I should expect it to be displayed next to #float1 but it's displayed on line 2. If #txt's... -
Thanks drhowarddrfine, that fixed it! But can you please elaborate why I get different behavior in the two situations?Leave a comment:
-
absolute positioning in FF
Hi all,
I'm trying to understand how absolute positioning works, and I came across a weird thing in FF. if I use the code below, then the DIV tags are overlayed on top of each other, but the P tags aren't i.e. Text P is display and then Text p on the next line.
But if I switch the position of the P tags with DIV i.e. display div first and then P, than BOTH tags are overlayed.
I'm just curious to know what...
No activity results to display
Show More
Leave a comment: