White space between the Div tags

I use DW CS4.  I need to help, reducing the white space between the DIV tags  I have the white space between smaller gray line and my nav bar.  I see all the places where there are margins or padding.  Can anyone help?  Here's the code.  Thank you.

< body bgcolor = "#CCCCCC" onload = "MM_preloadImages('..)." /_img/HOMEover.jpg ',' /_img/COMPANYover.jpg ','... / _img/PROJECTOR TSover.jpg ', '... CASE STUDIESover.jpg/_img / ','... / CONTACTUSover.jpg/_img ') ">"

< div id = "container" >

< div align = "left" >

"" < p > < img src = "... / _img/Nute_Logo_tag_060612.gif" alt = "logo" name = "logo" width = "113" height = "74" hspace = "5" align = "absbottom" id = "logo" / > < / p >

< / div >

< div id = "header" > < / div >

< div id = "content" > < / p >

< table border = "0" cellpadding = "0" cellspacing = "0" >

< b >

"" "" < td > < a href = "" javascript:; "target ="_top"onclick =" MM_nbGroup ('down', "group1', 'bluebar',", 1) ' onmouseover = "MM_nbGroup ('over', 'bluebar',","1)" onmouseout = "MM_nbGroup ('out')" > < img src = "... / _img/bluebarup.jpg" alt = "" name = "bluebar" width = "118" height = "15" border = "0" id = "bluebar" onload = "" / > < /a > < table >

"" < td > < a href = "" javascript:; "target ="_top"onclick =" MM_nbGroup ('down', "group1', 'Home',", 1) ' onmouseover = "MM_nbGroup ('more', 'Home','... / _img/HOMEover.jpg ',", 1) "onmouseout ="MM_nbGroup ('out')"" > < img src = ""... / _img/HOMEup.jpg ' alt = "Click HOME to go to the home page" name = "home" width = "115" height = "15" border = "0" id = "home" onload = "" / > < /a > < table >

"< td > < a href =" "javascript:;" target = "_top" onclick = "MM_nbGroup ("down"," group1', 'society', ", 1) ' onmouseover =" MM_nbGroup ('more', 'society', "..") " "(/ _img/COMPANYover.jpg', '', 1)' onmouseout ="MM_nbGroup ('out')"> < img src ="... / _img/COMPANYup.jpg "alt ="Click to go to our services COMPANY"name ="company"width ="122"height ="15"border ="0"id ="company"onload =" "/ > < /a > < table >"

"< td > < a href =" "javascript:;" target = "_top" onclick = "MM_nbGroup ("down","Group 1","projects",", 1) ' onmouseover = "MM_nbGroup ('more', 'projects',..." "(/ _img/PROJECTSover.jpg', '', 1)' onmouseout ="MM_nbGroup ('out')"> < img src ="... / _img/PROJECTSup.jpg ' alt = 'PROJECTS click to see our projects' name = 'projects' width = "122" height = "15" border = "0" id = "projects" onload = "" / > < /a > < table > "

"" "" < td > < a href = "" javascript:; "target ="_top"onclick =" MM_nbGroup ('down', "group1', 'studies',", 1) ' onmouseover = "MM_nbGroup ('more', 'studies,'... / _img/CASE STUDIESover.jpg',", 1) "onmouseout ="MM_nbGroup ('out')"> < img src ="... / _img/CASE STUDIESup.jpg "alt ="click on the CASE STUDIES to see examples of projects' name = "added" width = "150" height = "15" border = "0" id = "added" onload ="" / > < /a > < table >

