Fundamental Confusion (about float and height) - please help

hi. desired result is: a floated, fixed height and
width div nested in another div with auto height and fixed width. but why does the mainbox div (see example) just collapse. am i missing a fundamental basic knowledge base here?
<style type="text/css">
#mainbox {width:300px; height:auto; background: #CCC}
#mainbox .inside1 {width:100px; height:200px; float:left}</style>
</head>
<body>
<div id="mainbox"><div class="inside1"></div></div>
</body>
</html>
thanks.
{Subject edited for clarity by moderator]

mmm do divs not expand for floated content then?
also, hans, i think you got the wrong thread.
cheers

Similar Messages

  • Am i missing somthing about speed and coverage please help very very slow speeds!

     i get speed test results of 1/10 of a megabyte per second all of the time regularly that is 100kbps  many times it is also like .06 mbps.  it takes forever to load web pages and i cant watch video!  i called verizon many times becuase i can get 5 bars of evdo. 2 miles away in the vzw store my usb modem worked fine (about 1mbps) and it works better at home like @ half a mbps speed in the early morning like @ 6am.  tech support told me after opening a trouble ticket they found this is a marginal coverage area and they will not be improving it in the near future.  i dont know how the coverage area changes from morning to the rest of the day.  i asked about possibly getting out of my contract and they said i had to still pay an early termination fee or produce a death certificate or military papers saying i was being deployed overseas. furthermore i was told since this is mobile broadband i should just go somewhere else when i need to use the mobile broadband card.  i had so much trouble logging into this site because verizon keeps saying my password and username for this forum is not correct so i have to keep trying to make new ones.  then somtimes just when i thought i had logged in it says the server is forbidden from accessing this site, which is the only time on any website i ever got this message.  i just wish i could get the speeds they aadvertise or somthing even close to it so that i could load web pages. i feel like i am being forced to change to another wireless provider and pay an early termination fee because i cant do basic work and load web pages which is what i was promised according to their map which says i live in a good coverage area.  i pay my bills on time every month and so i feel like i am not being treated fairly as a customer.  am i missing somthing?

    chinjing wrote:
     i get speed test results of 1/10 of a megabyte per second all of the time regularly that is 100kbps  many times it is also like .06 mbps.  it takes forever to load web pages and i cant watch video!  i called verizon many times becuase i can get 5 bars of evdo. 2 miles away in the vzw store my usb modem worked fine (about 1mbps) and it works better at home like @ half a mbps speed in the early morning like @ 6am.  tech support told me after opening a trouble ticket they found this is a marginal coverage area and they will not be improving it in the near future.  i dont know how the coverage area changes from morning to the rest of the day.  i asked about possibly getting out of my contract and they said i had to still pay an early termination fee or produce a death certificate or military papers saying i was being deployed overseas. furthermore i was told since this is mobile broadband i should just go somewhere else when i need to use the mobile broadband card.  i had so much trouble logging into this site because verizon keeps saying my password and username for this forum is not correct so i have to keep trying to make new ones.  then somtimes just when i thought i had logged in it says the server is forbidden from accessing this site, which is the only time on any website i ever got this message.  i just wish i could get the speeds they aadvertise or somthing even close to it so that i could load web pages. i feel like i am being forced to change to another wireless provider and pay an early termination fee because i cant do basic work and load web pages which is what i was promised according to their map which says i live in a good coverage area.  i pay my bills on time every month and so i feel like i am not being treated fairly as a customer.  am i missing somthing?
    If it works everywhere else, then it does sound like a marginal service area.  If no one is making use of the tower, then there could be a better signal to your residence in the morning.  During peak times, the signal might not be as strong and could be degrading to the point where your speeds/connectivity gets questionable.  Being inside a structure and what materials can also have an adverse effect.  Also, your verbage is confusing.  100 kilobytes per second is a pretty average speed for EVDO.  1/10 of a megabyte a second is the same speed.  Unless you are referring to .1 megabits per second, that is a whole different story.  I'm assuming the latter if you are having problems loading pages, but again, if it's a marginal area VZW is showing on their side, that's probably the case.  Also, the 3G map might not be the same as the Voice/1X map in your area.  Maybe double check the map you're looking at.

  • I had a USA itunes card in my account and now I have shifted to the UK, I would like to shift my account and change my itunes store to the UK based store but cant do it as itunes card has got some credit left about $1.30. Please help

    I had a USA itunes card in my account and now I have shifted to the UK, I would like to shift my account and change my itunes store to the UK based store but cant do it as itunes card has got some credit left about $1.30. Please help.

    You can try contacting iTunes Support and ask them if they can remove the balance from your account so that you can change countries : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I have an old version of InDesign CS5, have not used in a while..about a year.  It will not load nor allow me to uninstall and reinstall, please help.  I have original discs and serial number.  How can I fix this?

      I have an old version of InDesign CS5, have not used in a while..about a year.  It will not load nor allow me to uninstall and reinstall, please help.  I have original discs and serial number.  How can I fix this?

    CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3

  • My itunes will not open at all. it occasionally will open but when i plug my iphone into it the program freezes and crashes. please help as soon as possible

    my itunes will not open at all. it occasionally will open but when i plug my iphone into it the program freezes and crashes. please help as soon as possible

    i think i might have a solution... i have windows vista and after i installed to latest itunes update everytime i tried to open it it would freeze. I tried everything, including uninstalling itunes and all of its components and reinstalled it numerous times. So i went to the itunes folder in my folders, not on itunes, and i deleted my itunes library and playlists. After that it worked just fine, all of my music was deleted but luckily i had my files saved elsewhere.
    I hope this helped! I know its frustrating and APPLE/ITUNES NEED TO FIX THE PROBLEM!!!!

  • My ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    Hey erinoneill24,
    Thanks for using Apple Support Communities.
    Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
    iPod displays "Use iTunes to restore" message
    http://support.apple.com/kb/ts1441?viewlocale=it_it
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    Have a nice day,
    Mario

  • I lost my ipad and i need the serial number and IMEI , please help me how?

    i lost my ipad and i need the serial number and IMEI , please help me how?

    If you have registered your device, you can go to https://supportprofile.apple.com/ and log into your apple id.  Your devices appear there with serial numbers.
    Additionally, your serial number is included on the original receipt when purchased at any Apple Online or Apple Retail store, or any Authorized Apple Reseller.

  • Itunes will not respond to my ipod touch, i have re-installed countless times and it still is not working. i have also tried different USB's and nothing. please help!

    Itunes will not respond to my ipod touch, i have re-installed countless times and it still is not working. i have also tried different USB's and nothing. please help!

    - Try here:
    iOS: Device not recognized in iTunes for Windows
    - Next try a different computer to help determine if you have a computer or iPod problem.

  • Am Having Issues with my Apple 4 Not being Reconized by Itunes, Reinstalled Itunes, Error Mobile Service not started, Have Win 7 it worked before, i manually restareted it, Nothing, I've restarted Phone and Computer Please Help

    Have Windows 7 LapTop, Before my restore my Iphone-4 worked like a champ... Now it won't start Itunes when Plugged in Via USB cable, tried Two in Fact
    Won't Start I tunes, so i Manually opened I tunes and still No recognition of I phone in  ITunes even after reinstall, manual start of mobile service stopping and starting mobile services, restarting the phone and computer, Please Help If Possible......Thanks

    http://support.apple.com/kb/TS1538

  • I would like to keep all my Music and photos on my mac but only top rated music and certain photos on my iPad and iPhone please help

    I would like to keep all my Music and photos on my mac but only top rated music and certain photos on my iPad and iPhone how do i stop iCloud from sending all to iPad and iPhone
    please help
    Regards
    Steve Davey

    If you manually manage the device the you can remove the content from the PC after you have put it on the device. However this isn't the recommended way. At some point you'll probably need to restore it which involves wiping all the data. If you don't have all this data to hand then you'll have to try to recover it from a now problematic device first. It's much easier to sync with your library - yes you have two copies, but that's not a waste, it is prudent. As long as you have two copies you can afford to lose one knowing you have a backup. In practice I keep a complete backup of my library, in addition to the subsets of it that I can put on my devices.
    tt2

  • I have latest firefox on my desktop and laptop, was working very well since threee years. Sudenlly has stop working both on my desktop and laptop. please help me.

    I have latest firefox on my desktop and laptop, was working very well since threee years. Sudenlly has stop working both on my desktop and laptop. please help me.

    Hello becky81464
    If you were able to load websites until you updated Firefox, your Internet security software (including firewalls, antivirus programs, anti-spyware programs, and more) is likely preventing Firefox from connecting to the Internet, see [http://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet firewalls]
    see also : [https://support.mozilla.org/en-US/kb/configure-windows-firewall-allow-firefox-access Configure Windows Firewall to allow Firefox access to the Internet ]
    thank you

  • HT201407 I am Hamza of Iraq as possible understand me,  bought the iPhone from the owner of the device user and I do not know him and have worked formate device to show white screen and please me to activate the device via email and password Please help m

    I am Hamza of Iraq as possible understand me,  bought the iPhone from the owner of the device user and I do not know him and have worked formate device to show white screen and please me to activate the device via email and password Please help me I am po

    You need the Apple ID and password that was originally used to set up the device. Ask the seller to give it to you. If the seller is unable or unwilling to provide the information, the Phone is probably stolen. There is nothing you can do.

  • Hello buy one gift card for buy music ann looking right now option to say gift card and my account and nothing please help thanks :)

    Hello buy one gift card for buy music ann looking right now option to say gift card and my account and nothing please help thanks :)

    You question is not clear...
    Perhaps these links will help...
    iTunes Gift Options
    http://support.apple.com/kb/HT2736
    How to Redeem a Code
    http://support.apple.com/kb/ht1574

  • I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    This can be the result of selecting the wrong driver. An older, unsupported laser printer will sometimes work with the generic Postscript driver.

  • HT201320 I am having trouble with password. Forgetting password,as I have many mail IDs like yahoo,gmail,hotmail,apple, I cloud etc.,thus confusing about password and restating through procedures. The altered password is not accepted I Safari

    I am having trouble with password. Forgetting password,as I have many mail IDs like yahoo,gmail,hotmail,apple, I cloud etc.,thus confusing about password and restating through procedures. The altered password is not accepted I Safari. When I want to open my mail but window appears as incorrect password though the mail appears on the left. however whe I go to my mail separately opening my mail, without mail icon in my pad.

    I'm having the same problem, what did you do?

Maybe you are looking for

  • Like operator functionality

    We have a simple select query which is using the 'Like' operator on a char(4) column. In a oracle windows environment when we have a query such as: select col1, col2, col3 from table1 where col1 like 'AB' it returns everything which is = to 'AB' and

  • How do I do SELECT * FROM TABLE WHERE KEY IN ({list})?

    The title says it all really. Is there a reasonable performant way to perform the query SELECT * FROM TABLE WHERE KEY IN ({list})where {list} is String []? I am currently creating a PreparedStatement with a for loop like this   StringBuffer sb = new

  • After OSX reinstall, my screen goes to Darwin! Help!

    I reinstalled OSX on my system after OSX would not load. Now when I log in, the screen goes to black and I get a welcome message from Darwin! It asks me for my username and password, but I can not get to my system. Any advice? Thanks!

  • Command line utilities

    Hi sir, This is pavan. I am creating a domain using commandline the domain will be created in development mode. But how to use create a domain in production mode. Please specify the command. I was used the command. java -Dweblogic.management.username

  • HT201210 error code 1015 how do i fix please iphone 3 gs

    Can you pleaase help i keep getting this code 1015 how do i fix???????????