Need help-confused on higher margin with div in div sidebar space

Hello

I tried for hours to understand what affects the margin from the top right div on the page #first_ad contained in #sidebar2. Right now I have this nav first div with top of 10px which looks like 30 in IE7 and 40px in iIE8 (chrome, firefox are very good). I have tried 0 margin on labels p and h, and other things for the Lord alone knows what else. I can't see what it affects.

If I could understand that it would be a great help because I seem to go in this lot with the placement of a div in a sidebar. I start by using dreamweaver CS4 as my base models.

Here is the link to the page.

http://www.hanovertypocraft.ca/test2/index3.html

Thanks for any help you can give me!

Here's the css

@charset "UTF-8";

{body

margin: 0; / * It is advisable to zero, the margin and the filling of the body to hold element has a different default browser * /.

padding: 0;

text-align: center; / * This centers the container in IE 5 * browsers. The text is then set left aligned by default in the #container selector * /.

color: #FFF;

are-family: Verdana, Arial, Helvetica, without serif.

are-size: 100%;

background-color: #000;

background-image: url (.. / images/hantypbg2.jpg);

background-repeat: no-repeat;

}

.thrColFixHdr #container {}

width: 900px;

text-align: left; / * This setting overrides the text-align: center on the body element. */

top of the margin: 50px;

margin-right: auto;

margin-bottom: 0;

margin left: auto;

background-image: url (.. / images/container_bkgd.png);

background-repeat: no-repeat;

}

.thrColFixHdr #header {}

padding: 0;

height: 110px;

margin: 0px;

clear: none;

float: left;

width: 740px;

}

.thrColFixHdr #header h1 {}

margin: 0; / * zero setting of the margin of the last element in the #header div tag will prevent the collapse of margin - inexplicable space between divs. If the div has a border around it, this isn't necessary, which also allows to avoid the collapse of margin * /.

padding: 10px 0; / * padding instead of margin will allow you to keep the edges of the div element * /.

}

{.thrColFixHdr #sidebar1}

float: left; / * because this element is floating, it takes a width * /.

width: 165px; / * fill keeps the content of the div of the edge * /.

display: inline;

}

#sidebar1 of the .thrColFixHdr #container {p}

margin: 0px;

padding: 0px;

}

{#header #head_logo_text}

height: 110px;

width: 355px;

margin-top: 0px;

margin-bottom: 0px;

left margin: 225px;

color: #FFF;

are-size: 18px;

are-family: Arial, Helvetica, without serif.

make-weight: normal;

clear: none;

float: left;

margin-right: 0px;

padding: 0px;

}

#header has {#head_logo_text

color: #FFF;

}

#header #head_logo_text p {}

are-family: Arial, Helvetica, without serif.

are-size: 16px;

line-height: 21px;

margin: 0px;

padding: 0px;

}

.thrColFixHdr #container #header img {}

margin: 0px;

padding: 0px;

}

{#nav_home}

width: 135px;

padding: 0px;

margin right: 15px;

margin-bottom: 0px;

margin left: 15px;

height: 320px;

margin-top: 10px;

}

{.thrColFixHdr #sidebar2}

float: right; / * because this element is floating, it takes a width * /.

width: 140px; / * fill keeps the content of the div of the edge * /.

margin-right: 10px;

padding: 0px;

margin-top: 0px;

margin-bottom: 0px;

margin-left: 0px;

background-color: #00F;

}

.thrColFixHdr #container #sidebar2 h1 {}

margin: 0px;

padding: 0px;

}

.thrColFixHdr #container #sidebar2 p img {}

margin: 0px;

padding: 0px;

}

#sidebar2 of the .thrColFixHdr #container {p}

margin: 0px;

padding: 0px;

}

#mainContent {}

margin-top: 10px;

margin right: 160px;

margin-bottom: 0;

margin left: 175px;

padding-top: 0;

padding-right: 10px;

padding-bottom: 0;

padding-left: 10px;

}

#mainContent p {}

are-family: Arial, Helvetica, without serif.

text-align: center;

make-weight: normal;

are-size: 16px;

line-height: 20px;

margin: 0px;

padding: 0px;

}

#mainContent #flash_div {}

width: 353px;

margin-right: auto;

margin left: auto;

border: 3px solid #000;

height: 265px;

overflow: hidden;

}

.fltrt {/ * this class can be used to float right to the item in your page.} The floating element must precede the element it should be next to the page. */

float: right;

margin left: 8px;

}

.fltlft {/ * this class can be used to float an element on your page to the left * /}

float: left;

right margin: 8px;

}

.clearfloat {/ * this class must be placed on an element div or break and should be the last item before closing a container should completely contain a float * /}

clear: both;

height: 0;

font size: 1px;

line-height: 0px;

}