"" "" < td > < a href = "" javascript:; "target ="_top"onclick =" MM_nbGroup ("bottom", "group1', 'contactus',", 1) "onmouseover =" MM_nbGroup ('more', 'contactus','... / _img/CONTACTUSover.jpg ', ", 1)" onmouseout = "MM_nbGroup ('out')" > < img name = "contactus" src = "... / _img/CONTACTUSup.jpg" border = '0' alt = "" onload = "" / > < /a > < table >

< /tr >

"< / table > < img src =" "alt =" "name ="mainphoto1"width ="780"height ="264"id ="mainphoto1"/ >

Thank you for all your help.  I solved it by adding a padding to my header (grey line).

Tags: Dreamweaver

Similar Questions

  • spaces between the div tags

    I posted a few weeks on how to Center my site (that I had learned to design using all AP divs). I have redesigned my site now. Everything looks great in Firefox and Safari; but I'm having a problem with spaces between the div tags in Solution Explorer.

    Please see problem and source code here:
    http://www.renegadegraphics.biz/renegade_graphics_contact_us.htm

    There is a space under the banner div in the left sidebar. Can anyone help me please with this. I have the two fill and margins set to 0.

    Thanks in advance for your help.

    -Change

  • How to get rid of the space between the div tags in Safari?

    Hello.  I'm designing a website with CSS and there is a space appears between two divs seen in Safari, but not in IE (the space appears between the header at the top tag and the container below. I spent hours trying to solve this problem, without success, and I am really frustrated. I am new to DW and not very good at code, so if someone can please shed a light on how to solve this problem, I would be very grateful.

    I have attached the page in question. Any help much appreciated!

    R

    I hate this rule since it removes the default margins of everything.  But you're definitely on the right track.  What is happening is that the margins by default of the first and the last tag in the DIV does NOT collapse as it should and is pushing out.  You can fix this in a number of ways, including the way you suggested.  Another way would be to complete some padding the divs, or a border for the divs, or just set the margins on these specific tags (those in the divs) to zero.  For example, try this code with and without the style sheet embedded in Safari-


    Test


    Test

  • Why space between the divs?

    First of all I am more than a copier and paste person then a web site designer.

    I created a page layout, but have a space between the header which contains an image of the logo and a background image.  The logo is in the html code and the background of the header is in the css.  I put the css in the head section, so I wouldn't have to upload a separate .css file.  Also, how would I make the navigation menu appears as soon as the last link or nexus 7 sample is pushed to the bottom of a line?

    Thanks for your suggestions!

    Here is a link to the www.googledrive.com/host/0B39bIUNDgs_JWUF6b0ZONHdLTnc/ page

    And here's the code.

    <! DOCTYPE HTML >

    < HEAD >

    <! DOCTYPE html PUBLIC "" "" > < HTML lang = "en" > < HEAD > < META content = "IE = 11.0000" http-equiv = "X-UA-Compatible" > ".

    < META charset = "utf-8" >

    < META http-equiv = "X-UA-Compatible" content = "IE = edge, chrome = 1" >

    < TITLE > Introduction to design sensible Web < /title >

    < META name = "viewport" content = "width = device-width, original scale = 1" >

    < META name = "GENERATOR" content = "MSHTML 11.00.9600.18212" >

    <!-STYLE CSS START->

    < style >

    {body

    do-family: Helvetica, Arial, without serif.

    padding: 0px auto;

    margin: 0px auto;

    color: #555;

    background: #a6b17a;

    }

    IMG {}

    Max-width: 100%;

    height: auto;

    margin: 0px 0px 0px 0px;

    }

    /* -------------------- HEADER -------------------- */

    {div.} Header

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

    background-color:;

    padding: 0px auto;

    height: auto;

    }

    /* -------------------- CONTAINER -------------------- */

    {div. Container}

    Width: 85%;

    height: auto;

    background-color:;

    margin: 0px auto;

    padding: 0px auto;

    -webkit-box-shadow:-1px 10px 0px 3px rgba (0,0,0,0.75);

    -moz-box-shadow:-1px 10px 0px 3px rgba (0,0,0,0.75);

    box-shadow:-1px 10px 0px 3px rgba (0,0,0,0.75);

    }

    /* -------------------- NAVIGATION -------------------- */

    {div. MenuBar}

    Width: 100%;

    height: auto;

    padding: 0px auto;

    margin: 0px auto;

    background-color: #000;

    }

    {UL.topnav}

    list-style-type: none;

    margin: 0;

    padding: 0;

    overflow: hidden;

    background-color: #333;

    }

    UL.topnav li {}

    float: left ;}

    UL.topnav li a {}

    display: inline-block;

    color: #f2f2f2;

    text-align: center;

    padding: 10px, 12px;

    text-decoration: none;

    transition: 0.3 sec.

    do-size: 12px;

    do-family: Arial, Helvetica, without serif.

    }

    ul.topnav Li a: hover {}

    background-color: #111;

    color: Red;

    }

    UL.topnav li.icon {display: none ;}}

    /* -------------------- BODY CONTENT -------------------- */

    {div. Body-content

    min-height: 515px;

    padding: 0px auto;

    background-color: #FFF;

    }

    /* -------------------- FOOTER -------------------- */

    div.footer {}

    background-color: #000;

    color: #FFF;

    padding: 0px 0;

    text-align: center;

    height: 75px;

    do-size: 12px;

    make-weight: bold;

    }

    / * - RESPONSIVE CSS-* /.

    @media screen and (max-width: 680px) {}

    UL.topnav li: not(:first-child) {display: none ;}}

    UL.topnav li.icon {}

    float: right;

    display: inline-block;

    }

    }

    @media screen and (max-width: 680px) {}

    {UL.topnav.Responsive}

    position: relative;

    }

    UL.topnav.Responsive li.icon {}

    position: absolute;

    right: 0;

    top: 0;

    }

    UL.topnav.Responsive li {}

    float: none;

    display: inline;

    }

    UL.topnav.Responsive li a {}

    display: block;

    text-align: left;

    }

    }

    < / style >

    <! - END CSS STYLE - >

    < / head >

    < body >

    < div class = "container" > <!-CONTAINER START->

    <! - check out header - >

    < div class = "header" >

    < img src = "images/lt350.jpg" alt = "Logo" > "

    < / div >

    <!--end Header-->

    <! - START MENUBAR & NAVIGATION - >

    < div class = "menu bar" >

    UL class = "Visibility" >

    < li > < a class = "active" href = "#home" > home < /a > < /li >

    < li > < a href = "#" > Sample Link 1 < /a > < /li >

    < li > < a href = "#" > Sample Link 2 < /a > < /li >

    < li > < a href = "#" > Sample Link 3 < /a > < /li >

    < li > < a href = "#" > Sample Link 4 < /a > < /li >

    < li > < a href = "#" > Sample Link 5 < /a > < /li >

    < li > < a href = "#" > example link 6 < /a > < /li >

    < li > < a href = "#" > example link 7 < /a > < /li >

    < class li = "icon" > < a href = "javascript:void (0);" "style =" do-size: 15px; " "onclick ="myFunction ()"> & #9776; < /a > < /li >

    < /ul >

    < / div >

    <!--END MENUBAR & NAVIGATION - >

    <!--> CONTENT in the BODY of the BEGINNING

    < div class = "body-content" > < / div >

    <!--> CONTENT BODY END

    <!--> START PAGE foot

    < div class = "footer" > < / div >

    <! - END footer - >

    < / div > <! - END CONTAINER - >

    <!--> STARTUP SCRIPT REACTIVE

    < script >

    Function myFunction() {}

    document.getElementsByClassName ("topnav") [0].classList.toggle ("responsive");

    }

    < /script >

    <! - END SCRIPT REAGENT - >

    < / body >

    < / html >

    Remove the space under the logo image - add your css stylesheet below

    . Header img {}

    vertical-align: bottom;

    }

    How to evoke the Burger menu earlier - change the value of px 900px in both your support queries:

    @media screen and (max-width: 900px)}

  • Issues of white space between the content and footer.

    I have the problem of length of the areas whites/page between the end of my content and footer.

    I have read the forums and tried to change the height of minium length of page in 800 and then I

    disabled the foot sticking in the properties of the page on the master page and content page itself.

    Here is a link to one of my pages.  http://www.ueonline.com/RoHS-info.html

    This page has very little content, and you can see the white space.

    Any help is appreciated.

    Hello

    Check empty rectangles/related texts executives on the page. Check the screenshot below.

    See you soon,.

    Vikas

  • white space between the tables

    Hello

    I do an annual report and there is a lot of financial tables. I have 60 paintings and I need to align the tables vertically so that the white space between each table is exactly the same. So far I did it manually. I'm sure there is a better way to do it but I just have not found the way yet. My first thought was to do a 'parent' table with X rows and one column. So I put my child tables in the parent table and use a "row of the spacer" exactly the mm X I tried this but it really complicates things

    Then I tried 'space after' in the properties of the table, but I can't understand what this attribute.

    In other words, I would like that the vertical space between table 1 and table 2 is always exactly 5 mm of the force. How is that possible?

    I would like some inputs/best practices.

    / Best regards

    Thomas Lund

    Your table is placed in a paragraph.  Create a paragraph style that contains that space after that you want between the tables, and then apply that style to all paragraphs that contain tables.  That should give you exactly the spacing between your tables in the flow of the text.

    This will not work unless you are running off the paintings together in a story (which I recommend).

  • the space between the divs in FF, IE not

    I have a space between the header and nav divs and cannot understand it. IE is fine, FF has space.
    Help or direction is appreciated. Thank you.
    Link

    -Change


  • How can I remove a white space between the top of the navigation bar and image carousel?

    I've created two different versions of a page, with a fixed navigation bar to the top

    Welcome to Warfield Park

    and the other with a default navigation bar.

    Welcome to Warfield Park

    I used images of different heights to compare how they make.

    I don't see how to remove the white band between the default navigation bar and pictures of carousel in the second version.

    I tried out myself, but I don't see what the problem is. I'm sure someone very smart out there tell me!

    Add the following code to your custom dtylesheet

    {.navbar}

    margin-bottom: 0;

    }

  • Too much space between the div/container tags?

    http://kansascitycrates.com/antiques.html

    I am rewriting my company Web site and can not find the setting to move my top containers 2 (boxes) closest to the header / horizontal spry menu bar?

    Specifically, I want to reduce the space above and below the graphics of title 'Examples of cash' and 'antiques '.

    Thank you in advance, I read all day yesterday about absolute positioning and the Divs, but can't get my head around how to apply it to my boxes.

    JM

    INTYME1985 wrote:

    It worked!

    and let... How can I put the second container closer to the bottom of the container you just fixed?

    http://kansascitycrates.com/antiques2.html

    Space that occurs between the bottom of the slide show image and two small pictures below, right, one being the Facebook icon, seems to be as a result of the javascript that works the slide show.

    What space we're talking about?

    Afraid it might be something that would be embarrassing fix. As it is I see in Firefox the spacing looks like not unusual.

  • gap between the div tags in firefox

    Hello.

    I'm working on a website and I've tested in IE 7 and Firefox v2.

    In IE, it seems as planned, but in Firefox, there is a gap between customer menu (with green-yellow background) and the top Menu (at the top of the Green lime) bit. The client in the css menu is #user_title. The top menu is #topmenu

    Similarly, at the bottom, between the end of the content and the footer, there is white space.

    I don't know too why it makes its appearance. Here are links to the screenshots of each (sorry I don't have a download of the live site). Also, I have attached my CSS file for this post.

    Overview of EI

    Overview of Firefox

    If anyone can help me to get rid of gaps, would be great!

    Thank you

    Craig

    .oO (craig_shaw)

    > I downloaded on a test server.
    >
    > The address is http://www.lindendesign.co.uk/test/templates/header.html
    >
    > If someone could help, that would be great.

    In your CSS rule for '#user_title h1' change this

    margin-left: 10px;

    for this

    margin: 0 10px;

    The variance is due to the top margin of the h1 by default. Because of a characteristic
    called collapse of the margins that it was coming out of the div. of #user_title
    The new statement takes care of this and sets the top and bottom
    margin to zero.

    BTW: The result in FF was correct, IE wrong (as usual).

    Micha

  • remove the space between the divs

    Hi people,

    Is it possible to remove the space between my fluid layout divs? This is the page: http://primerestaurant.co.nz/new/queenstownfood.html and this is what it looks like in my Dreamweaver workspace: http://i.imgur.com/81Hdjb0.png

    I want to bring the menu div and text until you reach the divs, address and picture. There is no fill (that I can see) or the margins, which would be keep so far.

    Thank you in advance for advice.

    JO

    Add this to the top of your text.css file:

    * {

    margin: 0;

    padding: 0;

    -moz-box-sizing: border-box;

    -webkit-box-sizing: border-box;

    box-sizing: border-box;

    border: 1px dotted Red; / * for test purposes * /.

    }

    It tells me that the content is pushed to the bottom of the EasyRotator element.

    Nancy O.

  • Decrease the space between the &lt; p &gt; tags

    Does anyone know a good way to decrease the amount of space between paragraphs? I tried to reduce the margin down to the p tag, but it does not work. I have to create a special class and apply it on the paragraphs in question? Any help is greatly appreciated.

    You are welcome.  I assume that this question has been answered.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Illegal white space between the header and the body.

    Hello;

    I make a web site that I broke into pieces. A header, fooer, nav and implementation of main body.my and cannot find a way to make it work properly. It only happens in Internet Explorer, it's very nice in all other browsers. Between the cfinclude header.cfm and the body of the page, I have a horizontal white line, I can not make disappear. They should sit tight with nothing in between. I tried css, play with the table for the header and the body, and it's still there.

    Anyone know how to do this, go away? Here is my set to the top:

    It is the code of the page, maybe I'm missing something here?

    < body bgcolor = "#FFFFFF" bottommargin = "3" valign = "top" leftmargin = "0" topmargin = "3" marginWidth = "0" marginheight = "0" onLoad = "preloadImages (); ">
    < div align = "center" >
    "< cfinclude template ="... / header.cfm ">"

    < table width = "849" valign = "top" border = "0" cellspacing = "0" cellpadding = "0" style = "" border-top: none; ">"

    any body content goes here

    < /table >

    "< cfinclude template ="... / footer.cfm ">"

    < / body >

    Here is the table header.cfm:

    < table width = "852" height = "133" border = "0" cellspacing = "0" cellpadding = "0" style = "" border-bottom: none; ">"

    the content of the header is here

    < /table >

    I tried a number of different ways to do this, go away. It's just what happens. Someone has ideas how to make this stop and become close to each other?

    Thank you.

    In addition, you need to add

    Display: block;

    for images in the same row.

    Oh, and if you decide that you don't mind not only user-increases in the mess of text with the appearance size, you can also set the attribute vAlign on 'down' instead of the current "top" for cells in this row.

    --

    E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
    --
    
  • Space between the Divs

    Greetings-

    I'm having a problem with the Dreamweaver template to "oneColFixCtrHdr" (which also appears in a few messages before)

    A 20 pixel vertical unexplained gap - that is present when the initial template is open in Dreamweaver, remains both in Design view, as well as in the rendered browser page. Here is my page of the project:
    http://www.browher.com/new-Master3.htm

    I can't find specs of padding or margin or unnecessary spaces in mode code «»

    I would like the Divs to stack vertically, so I don't have to 'wheel-and-deal' for an embroidery around the page.

    Thank you very much.

    Lee Gardinier.

    This problem has been corrected (indirectly) by Nadia Perré when she suggested adding a float: specification of left to the incriminated in the post DIV

    Title of the topic: the unwanted space between divs in Netscape, created on 2007-05-28 11:47:03

    I've added Float Left to the MainContent DIV and VOILA! disappeared from the spaces above and below - the page layout looks perfect (IE) thank you Nadia! (11 months later)

    Lee G.

  • White space between the footer and content

    Just when I thought this software started to behave, he does: pages adding plenty of space. I don't have any idea on how to solve this problem. Have tried everything. A last forum mentioned expand the HTML box. I don't know what in the hell that means, but I tried pulling it down to where the dotted line disappears. Does not work. How am I supposed to explain to my client that there is nothing I can do about it, it's just a defect of the software? Someone at - it solutions?

    Attached are two screenshots of a test, one of the design window, a page of the preview area with all the white space that is infuriating. In the other pages there are widgets? I created this master page and test page from within a project of muse with pages that include YouTube and Google map widgets.

    Thank you

    Screen Shot 2014-05-21 at 3.53.25 PM.png

    Screen Shot 2014-05-21 at 3.53.40 PM.png

    Thanks for your suggestions. Unfortunately, none of them worked. However, once I've hunkered down and set about to solve the problem, I indeed understand eventually. The culprit turned out to be the sticky footer is enabled by default in the properties of the site. Unchecking that solved the problem.

    I do thank you for your help.

    TICE

Maybe you are looking for