Help! Divs extend beyond parent container! Clearing doesn't seem to work!

My "mainContent" div extends beyond the "Container" div. It seems that I've tried everything--clearing doesn't seem to work.
Help!
Here is my css:
@charset "UTF-8";
/* CSS Document */
body  {
     margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
     padding: 0;
     text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
     color: #000000;
     font-family: Arial, Helvetica, sans-serif;
     font-size: 100%;
     background-color: #FFF;
.twoColFixRtHdr #container {
     width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
     background: #FFFFFF;
     text-align: left; /* this overrides the text-align: center on the body element. */
     font-family: Arial, Helvetica, sans-serif;
     margin-top: 0;
     margin-right: auto;
     margin-bottom: 0;
     margin-left: auto;
     top: 10px;
     padding-top: 10px;
     clear: both;
.twoColFixRtHdr #header {
     height: 180px;
     padding-top: 10px;
     padding-right: 0px;
     padding-bottom: 5px;
     padding-left: 0px;
     border-top-width: 1px;
     border-right-width: 0px;
     border-bottom-width: 5px;
     border-left-width: 0px;
     border-top-style: solid;
     border-bottom-style: solid;
     border-top-color: #999;
     border-bottom-color: #000;
     margin-top: 5px;
     margin-bottom: 0px;
.twoColFixRtHdr #container #sidebar1 img {
     padding-top: 10px;
     border-bottom-width: 1px;
     border-bottom-style: solid;
     border-bottom-color: #999;
     margin-bottom: 0px;
     padding-bottom: 10px;
     padding-left: 10px;
.twoColFixRtHdr #header h1 {
     margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
     padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
.twoColFixRtHdr #sidebar1 {
     width: 315px;
     padding: 0px;
     top: 200px;
     float: right;
.twoColFixRtHdr #mainContent {
     width: 643px;
     padding-top: 10px;
     border-right-width: 1px;
     border-right-style: solid;
     border-right-color: #999;
     overflow: hidden;
     top: 230px;
     position: absolute;
     clear: right;
.twoColFixRtHdr #footer {
     background:#DDDDDD;
     top: 50px;
     clear: both;
     padding-top: 0;
     padding-right: 10px;
     padding-bottom: 0;
     padding-left: 20px;
.twoColFixRtHdr #footer p {
     margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
     padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
     float: right;
     margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page */
     float: left;
     margin-right: 8px;
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
     clear:both;
     height:0;
     font-size: 0px;
     line-height: 0px;
.spacer { 
     clear: both; 
.twoColFixRtHdr #container #mainContent #article_main_head {
     font-family: Arial, Helvetica, sans-serif;
     top: 10px;
     width: 635px;
     float: left;
.twoColFixRtHdr #container #mainContent #article_img {
     width: 630px;
     float: left;
     margin-top: 10px;
     clear: both;
.twoColFixRtHdr #container #mainContent #article_main_txt {
     float: right;
     width: 450px;
     clear: both;
     padding-top: 10px;
     height: 500px;
.twoColFixRtHdr #container #mainContent #article_main_pq {
     clear: both;
     float: left;
     width: 180px;
     margin-top: 100px;
Here is my html:
                                                               Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero. 
Loading news. please wait...                                   
Loading news. please wait...                    
Loading news. please wait...            
      Footer 

This CSS sends up a red flag:
.twoColFixRtHdr #mainContent {
     width: 643px;
     padding-top: 10px;
     border-right-width: 1px;
     border-right-style: solid;
     border-right-color: #999;
     overflow: hidden;
/******DELETE THE FOLLOWING*****/
     top: 230px;
     position: absolute;
     clear: right;
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Safari on my iPhone 6 running 8.02 doesn't seem to work right. Some Java scripts don't show correctly and they do on other browsers I have downloaded. I tried almost everything and nothing seems to work to fix it. Please help.

    Some websites like the one of my college uses JavaScripts and they seem to load correctly to a certain point but then not really. For example in one it would say select an option from the left menu. And I do it hut nothing happens. But when I go to the same website in another browser on my phone. The JavaScript works completely and allows me to see whatever I was clickig on that menu. I have seen that there are other websites being affected too. I tried clearing my cookies and data. even restarted my phone. And doesn't seem to work. I don't know how change the configuration any more to make it work like normal. At first I thought it was my school's website but it never got fixed. And now I realized is my safari browser! I wanna keep using it since I am really familiar with It. If someone knows how to fix this please let me know!
    Thanks

    You can reset the SMC and see if that helps. If it's a unibody or Retina, follow the method for "a battery you should not remove yourself."
    http://support.apple.com/kb/ht3964

  • I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?

    I'm using iphoto9.1.3 but now it doesn't seem to work, whenever I try to open it, it just shows loading, but never loads. Can anybody help me with this ?    

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts.    I prefer to view in All contacts on a double page spread with details on the right page.  Searching doesn't seem to work correctly i

    Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts. 
    I prefer to view in All contacts on a double page spread with details on the right page.  Searching doesn't seem to work correctly in this view.
    It's always the second search that is problematic.
    I've tried typing over and all it seems to do is confine the search to the the entries that have come up for the previous search.
    I've tried to use the x to clear the previous entry and then type the next search, same problem.  The only way seems to be to move from "All Contacts" to "Groups".  Then the searched name appears and I can return to All Contacts to see full details.
    Surely three key press' are not the way it's supposed to work?
    FYI
    Processor  2.7 GHz Intel Core i7
    Memory  8 GB 1333 MHz DDR3
    Graphics  Intel HD Graphics 3000 512 MB
    Software  Mac OS X Lion 10.7.3 (11D50d)
    Address book Version 6.1 (1083)
    MacBook Pro, Mac OS X (10.7.1), 8Mb RAM 2.7Ghz i7

    AddressBook experts are here:
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386

  • My daughter has just bought me an iPad 2 from Dubai and set it all up for me but unfortunately the iMessage function doesn't seem to work. We keep getting messages,when trying to activate it, that there is a network connection problem - help!

    My daughter has just bought me an iPad 2 from Dubai and set it all up for me but unfortunately the iMessage function doesn't seem to work. We keep getting messages,when trying to activate it, that there is a network connection problem - help!

    Thank you both for your responses but my daughter was reassured by the salesman in the iStyle store (official Apple store in the UAE) that iMessages would work but conceded that FaceTime wouldn't. My iTunes account is registered in the uk and my daughter's iPhone has iMessages even though she bought it (and uses it) in Dubai. Can anyone else throw any light on this?

  • I used to be able to download files from the Harddrive of my Sony Handycam, but now it won't let me import them while going through "log and transfer."  I have tried to update my settings, but this doesn't seem to work.  Any help would be much appreciated

    I used to be able to download files from the Harddrive of my Sony Handycam, but now it won't let me import them while going through "log and transfer."  I have tried to update my settings, but this doesn't seem to work.  Any help would be much appreciated

    Hard Drive:  The Hard Drive is on my camera (Sony Handycam)
    Just needed some info on what is going on with your particular system.
    Knowing the exact camera model will also assist us.
    If this camera is standard AVCHD you should be able to connect with USB to Mac with FCE open and use Log and Transfer without all the fiddling around converting etc.
    What FCE does during ingest is convert files to AIC. (Apple Intermediate Codec)
    FCE cannot read the individual files in the BDMV folder, that's why all the converting is required when you use that method.
    BTW: regards formatting drives/cards/memory on cameras; it is wise to use the actual device to format rather than a computer. This is a prime cause of read/write goof ups with solid state media. This applies to still or video cameras.
    Keeping the COMPLETE card/memory structure in tact is vital for successful transfers.
    Try here for some trouble shooting tips:
    https://discussions.apple.com/message/12682263#12682263
    Al

  • I got a $50 iTunes gift card for Christmas that doesn't seem to work. Everytime I enter the code, a box pops up that "Code entered is not valid". Please help me?

    I got a $50 iTunes gift card for Christmas that doesn't seem to work. Everytime I enter the code, a box pops up that "Code entered is not valid". Please help me?

    iTunes Store: Invalid, inactive, or illegible codes

  • Please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE

    please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE
    And in system prefs/language and text/input languages, simplified chinese and traditional chinese are ticked as usual with handwriting options on !!!!

    Please search the forum for "chinese" to find the many other earlier posts about your issue, like
    https://discussions.apple.com/message/15746805#15746805

  • HT201322 The hide your purchase doesn't seem to work on my iPad mini in iBooks, can anyone help?

    The hide your purchase doesn't seem to work on my iPad min, ipad or iphone 5i in iBooks, can anyone help? Is the info on the apple site wrong?

    The info on that is correct - it says :
    You currently cannot hide purchases on devices using iOS 6.
    You should still be able to hide ibooks via your computer's iTunes, and they shouldn't then appear in the Purchased tab in the ibookstore in the iBooks app (if you don't want ibooks that are in the cloud to show on the bookshelf in iBooks then set Settings > iBooks > Show All Purchases 'off' - hiding doesn't hide them from that, only from the Purchased tab).

  • HT4527 I have my entire music library (purchased and burnt CD's) on my iPod Touch from one computer and I wanted to sync it all to my new computer. I was hoping it would all transfer via sync when I plugged it in but it doesn't seem to work. Please help?!

    I have my entire music library (purchased and burnt CD's) on my iPod Touch from one computer and I wanted to sync it all to my new computer. I was hoping it would all transfer via sync when I plugged it in but it doesn't seem to work. Please help?!

    Ok, I had a glitch, forced to restart, and lost my train of thought.
    Reinstalling iTunes should fix the major issue that might have gone wrong, perhaps your explaination points will disappear and everything will be peachy again.
    But if they don't, you can open the XML file in iTunes Folder using a Text edit program to see what the common pathname is to the iTunes Music folder or where your content is located.
    If you moved the itunes folder, it needs to go back.
    I can't  download iTunes to my Vista virtual machine to test it out right now because iTunes is down, so I can't verify the pathname, perhaps your issue and the iTunes being down are related somehow?
    You don't want to import all your music again, but it's a option, but you lose all your playlists, that's what I'm trying to recover.
    If oyu don't have a whole lot of playlists, then simply select all the explaimation point music and delete, select File from the menu and import your itunes folder again.

  • I'm travelling and trying to back up my new iPhone to iCloud. I have sufficient storage, am connected to wifi and it's plugged into a power source and yet it doesn't seem to work. Can anyone suggest what I'm doing wrong?

    I'm travelling and trying to back up my new iPhone to iCloud. I have sufficient storage, am connected to wifi and it's plugged into a power source and yet it doesn't seem to work at all. I'm currently in India. Could that be the cause or can anyone suggest any reason why this wouldn't work?

    "gets stuck" - are there any error messages?
    If you get the error "Backup not successful" and you've tried deleting the last backup and trying to back up manually without luck, try the following test:   Go to...
    Settings>iCloud>Storage & Backup>manage Storage, tap your device name in the Backups section, then look under Backup options.  Turn off all apps from backup and then do a manual backup.  If that doesn't work, then this post will not help.  If the backup works, then go back to the app list and turn some on and try another backup.  If successful, keep repeating these steps.  If it fails at some point, then try to zero in on the one app that seems to make the backup fail.  (I had this problem and found one app failing, probably due to a corrupt data file.)
    This process will take time, but if a backup works with no app data being used but clearly fails with the original settings, then somewhere in the mix of apps is a "bad" one.

  • Can a use a partitioned external hard drive to create a disk image? I tried, doesn't seem to work using disk manager.

    Can a use a partitioned external hard drive to create a disk image? I tried, doesn't seem to work using disk manager.

    OK, it's very bad computing to use a backup disk for anything but a backup. The reason being is if/when the HD crashes you will have lost not only all your backup but the data files. While I commend you for wanting redundant backup, you really need separate EHDs for doing so. Format each EHD using Disk Utility to Mac OS Extended (Journaled) using the GUID parttition. When you connect, OS X will ask if you want to use that drive as a Time Machine backup drive, select yes and then let it backup. On the second EHD format the same way however do not use TM as a backup, this time I'd suggest an app such as SuperDuper or Carbon Copy Cloner to make a clone of the internal HD. Leave both EHDs connected and TM will backup new or changed files automatically on a hourly basis. The clone you will need to set to backup on the schedule you want. For example I have my SuperDuper EHD set to backup only changed or updated files at 2AM every day.
    The advantage of a clone is that if the computers internal HD crashes you can boot from a clone and continue working, TM will not do that but it's great for keeping an archive of all files. So if you want a version of a file from many months ago, TM will help you locate and restore it.

  • I want pictures from each device in the cloud, but not on every other device. Possible? "iCloud Backup" alone doesn't seem to work....

    My goal is to acheive 3 of the following things.:
    Have all my apple devices sync pictures to the icloud *without* syncing the pictures on all the devices...so just one direction from device to cloud and not have all the devices insync from the cloud...... I don't want all the devices in sync, I just want the pictures protected in the cloud. To do this, I've tried to just turn on "icloud bacn-up" and not turn on "photo stream" to acheive this, but doesn't seem to work.
    If #1 is possible, then I would like to sync the icloud with a folder on my PC using the icloud app for the PC. Not sure if I can have only the icloud PC sync and not have all the devices in sync?
    If #1 and #2 could work, then I would sync the PC folder with my local storge.
    end result would be all my photos save in the cloud and a safe copy my home in my local storage. I would have thought that most people would want to do this, but doens't seem so obvious to me as to how I can get it to work?
    Any help would be appreicated.
    thanks

    You can't use iCloud as a safe place to store your photos when they are deleted from your devices.  iCloud designed to stream photos to your devices, and to back up photos currently on your your devices as part of your iCloud backups.  However, photo stream photos only remain in iCloud for 30 days, giving your devices enough time to download them.  And if you delete a photo stream photo from any of your devices, it is also deleted from iCloud and from all of your devices.  Furthermore, while camera roll photos are included in your backup, if you then delete the photos from your device and continue backing up, the backup containing the deleted photos will be overwritten by one that doesn't, and they will be lost.
    If you want to save your photos, import them from the camera roll to your computer as explained here: http://support.apple.com/kb/HT4083.  Then you can delete them from your device.
    If you would rather have a cloud-based place to store your photos, look into a service such as Dropbox.

  • Bridge Offset Nulling Doesn't Seem to Work With SCC-SG24

    Does anyone know if the DAQmx "Perform Bridge Offset Nulling Calibration" vi works with the SCC-SG24 modules?  We have used our NI-9237 module in the past to acquire dual-channel load cell (thrust & torque) measurements, and calling that vi does a fine job of zeroing out the values before applying the load.  However, it doesn't seem to work when we try to take the same measurements using an SCC-SG24 module.
    We are able to zero the values manually, by using the nulling resistors and potentiometers in the SCC-SG24.  But, whether the nulling resistors are installed or not, we are not able to zero the values using the "Perform Bridge Offset Nulling Calibration" vi.  Running that vi does induce a significant offset in the values, but it is not the correct offset needed to bring the values to zero.  For example, with no load applied, a torque reading before running the vi may be +1090 in-lbs, and be "zeroed" to -465 in-lbs after running the vi.  Running the vi multiple times (to check repeatability) always brings us back to approximately -465 in-lbs.
    An additional issue (not sure if it's related or not) is that if we try to run this vi to offset just one of the channels in the task (such as just thrust, but not torque) it will still induce a small offset in the other channel, which doesn't seem right.
    I guess I'm not clear on whether the subject vi is performing an operation on the hardware, the software, or both, so I'm not sure whether the SCC-SG24 modules may not be compatible with this vi?
    Thanks for any help you can provide.

    Hello Dhruser1,
    I think that the DAQmx Perform Bridge Offset Nulling Calibration should work for the SCC-SG24 module.  Take a look at this article:  Removing Large Initial Offset for Load Cell or Strain Measurements with SCXI-1520 or PXI-4220 in particular it mentions that using this VI in addition to the auto zero can introduce an offset.  If you're doing both these is likely the cause.
    Also, when you specify specific channels using the channels input are you also setting the "skip unsupported channels to false?  If not this may be why it affects other channels.
    I hope this helps, and if not please feel free to post back with an update after trying these things.
    Cheers,
    Brooks

  • Annotations - InheritanceType.TABLE_PER_CLASS doesn't seem to work with GF

    Hi there,
    I'm using the toplink essentials jar file with a stand alone J2SE application. I'm using annotations for ORM with Toplink implementation
    What I want to achieve is to map the base class objects to one table, and sub class objects to a different table. Currently - both tables (and objects) have the exact same structure, but I use inheritence in order to identify where should the object be registered. Thus I'm trying to map an inhertiance using TABLE_PER_CLASS type.
    It doesn't seem to work:
    My classes look like this:
    Base class I want to map to REGION table:
    @Entity
    @Table(name="REGION")
    @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
    public class Region implements BaseBusinessObj
    @Id
    @Column(name = "REGION_ID", insertable = false, updatable = true)
    @GeneratedValue(generator = "regionSeq")
    @SequenceGenerator(name = "regionSeq",
    sequenceName = "GSM_REGION_ID_SEQ", allocationSize = 1)
    private int m_regionId;
    @Column(name = "REGION_NAME")
    private String m_regionName;
    Subclass with exact same structure I want to map to GFR_REGION table which has the exact same database table structure as REGION:
    @Entity
    @Table(name="GFR_REGION")
    public class GfrRegion extends Region
    This doesn't work. The Toplink adds entities of the GfrRegion to the REGION table and does not recognize it should go to the GFR_REGION table.
    What am I doing wrong?
    Thanks,
    Michael

    Hi all,
    Any news about the support for TABLE_PER_CLASS in TopLink/EclipseLink ?
    The main question is what was the reason for making this an optional strategy for mapping in the specs ? Both OpenJPA and Hibernate have it and there are cases when this is usefull.
    From EclipseLink perspective, how difficult would be to add this ? I didn't have a chance yet to closely examine the codebase for EclipseLink, but some architecture diagrams with some design decisions explained would help to community to better understand the product and make improvements.
    Thank you,
    Mircea

Maybe you are looking for

  • UK Payroll - Incorrect calculation of OSP & SSP

    Hi, We are facing an issue wherein the OSP & SSP figures are not being calculated correctly by the system. when the employee has a time wage type assigned to him. Problem Details :  The employee has two wage types in his Basic Pay infotype : Basic Pa

  • Satellite M45-S265 will no longer hibernate

    My laptop no longer hibernates when I close the lid.  Even if I manually try to get it to hibernate through the START menu, it just reverts back to the desktop.  All settings that I can find are set to hibernate when the lid is closed.  I also checke

  • Facebook app iPhone 4

    Hi, I currently downloaded Facebook App. on my iPhone 4. But App opening page does not show Sign in/ Log in although it shows only Sign Up for FaceBook. so I cannot connect my facebook page via using app. Is there any solution for that? Thank You.

  • Application roles and dynamic roles

    Hello all, In my custom workflow, i need to send approvals to some employees. The list of their positions are created in Lookup table. The procedure i am following now is, i am creating appliation roles and adding the names of the people who are in t

  • I am trying to make a Shell call to Firefox in the C:\Program Files (x86)\Mozilla FireFox\ directory and LabView shell call gives an error.

    I am trying to make a Shell call to Firefox in the C:\Program Files (x86)\Mozilla FireFox\ directory and LabView shell call gives an errors. I can go to the DOS shell and make the call fine, but Labview Shell gives several errors. Anyone know how to