{#sidebar2 #first_ad}

height: 140px;

margin-top: 10px;

margin-bottom: 10px;

border: 1px solid #000;

}

{#sidebar2 #second_ad}

height: 140px;

margin-top: 10px;

margin-bottom: 10px;

border: 1px solid #000;

}

{#sidebar2 #third_ad}

height: 140px;

margin-top: 10px;

margin-bottom: 10px;

border: 1px solid #000;

}

{#sidebar2 #fourth_ad}

height: 140px;

margin-top: 10px;

margin-bottom: 10px;

border: 1px solid #000;

}

Hello

You have a fix CSS for IE in the 'index3.html' source file and it puts ' padding-top: 30px;' for sidebar1″ and sidebar2. From there comes the extra space.

Check it out on line 15 of the source file.

Kind regards

Tags: Dreamweaver

Similar Questions

  • Need help to solve the problem with the margin at the bottom of the converted pdf file.

    Need help to solve the problem with the margin of the converted CEO down. What caused the change in format?

    Hi jerrio1949,

    There is no way to change the margin, you settle back into your original file & then convert to PDF format.

    Kind regards
    Nicos

  • Need help to reactivate Lightroom 5 with my old serial number and the number TAN.  I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012.

    I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012. It worked great, but after that I put an old hard drive on my PC (for 30 minutes - then I removed again) to get some information of this former, Lightroom now license application or try it for 30 days.

    I have not installed Lightroom on a new hard drive. He is always on the same hard disk. How can I now have my Lightroom to run again using my serial number and TAN? Need help to reactivate my old serial number and the number TAN.

    I use win 7.

    Duplicate thread: need help to reactivate Lightroom 5 with my old serial number and the number TAN.  I got a license for Lightroom 5 when I bought my Leica delux 4 in 2012.

  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • Need help to understand political static with Nat No.

    Hi all

    I have a Pix 515e with 6 interfaces. 5 interfaces are considered as internal that we don't want any translation NAT occur between them. We want only NAT between the 5 and the external interface.

    I created a No_Nat ACL successfully to not manage any portion of nat.

    What I have trouble understanding is the static command to allow traffic between higher levels to lower levels and vice versa.

    I understand the

    public static inside_address outside_address (indoor, outdoor)

    for the part of NAT translation.

    What I do not understand, this is when the inside address and address outside are the same, what order are going. For example, my inner interface (192.168.1.0/24) (sec100) is where the live servers, and I have another interface named accounting (192.168.2.0/24) (sec75).

    If I don't want no nat occurs between these two, I have the following

    No_Nat of the 192.168.1.0/24 192.168.2.0/24 ip access list permit

    No_Nat of the 192.168.1.0/24 192.168.2.0/24 ip access list permit

    NAT (inside) 0-list of access No_Nat

    NAT (accounting) 0-list of access No_Nat

    Now how can I enter the static command?

    Maybe

    static (inside, accounting) 192.168.1.0 192.168.1.0 netmask 255.255.255.0

    or

    static (inside, accounting) 192.168.2.0 192.168.2.0 netmask 255.255.255.0

    or

    static (accounting, inside) 192.168.1.0 192.168.1.0 netmask 255.255.255.0

    or

    static (accounting, inside) 192.168.2.0 192.168.2.0 netmask 255.255.255.0

    I do not understand the prescription for it and why it would be used one verses the other way. Is the security level determines the order? Do I need two static command, one for each direction?

    Thank you

    Denny

    Hello denny

    static can be defined in any way... its only traffic that determines what it... for example, if accounting dmz is access to any server on your inside interface, you normally want the accounting servers see the original on its public IP server inside... so, you will end up as static

    static (inside, accounting) 192.168.1.0 192.168.1.0 netmask 255.255.255.0

    only the above static command is sufficient to establish connectivity between inside and dmz accounting. u don't need 2 static on any sense...

    Similarly, if you want to inside users to access a server on the dmz accounting, you can write a static type

    static (accounting, inside) 192.168.2.0 192.168.2.0 netmask 255.255.255.0

    hope you understand. Let us know if you need help... but normally a statement nat 0 is more than enough for the inside / dmz communication

    Kind regards

    REDA

  • Need help as soon as POSSIBLE with RAM Preview

    Hey guys I need help with my RAM Preview and how to get it back on the default setting. I don't know what happened, but now my RAM Preview is divided on two screens. I tried literally everything to solve this problem and came to nothing. Nothing on google as well. Help, please! I need to get there soon! Here's what happens: 2016-09 - 03.png - Google Drive

    This is your equal to 2 times and not the RAM Preview Composition Panel (in fact it is seen now and not the RAM Preview... you can call him Mr. Preview if you want to get fancy). knowing how to describe your problem lies at halfway to a solution

    DON'T PANIC!

    Set it to 1 view and you'll be fine!

    These views are used for 3D to show the different perspectives and views spelling of a 3D scene. When they have no use in 2D. If you clicked on the option to display 2 views or more they will appear unless you change it back manually. even when you reset your workspace, they will appear - so I understand why this can be confusing.

    more about it here: https://helpx.adobe.com/after-effects/using/modifying-using-views.html...

  • I need help creating a vector mask with an adjustable edge or fade, can anyone help?

    I need help creating a vector with an adjustable edge mask or disappear so that I can surround a hand drawn - isolate the background so that I can black out around the hand, the hand a hair above, so I can not just pen tool, can anyone help?

    hand4.jpg

    hand.jpg

    I recommend starting with a layer mask based on the green channel, edition that with the curves to get a decent contrast and then paint in the areas needed.

  • Need help to restore Iphone recycled with no password

    Hello, I received a recycled locked Iphone no password need help. Downloaded Itunes followed instructions nothing and I have no company of cells still need help. J.

    You must use a SIM card to activate the phone

    IF the phone is locked - so it must be a carrier card

    IF the carrier unlocked - any SIM card will do

    There is no need for a new SIM card

  • need help to install the printer with cd rom

    Hello, I need help to install a 3310 pphotosmart printer all in one. I don't have the cd ROM any help will be greatly appreicated.

    Thank you

    Hello

    You can download the installer for your printer using the link below.

    http://h10025.www1.HP.com/ewfrf/wc/product?product=439491&LC=en&cc=us&DLC=en&task=&lang=en&cc=us

    Choose "Software and Driver Downloads", select your operating system, open "driver-product Installation Software" and then choose the option download Installer "Full Feature".

    Kind regards

    DP - K

  • Need help to align right < ul > relatively div container

    Hi guys,.

    I'm trying to get an unordered list to display "right: 0; ' relative to the div container that it is in.

    When I put the value of the unordered list to "right: 0; ' it makes the < ul > go to the far right of the screen, but I want to just go to the far right of the div that it is in.

    I tried this:

    #header div.headerContainer ul.nw {}

    margin: 0px;

    position: absolute;

    right: 0px;

    }

    Does anyone know where I could go wrong?

    Click here to see my test site, is that the help and the list not ordered, I try to go to the far right of the div is 'sn '.

    I'd appreciate any help, you can give and hope to hear from you.

    SM

    I can see your page now, but I can't work all that is your problem.

    The other thing to say is that if you use absolute position on an item from the container element, you need to add position: relative to the container.  However, it is advisable to avoid the absolute position if you can.

    Martin

  • Need help finding a slimline s5213w with win7 64-bit recovery CD

    Trying to help his sister-in-law find the restore CD. It crashed the computer and can't find the original ones.

    would welcome any suggestions on the problem. It is a 2009 model

    Thank you

    Plugman

    Hi, Plugman:

    Please read the info on the link below to find out how the recovery disks command for the PC.

    http://support.HP.com/us-en/document/bph07143

    HP should have drives for this model yet. If there is a link to order and it doesn't work, just call HP and order by phone.

    If by chance HP does not, you can order a set of this provider, but you will have to pay almost double.

    http://www.computersurgeons.com/ProductDetails.aspx?ID=14741

    You can also make your own regular install of W7 disc and allows to reinstall windows 7 If you can read the product key 25 character microsoft on the COA sticker on the case of the PC. You will have none of the programs supplied with the PC using this method, however.

    If you can read the Microsoft windows 7 25-character product key, you can download simple Windows 7 ISO files to burn on a DVD for the version of windows that is installed on your PC, and which is listed on the Microsoft COA sticker on your PC case.

    Burn the ISO with the option to burn the ISO on your DVD burning program and burn it at the slowest possible speed that will allow your program. This will create a bootable DVD.

    Or use the installation of Windows 7 USB/DVD tool to compile the ISO file that you download from Digital River. Link and instructions below. You need a 4 GB flash drive to use the USB compilation method.

    http://www.microsoftstore.com/store/msstore/HTML/pbPage.Help_Win7_usbdvd_dwnTool

    Use 25 characters on the PC product key to activate the installation.

    The key will activate a 32 or 64 bit installation.

    Then go to the support of the PC and driver page to install the drivers you need.

    Link to downloads ISO of W7 is below.

    http://www.mydigitallife.info/official-Windows-7-SP1-ISO-from-Digital-River/

    Paul

  • Need help to solve the problem with worm:win:32 / cridex.e

    Please help me to solve this problem worm:win:32 / cridex.e

    Hello

    Scan of Malware in Safe Mode with network.

    http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap the F8 key repeatedly until you are presented with the Boot Options Advanced Windows Vista.
    3. Select the Safe Mode with networking with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    Once in Safe Mode with network, download and run RKill.

    RKill does NOT remove the malware; It stops the Malware process that gives you a chance to remove it with your security programs.

    http://www.bleepingcomputer.com/download/rkill/

    Then, download, install, update and scan your system with the free version of Malwarebytes AntiMalware in Mode safe mode with networking:

    http://www.Malwarebytes.org/products/malwarebytes_free

    See you soon.

  • Need help choosing correct High Gain Antennas

    Hi all

    I was wondering if someone could please offer me assistance in the choice of the correct high gain antennas for my Wireless Linksys WAP54G access point.  I recently ordered a set of Amazon, and even if the product description says that they would, they do not have.  The product said that it was a type of connection RP - TNC, but it wouldn't fit my WAP54G.  Could you get it someone please let me know what type of connector most recent WAP54G access point?  I really need to get some antennas ordered as soon as possible.

    Here is a link to the antennas I ordered on Amazon, which has not worked for me:

    http://www.Amazon.com/9dB-Linksys-15-booster-antenna/DP/B0009U736A/ref=cm_cr-Mr-title

    Although I wish I had the real Linksys brand antennas, they are much too expensive.  If you can point me in the right direction, or maybe even send me a link directly to the product page of what I need to order, which would be highly appreciated.

    Thanks for your help, and I wish everyone a great holiday of Thanksgiving.

    See you soon,.

    ~ Marty

    The antenna for the WAP54G and WRT54G the connector are of type RP - TNC

    Do you have any RP-TNC-M or RP-TNC-F

    The connector of the antenna on the WAP54G is M, so the antenna must be F

    Concerning

    Fred

  • Need help on client requirement - correspondence with dynamic reference data in real time

    Hello

    Please help me with the corresponding real-time customer's requirement.

    I've been through time real guide- real time corresponding

    Who are there are two ways to do real-time corresponds according to the given URL.

    1 - prevention of real time duplication

    2 - match of real-time reference


    Now guests feel difficulty to go with approach 1, which is demanding a better interaction between the application UI and OEDQ (developed in JAVA). They are not agree with solution 1.


    Now approach 2 is ok, but the reference file change dynamically through this UI application, now I need update OEDQ reference data respectfully change data, but this will require downtime of the web service and re-read that take about 10 min (700 K records).

    so, what could be the solution for this scenario?





    Hi Mike,.

    Thanks a lot for your fast turn around.

    Yes, I agree but not ready to implement the first solution, then I'm left with the second client option.

    So, what could be the tactical solution more this situation coming?

  • Need help to export a header with slices to a web page

    I used Fireworkds CS3 to create a header for my web page. I used brackets insert links in the header.

    the problem is now I can not understand how to insert this header in my web page so that the URL still works...

    I see instructions anywhere on the web to export an entire web page in Fireworks, but can not make you an article as a header?

    I really didn't want to do the whole thing in Fireworks.

    Thank you

    H

    What I would do is the bracket to the top of the header only image and use that as a background image, called via a style sheet for the background of the header div.  Create text links in Dreamweaver (or your editor of choice if you are not using DW).

    Much better option :-)

    This tutorial can help you on the road to export only the images you need and then building the page in your html editor:

    FIREWORKS INTO COMP TO DREAMWEAVER:

    http://www.Adobe.com/devnet/Dreamweaver/articles/dw_fw_css_pt1.html

    --

    Nadia

    Adobe® Expert community: Dreamweaver

    http://www.perrelink.com.au

    --------------------------------------------------------------------------

    Unique templates CSS | Tutorials | SEO articles

    http://www.DreamweaverResources.com

    --------------------------------------------------------------------------

    http://Twitter.com/nadiap

Maybe you are looking for

  • Time machine missing backups

    iMac 2009, 21.5 inch, OSX Yosemite 10.10.5 I replace my computer soon, after many years of good, and one thing that always gives me peace of mind is my Time Machine backups to an external drive (Seagate Free Agent 1 TB). My computer had about 800 GB

  • HP Pavilion DV6-6c35dx: uninstall the useless drivers

    Apparently, I installed the network drivers that do not apply to my laptop. They do not appear in the list of programs, or anywhere else as far as I can tell. How do we uninstall them? If the material that support the drivers is not present, drivers

  • Windows 8 got it wrong my location.

    I just bought computer windows 8 and leave the bing to find my position, but it said that my position is different than where I am.  He identified the property belonged to a partner of mine, but I am not a partner in that property?  Where bing gets l

  • Very low volume for mp3 youtube or windows media player.

    I have windows vista I have the volume turn completely. But it is very low that if I use the speakers that are built into the computer the volume is fine. But if I plug a speaker on the back of the computer volume is very low.

  • difference between the configuration of System center 2012 & central Office Manager

    Can someone give me the difference between the configuration of System center 2012 & version 8 Central Office Manager please.