Trouble with spacing of divs vertically

Hi all,
I am having trouble with CSS and vertically stacking my divs, In the following code there are a number of identical divs and I want them to stack one upon the other like in a list. At the moment I need to hit returns after each div to get below the one above and it puts way too much room in between each div doing this. I am at a loss how to do set the amount of spcae between them and also to make one go directly below the other.
Any and all help greatly appreciated
Thanks  Rick
<bodystyle="margin:0; padding:0;">
<div class="logo">
  <p><img src="images/spinlogonewsml.jpg" alt="Spin City Logo" border="0" style="position: absolute; top: 10px; left: 500px; /></p>
  <p> </p>
  <p> </p>
</div>
<div class=main">
<div class="imagebutton" id="left"><img src="images/img_16_n.png" width="40" height="40" alt="left button" /></div>
<div class="help">Rotate the Object or Panorama left one increment.</div>
<p> </p>
<div class="imagebutton" id="right"><img src="images/img_17_n.png" width="40" height="40" alt="Right Button" /></div>
<div class="help">Rotate the Object or Panorama right one increment.</div>
<p> </p>
<div class="imagebutton" id="Plus"><img src="images/img_18_n.png" width="40" height="40" alt="Plus Button" /></div>
<div class="help">Zoom into the image a step at a time.</div>
<p> </p>
<div class="imagebutton" id="minus"><img src="images/img_19_n.png" width="40" height="40" alt="Minus Button" /></div>
<div class="help">Zoom out of the image a step at a time.</div>
<p> </p>
<div class="imagebutton" id="AutoRotate"><img src="images/img_20_n.png" width="40" height="40" alt="Auto Rotate Button" /></div>
<div class="help">Starts or stops auto rotation of the Object or Panorama.</div>
<p> </p>
<div class="imagebutton" id="DefaultView"><img src="images/img_23_n.png" width="40" height="40" alt="Default Vew Button" /></div>
<div class="help">Resets the Object or Panorama to it's starting position.</div>
<p> </p>
<div class="imagebutton" id="RotateMode"><img src="images/img_25_n.png" width="40" height="40" alt="RotateMode" /></div>
<div class="help">
  Sets the mouse interactive mode to 'Rotate' allows for rotating the Object when zoomed in, toggles with 'Move' button below.
</div>
<p> </p>
<div class="imagebutton" id="MoveMode"><img src="images/img_24_n.png" width="40" height="40" alt="Move Mode Button" /></div>
<div class="help">Sets the mouse interactive mode to 'Move' allows for dragging the Object when zoomed in, toggles with 'Rotate' button above.</div>
<p> </p>
<div class="imagebutton" id="SoundButton"><img src="images/img_28_n.png" width="40" height="40" alt="Sound Button" /></div>
<div class="help">Use this button to mute the sounds played by the interactive presentation.</div>
<p>  </p>
</div>
</body>
</html>

Way too many divisions.  All you need is one main division or possibly two.  The rest is easily contained inside <p> tags.
Copy and paste this into a new HTML document.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vr help File</title>
<style type="text/css">
/**zero out browser default settings on everything**/
* {margin:0; padding:0; line-height: 100%; font-size: 100%;}
p {
line-height: 1em;
font-size: 16px;
margin-bottom: 12px; /**space between paragraphs**/
#logo {
float:right;
width: 35%;
margin-right: 150px /**adjust as req'd**/
</style>
</head>
<body>
<div id="logo">
<img src="http://www.spincityimaging.com/images/spinlogonewsml.jpg" width="74" height="53" class="logo" />
<!--end logo --></div>
<p><img src="http://www.spincityimaging.com/images/img_16_n.png" width="40" height="40" alt="left button" />Rotate the Object or Panorama left one increment.</p>
<p><img src="http://www.spincityimaging.com/images/img_17_n.png" width="40" height="40" alt="Right Button" />Rotate the Object or Panorama right one increment.</p>
<p><img src="http://www.spincityimaging.com/images/img_18_n.png" width="40" height="40" alt="Plus Button" />Zoom into the image a step at a time.</p>
<p><img src="http://www.spincityimaging.com/images/img_19_n.png" width="40" height="40" alt="Minus Button" />Zoom out of the image a step at a time.</p>
<p><img src="http://www.spincityimaging.com/images/img_20_n.png" width="40" height="40" alt="Auto Rotate Button" />Starts or stops auto rotation of the Object or Panorama.</p>
<p><img src="http://www.spincityimaging.com/images/img_23_n.png" width="40" height="40" alt="Default Vew Button" />Resets the Object or Panorama to it's starting position.</p>
</body>
</html>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Having trouble with spacing

    I'm having trouble with regards to unwanted spaces in between rows, have tried everything I can think of. Any Ideas??? would be much appreciated.

    Adele. C.. wrote:
    Thanks, have looked at enters/ soft enters, does't seem to be the problem
    Here is the code of the 2 rows I'm struggling to flush align, the first is on top of the other,
    <td><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image2','','images/buttons/over_01.gif',1)"><img src="images/buttons/up_01.gif" name="Image2" width="109" height="43" border="0" id="Image2" /></a><a href="about_us.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images/buttons/over_02.gif',1)"><img src="images/buttons/up_02.gif" name="Image3" width="125" height="43" border="0" id="Image3" /></a><a href="products.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','images/buttons/over_03.gif',1)"><img src="images/buttons/up_03.gif" name="Image4" width="148" height="43" border="0" id="Image4" /></a><a href="downloads.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/buttons/over_04.gif',1)"><img src="images/buttons/up_04.gif" name="Image5" width="151" height="43" border="0" id="Image5" /></a><a href="clients.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/buttons/over_05.gif',1)"><img src="images/buttons/up_05.gif" name="Image6" width="136" height="43" border="0" id="Image6" /></a><a href="login.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image7','','images/buttons/over_06.gif',1)"><img src="images/buttons/up_06.gif" name="Image7" width="120" height="43" border="0" id="Image7" /></a><a href="contact_us.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','images/buttons/over_07.gif',1)"><img src="images/buttons/up_07.gif" name="Image8" width="131" height="43" border="0" id="Image8" /></a></td>
      </tr>
      <tr>
        <td height="1"><img src="images/content-bg-top.jpg" width="920" height="13" align="top" /></td>
      </tr>
    as you can see no break tags, have also double checked the margins and padding..
    Please upload the page somewhere and supply a link, then describe what the problem is.
    Its almost impossible to understand what it is you are trying to do or have problems with unless one can see the whole picture. Parts of the code are not helpful.

  • Trouble with IE8 placing div in the right spot. Other browsers work fine.

    My layout is working in all browsers (Firefox, Safari, Chrome, Opera, IE6 & 7) but not in IE8 or 9beta.
    The trouble is with a div containing text not displaying below a "lightbox gallery". In IE8 the text div jumps up and appears behind the gallery.
    I've tried using negative pixel definitions in the css (margin-top, margin-bottom) and other simple tricks to no avail. This site is still in development but I do have a few sample pages online. Here's a link to one. http://www.redhousepottery.com/chimerasite/hanks.html
    I have a feeling a css hack is all I need to fix this. I don't have enough practice at this yet. Any help is appreciated!

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    Add the above to your meta code to emulate 7.0 and probably fix the problem, at least until you can find a fix in IE8.
    Best,
    DR

  • Trouble With Rounded Corner Divs

    Hi. This is the code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">.products_page_container {width:48%; background-color:#FFCCFF; margin-bottom:20px; }
    #main .products_page_container p {color:#000000; padding:20px}
    .float_left {float:left;}
    .products_page_container .tl {background:url(images/ProductsContainerTL.gif) no-repeat top left; }
    .products_page_container .tr {background:url(images/ProductsContainerTR.gif) no-repeat top right; }
    .products_page_container .bl {background:url(images/ProductsContainerBL.gif) no-repeat bottom left; }
    .products_page_container .br {background:url(images/ProductsContainerBR.gif) no-repeat bottom right; }</style>
    </head>
    <body>
    <div class="products_page_container float_left ">
    <div class="tr">
    <div class="tl">
    <div class="br">
    <div class="bl">
            <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis <strong>autem vel eum</strong> iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Lorem ipsum dolor sit amet, consectetuer adipiscing elit, <strong>sed diam nonummy nibh euismod tincidunt</strong> ut laoreet dolore magna aliquam erat volutpat. </p>
      </div>  </div></div></div></div>    
    </body>
    the rounded corners appear inside the div as if theres some sort of top and bottom padding. If i remove p tags the rounded corner box works...but then there are paragraph tags for my text. am I missing something here? Thanks.
    also i should add that I have removed padding from p but still rounded corners appear inside div with background appearing above and below.

    Hi
    Try moving the divs for the rounded corners outside your product div.
    An alternative solution would be to use the propriety browser rounded corners for FF and Safari and the jQuery rounded corners for IE.
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    PZ

  • Trouble With Oracle8 ODBC Diver

    Hi all,
    I'm using Oracle Enterprise Edition 8.1.7 and Microsoft Oracle ODBC Driver 8.1.7 for Windows. After having configured my DSN, i've tested to connect to my Database whith ODBCTEST. But I always receive the same error :
    SQLSTATE : 01000
    Native Error Code : 444
    Driver Message : le pilote a renvoyi une valeur incorrecte ou n'a rien envoyi pour SQL_DRIVER_ODBC_VER : 03.51
    I've no problem to use my database with another driver(JDBC) or via SQLPLus.
    Is there a non compatible version of ODBCTEST ?
    Could somebody give me some help ? Thanks a lot.
    Jean-Marie.

    1) There's no such thing as the "Microsoft Oracle ODBC Driver 8.1.7". There are two similiar ODBC drivers you can be using-- the Microsoft ODBC driver for Oracle or the Oracle ODBC driver. The former is from Microsoft, the latter from Oracle.
    2) I'll wager that the problem here is that you're using the Oracle driver with an old version of the MDAC (Microsoft Data Access Components) which includes the ODBC Driver Manager. The Oracle driver is identifying itself as supporting the ODBC 3.51 API, but the driver manager isn't aware that that revision of the API exists. You should be able to solve this problem by downloading an updated MDAC from <http://www.microsoft.com/data>.
    If this doesn't solve your problem, can you translate the driver message into English? My French is extremely limited.
    Justin

  • More trouble with PDF folios

    Hi.
    I also have a trouble with PDF folios, where vertical article has 2 pages and horizontal article has 1 page.
    When i set that folio horizontal swipe only, there will be one extra blank page at the horizontal article.
    When there is more pages in articles (4 and 2 accordingly), there is no such artifact.
    Ants.

    have you tried my example that I just posted here: http://forums.adobe.com/message/4173179#4173179
    With kind regards,
    Klaasjan Tukker
    Adobe Systems

  • I am really in trouble with AP Div-How do I fix it on the web?

    Hi,
    I am really in trouble with my website. I have added some pictures and text on top of Fireworks Image and have published it on the website.
    But the concern is, when I zoom in & zoom out, I can see the previous text on the screen and also the picture and texts I have added using Ap Div  tag are scattered moving all to the left when I zoom out. Can someone help me how to fix this in one particular place so that it doesn't move when I zoom in or zoom out!!! I am using Adobe Dreamweaver CS3, if this will help.
    Appreciate your sincere help on this.
    Thanks in advance.

    Frankly, there's a lot that is wrong with that page:
    1. Most of your content is in the images - this means that you will get very poor search engine ranking
    2. Your extensive use of absolute positioning for layout - this means that when you enlarge the text size in the browser, you will have overflow problems on the page (for example, the terrible problems at the bottom of the page)
    3. You have used tables for layout - this is because of your use of Fireworks to create the HTML
    Each of these problems is solvable but none of them are solvable easily without a redesign of the page. A web page should be built from the top down, stacking content containers (i.e., <div>, <section>, <article>, <aside>, etc.) vertically or floating them horizontally or both. These containers would be loaded with the text content of the page, and images would be used only for cosmetic appearance. Using CSS to style/locate the content will allow you to completely move away from tables for layout. Most typical pages can be created without the use of absolute positioning which should be used only for special purposes, not for layout of the page elements.

  • Trouble with rollover image in div

    Hello there,
    I am having some trouble with the following.
    I want to create a rollover image 90 pxl x 90 pxl and put it inside a div 90 pxl x 90 pxl.
    The div is inside other divs and makes up a kind of a table. I checked that all the div and image sizes are the same but when I place the cursor inside the div and select 'insert rollover image', my images are all squashed up and don't appear normal size. Very odd.
    Here is some of my code:
    CSS of div (I want to put my image inside smallBox01a)
    #Header #rightColumn #smallBox01 {
        height: 90px;
        width: 270px;
    #Header #rightColumn #smallBox01 #smallBox01a {
        float: left;
        height: 90px;
        width: 90px;
    HTML
          <div id="smallBox01a"><a href="tobi.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tobi','','Images/TobiOver.jpg',1)"><img src="Images/TobiOff.jpg" alt="Tobi" name="tobi" width="90" height="90" border="0" id="tobi" /></a></div>
    Poor old Tobi cat's face is all squashed up. Any idea what is going wrong? I don't have any padding within the div either.
    Thanks!
    PS I also should add that when I tried to simply add in one of the Tobi images instead of the rollover image, it appeared perfectly fine within the div. It is only the rollover that is getting vertically squashed up.

    So, I've been playing around with your page in dreamweaver and I put a <div> container around your entire web page and then set the width to 1200px. That contained all the contents so that when you re-size the web page the contents don't colapse.
    Not sure if that's what Murray or Nancy mean and am curious if their is a better way.
    That would work although 1200px is too wide.  Something along the lines of 1000px would be better, since you want the page to display in a maximized browser viewport on a 1024 screen without dropping horizontal scrollbars.  I still use 960px as a maximum width....
    Re the centering of the page: Good question I would like to know how to do it "properly"
    In the CSS body rule I put:  margin-left: 20%;
                                                margin-right: 20%;
    Again, I'm not sure if that's the correct way to center the page, and would like to know a better way.
    It's not the best way to do this, which would be to use a fixed width container (as you have done) and just assign it left/right margin settings of 'auto', e.g.,
    #container { width:960px; margin:0 auto; }
    You can center *any* block element within its container with this method.

  • Problems with relative positioning divs

    Hi all,
    I'm still new to this css layouts thing, but am stumped by this problem. I have numerous parent divs with multiple child divs within them on my page design, and for some reason these child divs are not taking up the correct spacing that I enter in the CSS. They are all relative positioned, mostly using floats and clears (and I don't think I've missed any of those). Help! Hoping that it's something simple I've missed.
    To pinpoint one example of this recurring problem, the #sidenav_one div will float: left with a spacing of top 8px and left 8px, but then #sidenav_two refuses to float: left, clear: both with a spacing of top 8px (I've had to put in 16px to actually get 8px, in both Firefox, Safari and Opera). (relevant parts of code highlighted).
    I am happy to change how I've structured the page, if people think there is a better or cleaner way to do it. Thanks in advance.
    A
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>United Future Foundation</title>
    <style type="text/css">
    <!--
    #container {
        position:absolute;
        left:517px;
        top:15px;
        width:972px;
        height:auto;
        z-index:1;
        background-color: #999;
        margin-left: -461px;
        padding-bottom: 25px;
    #banner {
        position:relative;
        width:872px;
        height:210px;
        z-index:2;
        background-color: #FFF;
        float: left;
        left: 50px;
        top: 15px;
        color: #999; 
    #banner_left { 
        position:relative; 
        width:450px; 
        height:70px; 
        z-index:2; 
        float: left; 
        left: 5px; 
        top: 5px; 
    #banner_right { 
        position:relative; 
        width:208px; 
        height:200px; 
        z-index:2; 
        float: right; 
        top: 5px; 
        right: 5px; 
    #banner_name { 
        position:relative; 
        width:550px; 
        height:140px; 
        z-index:2; 
        clear: left; 
        float: left; 
        left: 5px; 
    .rounded { 
        -moz-border-radius:5px; 
        -webkit-border-radius:5px; 
    body { 
        font-family: "Myriad Pro", "Helvetica Neue", sans-serif; 
    p { 
        font-family: "Myriad Pro", "Helvetica Neue", sans-serif; 
        font-size: 14px; 
        color: #000; 
    h1 { 
        font-size: 16px; 
        color: #000; 
        text-align: center; 
        vertical-align: top; 
    h2 { 
        font-size: 20px; 
        color: #000; 
        text-align: left; 
    #content { 
        position:relative; 
        left:50px; 
        width:872px; 
        height:auto; 
        z-index:2; 
        clear: both; 
        float: left; 
        background-color: #FFF; 
        top: 20px; 
    #sidenav_one {
        position:relative;
        left:8px;
        top:8px;
        width:136px;
        height:44px;
        z-index:2;
        background-color: #999;
        float: left;
        overflow: hidden;
    #sidenav_two {
        position:relative;
        left:8px;
        top:16px;
        width:136px;
        height:44px;
        z-index:2;
        background-color: #999;
        float: left;
        overflow: hidden;
        clear: left;
    #sidenav_three { 
        position:relative; 
        left:8px; 
        top:24px; 
        width:136px; 
        height:44px; 
        z-index:2; 
        background-color: #999; 
        clear: left; 
        float: left; 
        overflow: hidden; 
    #text { 
        position:relative; 
        top:8px; 
        width:700px; 
        height:auto; 
        z-index:2; 
        background-color: #FFF; 
        float: right; 
        right: 14px; 
    #home_home { 
        position:relative; 
        width:250px; 
        height:188px; 
        z-index:3; 
        clear: both; 
        float: left; 
        top: 10px; 
        left: 31px; 
    #home_about { 
        position:relative; 
        left:30px; 
        width:250px; 
        height:188px; 
        z-index:2; 
        float: left; 
        top: 10px; 
    #home_events { 
        float: left; 
        height: 188px; 
        width: 250px; 
        position: relative; 
        left: 30px; 
        top: 10px; 
    -->
    </style>
    <script type="text/JavaScript" src="curvycorners.js"></script>
    <script type="text/JavaScript">
    window.onload = function() {
        var settings = {
          tl: { radius: 5 },
          tr: { radius: 5 },
          bl: { radius: 5 },
          br: { radius: 5 },
          antiAlias: true
        var divObj = document.getElementById(".rounded"); 
        curvyCorners(settings, divObj);
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head> 
    <body onload="MM_preloadImages('images/news_down.jpg','images/about_down.jpg','images/what_up.j pg','images/who_down.jpg','images/support_down.jpg','images/contact_down.jpg')">
    <div class="rounded" id="container">
    <div class="rounded" id="banner">
    <div id="banner_left"><img src="banner_uff.jpg" width="450" height="70" /></div>
    <div id="banner_right"><img src="ufflogo.jpg" width="208" height="200" /></div>
    <div id="banner_name"><img src="banner_name.gif" width="509" height="133" /></div>
    </div>
    <div id="spot">you are here</div>
    <div class="rounded" id="content">
    <div id="text">
    <h2> Breaking the Cycle - United Future Foundation</h2>
    <p>United Future Foundation is an Australian non-government organisation operating in Uganda. UFF is “breaking the cycle” through education. We believe that education is the primary means of creating lasting change, increasing literacy and improving employment. UFF is building a combined primary school and vocational training centre for over 300 students in the Kasanje region of Uganda. </p>
    <p>United Future Foundation is focussed on facilitating access to education and skills training for disadvantaged youth in poverty stricken and remote areas of Uganda. We strongly believe that education is the first and foremost method to break the cycle of illiteracy, ill health and lack of opportunities. </p>
    </div>
    <div class="rounded" id="sidenav_one">
        <h1>News</h1>
    </div>
    <div class="rounded" id="sidenav_two">
      <h1>Press Releases</h1>
    </div>
    <div class="rounded" id="sidenav_three">
        <h1>Media</h1>
    </div>
    <div id="home_home"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/news_down.jpg',1)"><img src="images/news_up.jpg" name="home" width="250" height="188" border="0" id="home" /></a></div>
    <div id="home_about"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/about_down.jpg',1)"><img src="images/about_up.jpg" name="about" width="250" height="188" border="0" id="about" /></a></div>
    <div id="home_events"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('events','','images/what_up.jpg',1)"><img src="images/what_down.jpg" name="events" width="250" height="188" border="0" id="events" /></a> </div>
    </div>
    </div>
    </body>
    </html>

    This is much simpler than you would think. You're making it hard work for yourself because you believe css is much more comlex than it really is or need be.
    You rarely need to use relative positioning at all. You are using too many <divs> and redundant css attributes to reach your goals.
    Think of the web as a simple structure of boxes and ino those boxes you place html tags or 'when' needed other <divs> ('when' is the choice word here. In time you will know when and when not to)
    Copy the css and page code below and paste into a new Dreamweaver document. See how much leaner and cleaner the css and html code is.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
    font-family: "Myriad Pro", "Helvetica Neue", sans-serif;
    p {
    font-family: "Myriad Pro", "Helvetica Neue", sans-serif;
    font-size: 14px;
    color: #000;
    .rounded {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    #spot {
    text-align: right;
    #container {
    margin: 0 auto; /* horizontally centers container which has a width */
    margin-top: 15px;
    width: 972px;
    background-color: #999;
    padding-bottom: 25px;
    overflow: hidden; /* a method to clear floated containers within a parent container */
    #banner {
    width: 872px;
    height:210px;
    background-color: #FFF;
    margin: 0 auto; /* horizontally centers container which has a width */
    margin-top: 15px;
    color: #999;
    #banner_left {
    width:509px;
    float: left;
    margin-left: 5px;
    margin-top: 5px;
    #banner_right {
    width:208px;
    height:200px;
    float: right;
    margin-right: 5px;
    margin-top: 5px;
    #banner_name {
    position:relative;
    width:550px;
    height:140px;
    clear: both;
    margin-left: 5px;
    #content {
    margin: 0 auto; /* horizontally centers container which has a width */
    width:872px;
    background-color: #FFF;
    margin-top: 20px;
    overflow: hidden; /* a method to clear floated containers within a parent container */
    #sidenav {
    margin-left:8px;
    margin-top:8px;
    width:136px;
    float: left;
    h1 {
    font-size: 16px;
    color: #000;
    text-align: center;
    background-color: #999;
    padding: 10px 0 10px 0; /* short hand for top/right/bottom/left */
    margin: 0 0 6px 0; /* short hand for top/right/bottom/left */
    #text {
    margin: 8px 0 0 18px; /* short hand for top/right/bottom/left */
    width:700px;
    background-color: #FFF;
    float: left;
    #home_home {
    width:750px;
    height:188px;
    clear: both;
    margin: 10px 0 0 31px; /* short hand for top/right/bottom/left */
    #home_home img {
    float: left;
    </style>
    </head>
    <body>
    <div class="rounded" id="container">
    <div id="spot">you are here</div>
    <div class="rounded" id="banner">
    <div id="banner_left"><img src="banner_uff.jpg" width="450" height="70" /><img src="banner_name.gif" width="509" height="133" /></div><!-- end banner left -->
    <div id="banner_right"><img src="ufflogo.jpg" width="208" height="200" /></div><!-- end banner right -->
    </div><!-- end banner -->
    <div class="rounded" id="content">
    <div class="rounded" id="sidenav">
        <h1>News</h1>
        <h1>Press Releases</h1>
        <h1>Media</h1>
    </div><!-- end sidnav -->
    <div id="text">
    <h2> Breaking the Cycle - United Future Foundation</h2>
    <p>United Future Foundation is an Australian non-government organisation operating in Uganda. UFF is “breaking the cycle” through education. We believe that education is the primary means of creating lasting change, increasing literacy and improving employment. UFF is building a combined primary school and vocational training centre for over 300 students in the Kasanje region of Uganda. </p>
    <p>United Future Foundation is focussed on facilitating access to education and skills training for disadvantaged youth in poverty stricken and remote areas of Uganda. We strongly believe that education is the first and foremost method to break the cycle of illiteracy, ill health and lack of opportunities. </p>
    </div><!-- end text -->
    </div><!-- end content -->
    <div id="home_home"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/news_down.jpg',1)"><img src="images/news_up.jpg" name="home" width="250" height="188" border="0" id="home" /></a>
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/about_down.jpg',1)"><img src="images/about_up.jpg" name="about" width="250" height="188" border="0" id="about" /></a>
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('events','','images/what_up.jpg',1)"><img src="images/what_down.jpg" name="events" width="250" height="188" border="0" id="events" /></a>
    </div><!-- end home_home -->
    </div><!-- end container -->
    </body>
    </html>

  • Spacing between divs

    I am having trouble spacing the divs on my page.  I would like to have some div's stacked one on top of the other and in dreamweaver they look fine but in the browser it looks like the browser is not correctly displaing the margins and padding... any suggestions?

    You also have several HTML errors, such as name="" and closing </p> with no corresponding opening <p>
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.applesenglish.com%2FZone%2Fba se1.html
    And some broken CSS
    In div.css, .menudiv is missing its closing }.
    In rssstyles.css, you have an extra closing } on line 52 and a spurious . (dot) on line 65.
    http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww. applesenglish.com%2FZone%2Fbase1.html
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.

  • Trouble with "body" images lining up at the top

    Hi, I am having troubles with the #body style in my web page. I have inserted a table into the #body area and the the body editable region will not line up on the top with the sideBar editable region when I add text and apply my css to it. Can you look at the code and let me know what I am doing wrong? Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Ram Restaurant &amp; Brewery</title>
    <!-- TemplateEndEditable -->
    <meta name="keywords" content="Ram Restaurant, The Ram restaurant, Ram Restaurant and brewpub, Ram Restaurant Group, Ram International" />
    <meta name="description" content="Welcome to The Ram!  Your stomach wants food.  Your tastebuds want beer.  Satisfy them both at the Ram Restaurant & Brewery." />
    <style type="text/css">
    <!--
    body {
    background-color: #333;
    margin: 0 auto;
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px;
    .navbar_center {
    text-align: center;
    -->
    </style>
    <link href="/RamWebsite_NEW/cssstyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    color: #F00;
    margin: 0px;
    padding: 0px;
    a:link {
    color: #666;
    text-decoration: none;
    h1 {
    font-size: 36px;
    color: #000;
    h2 {
    font-size: 24px;
    color: #000;
    h3 {
    font-size: 18px;
    color: #000;
    h4 {
    font-size: 12px;
    color: #000;
    a:visited {
    text-decoration: none;
    color: #000;
    a:hover {
    text-decoration: underline;
    a:active {
    text-decoration: none;
    -->
    </style>
    <!--[if lte IE 8]>
    <style type="text/css">
    ul.MenuBarHorizontalul  li ul li ul li.MenuBarHorizontal, ul.MenuBarHorizontal li ul li.MenuBarHorizontal {
    width:100px;
    height:23px;
    </style>
    <![endif]-->
    <script src="/RamWebsite_NEW/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <link href="/RamWebsite_NEW/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body link="#000000" topmargin="0" onload="MM_preloadImages('/RamWebsite_NEW/images/Menu_rollover.jpg','/RamWebsite_NEW/imag es/EventsLink2_rollover.jpg','/RamWebsite_NEW/images/GiftCards_rollover.jpg','/RamWebsite_ NEW/images/BeerLink2_rollover.jpg')">
    <div id="wrapper">
    <div id="header">
        <table width="900" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="200" height="36" rowspan="2" align="center" valign="middle" scope="col"><a href="http://www.theram.com"><img src="/RamWebsite_NEW/images/Ram-Logo-red.gif" alt="Ram Restaurant &amp; Brewery Logo" width="175" height="69" border="0" /></a></th>
            <th width="350" height="50" align="center" valign="middle" scope="col"> </th>
            <th width="200" align="center" valign="middle" scope="col"> </th>
            <th width="150" align="right" valign="middle" scope="col"><a href="http://www.facebook.com/home.php?#!/theramrestaurant?ref=ts"><img src="/RamWebsite_NEW/images/FacebookBox.gif" alt="Becoma a Facebook Fan!" width="40" height="40" border="0" /></a><a href="http://www.twitter.com/theram"><img src="/RamWebsite_NEW/images/TwitterBox.gif" alt="Follow Us on Twitter" width="40" height="40" hspace="30" border="0" /></a></th>
          </tr>
          <tr>
            <th colspan="3" align="right" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
              <li><a class="MenuBarItemSubmenu" href="#">MENU</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">Idaho</a>
                    <ul>
                      <li><a href="/menus/idaho/boise.shtml">Boise</a></li>
                      <li><a href="/menus/idaho/meridian.shtml">Meridian</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Illinois</a>
                    <ul>
                      <li><a href="/menus/illinois/rosemont.shtml">Rosemont</a></li>
                      <li><a href="/menus/illinois/schaumburg.shtml">Schaumburg</a></li>
                      <li><a href="/menus/illinois/wheeling.shtml">Wheeling</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Indiana</a>
                    <ul>
                      <li><a href="/menus/indiana/fishers.shtml">Fishers</a></li>
                      <li><a href="/menus/indiana/indianapolis.shtml">Indianapolis</a></li>
    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Oregon</a>
                    <ul>
                      <li><a href="/menus/oregon/clackamas.shtml">Clackamas</a></li>
                      <li><a href="/menus/oregon/salem.shtml">Salem</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Washington</a>
                    <ul>
                      <li><a href="/menus/washington/kent.shtml">Kent</a></li>
                      <li><a href="/menus/washington/lacey.shtml">Lacey</a></li>
                      <li><a href="/menus/washington/lakewood.shtml">Lakewood</a></li>
                      <li><a href="/menus/washington/puyallup.shtml">Puyallup South Hill Mall</a></li>
                      <li><a href="/menus/washington/puyallup2.shtml">Puyallup Sunrise Village</a></li>
                      <li><a href="/menus/washington/northgate.shtml">Seattle Northgate</a></li>
                      <li><a href="/menus/washington/seattle.shtml">Seattle University Village</a></li>
                      <li><a href="/menus/washington/tacoma.shtml">Tacoma</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a href="#" class="MenuBarItemSubmenu">LOCATIONS</a>
                <ul>
                  <li><a href="#" class="MenuBarItemSubmenu">Idaho</a>
                    <ul>
                      <li><a href="/idaho/boiseNew.html">Boise</a></li>
                      <li><a href="/idaho/meridianNew.html">Meridian</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Illinois</a>
                    <ul>
                      <li><a href="/illinois/rosemontNew.html">Rosemont</a></li>
                      <li><a href="/illinois/schaumburgNew.html">Schaumburg</a></li>
                      <li><a href="/illinois/wheelingNew.html">Wheeling</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Indiana</a>
                    <ul>
                      <li><a href="/indiana/fishersNew.html">Fishers</a></li>
                      <li><a href="/indiana/indianapolisNew.html">Indianapolis</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Oregon</a>
                    <ul>
                      <li><a href="/oregon/clackamasNew.html">Clackamas</a></li>
                      <li><a href="/oregon/salemNew.html">Salem</a></li>
                    </ul>
                  </li>
                  <li><a href="#" class="MenuBarItemSubmenu">Washington</a>
                    <ul>
                      <li><a href="/washington/kentNew.html">Kent</a></li>
                      <li><a href="/washington/laceyNew.html">Lacey</a></li>
                      <li><a href="/washington/lakewoodNew.html">Lakewood</a></li>
                      <li><a href="/washington/puyallup-southHill-NEW.html">Puyallup South Hill Mall</a></li>
                      <li><a href="/washington/puyallup-Sunrise-New.html">Puyallup Sunrise Village</a></li>
                      <li><a href="/washington/northgateNew.html">Seattle Northgate</a></li>
                      <li><a href="/washington/seattleNew.html">Seattle University Village</a></li>
                      <li><a href="/washington/tacomaNew.html">Tacoma</a></li>
                    </ul>
                  </li>
                </ul>
              </li>
              <li><a class="MenuBarItemSubmenu" href="#">PROMOS</a>
                <ul>
                  <li><a href="/drink_specials.shtml">Drink Promos</a>              </li>
                  <li><a href="/food_specials.shtml">Food Promos</a></li>
    </ul>
              </li>
              <li><a href="/news.shtml">RAM NEWS</a></li>
              <li><a href="/about.shtml">ABOUT US</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">CONTACT US</a>
                <ul>
                  <li><a href="/contact.shtml">General Info</a></li>
                  <li><a href="/employment.shtml">Careers</a></li>
                  <li><a href="/comments.shtml">Comments</a></li>
                </ul>
              </li>
              <li><a href="/banquets.shtml" class="MenuBarItemSubmenu">BANQUETS</a>
                <ul>
                  <li><a href="/banquets.shtml">Banquets</a></li>
                  <li><a href="/banquets-catering.shtml">Off-Site Catering</a></li>
                </ul>
              </li>
            </ul></th>
          </tr>
          <tr>
            <th colspan="4" align="center" valign="middle" scope="col"><img src="/RamWebsite_NEW/images/redbar.gif" width="900" height="11" /></th>
          </tr>
        </table>
    </div>
    <div id="body">
      <table width="900" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <th height="300" valign="top" scope="col"><table width="900" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th width="225" align="center" valign="top" bgcolor="#000000" scope="col"><!-- TemplateBeginEditable name="sideBar" -->adfadsfds<!-- TemplateEndEditable --></th>
              <th width="675" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><!-- TemplateBeginEditable name="body" -->
                <p><img src="/images/aboutus2.jpg" width="675" height="300" /></p>
                <p class="foodNameDesc">adfadslkj</p>
              <!-- TemplateEndEditable --></th>
            </tr>
          </table></th>
        </tr>
      </table>
    </div>
    <div id="bottomMenuSubPg">
      <table width="900" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Menu','','/RamWebsite_NEW/images/Menu_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/Menu.jpg" alt="Menu" name="Menu" width="212" height="125" hspace="6" border="0" id="Menu" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Big Horn Beer','','/RamWebsite_NEW/images/BeerLink2_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/BeerLink2.jpg" alt="Big Horn Beer" name="Big Horn Beer" width="212" height="125" hspace="6" border="0" id="Big Horn Beer" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Events','','/RamWebsite_NEW/images/EventsLink2_rollover.jpg',1 )"><img src="/RamWebsite_NEW/images/EventsLink2.jpg" alt="Events at the Ram" name="Events" width="212" height="125" hspace="6" border="0" id="Events" /></a></th>
          <th width="200" align="center" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gift Cards','','/RamWebsite_NEW/images/GiftCards_rollover.jpg',1)"><img src="/RamWebsite_NEW/images/GiftCards.jpg" alt="Gift Cards" name="Gift Cards" width="212" height="125" hspace="6" border="0" id="Gift Cards" /></a></th>
        </tr>
      </table>
    </div>
    <div id="bottommenu2"></div>
    <map name="Map" id="Map">
      <area shape="poly" coords="16,103" href="#" />
      <area shape="poly" coords="49,71,102,58,158,73,191,113,180,141,151,161,109,169,65,162,31,141,18,112" href="http://theram.fbmta.com/members/UpdateProfile.aspx?Action=Subscribe&amp;InputSource=W" target="_blank" />
    </map>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"/RamWebsite_NEW/SpryAssets/SpryMenuBarDownHover.gif", imgRight:"/RamWebsite_NEW/SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </div>
    </body>
    </html>

    You have your image in the 'body editable region' wrapped in <p></p> tags (paragraph tags). <p> tags have padding and margin set on them by default.
    <p><img src="/images/aboutus2.jpg" width="675" height="300" /></p>
    You can either just remove the <p></p> tags or you can zero out the padding and margin:
    p {
    padding: 0;
    margin: 0;
    Unfortuanately the above will target every paragraph on your page which might not be desirable so I would just remove the <p> tags as it is not necessary to wrap an image in them.
    If you do want to keep the <p> tags then use some inline css to specifically remove the padding and margin on that particular one:
    <p style="padding: 0; margin: 0;"><img src="/images/aboutus2.jpg" width="675" height="300" /></p>

  • The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    Click on the Layout button lower right and choose a Vertical lyout from the dropdown

  • Trouble with site in flash should be visualized FULL  screen some people report to have seen very small

    REF.: trouble with site in flash that should be visualized in
    FULL screen as width/height parameters are set
    'width','100%','height','100%' - however some people report to have
    seen it very small as a “miniature”
    I simply cannot explain why some people report to see the
    flash site very small with Internet Explorer as I visualize it here
    in full screen.
    To be honest with Firefox 2 the same happens here , it does
    not open in full screen.
    I´ve pasted bellow the html source code employed ; The
    script is Adobe´s AC_RunActiveContent.js //v1.0
    Could someone please help me out ?
    Thank you
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title> </title>
    <META NAME="description" CONTENT="">
    <META NAME="keywords" CONTENT="">
    <meta http-equiv="Content-Type" content="text/html;">
    <script src="scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href
    ="giovannirocco_css/giovannirocco.css" />
    </head>
    <body>
    <div align="center">
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','100%','height','100%','src','flash/giovannirocco_0','quality','high','pluginspage','h ttp://www.macromedia.com/go/getflashplayer','movie','flash/giovannirocco_0'
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="100%" height="100%">
    <param name="movie" value="flash/giovannirocco_0.swf"
    />
    <param name="quality" value="high" />
    <embed src="flash/giovannirocco_0.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="100%" height="100%">
    </embed>
    </object>
    </noscript>
    </div>
    </body>
    </html>

    Hey ! anyone to help me please ?

  • Satellite 5100/201: trouble with video card or overheat?

    Hy,
    I'm experiencing trouble with video on a Satellite 5100/201. It seems that when I press on the left side above the graphics card or press a key on the keyboard on that side, the screen starts to be scrambled and vertical lines appear. At the end windows XP resets giving a critical error on the device and the video passes to 640x480. Same thing occurs when running Linux Suse 9.0.
    My doubt is what is the cause: the graphics card corrupted or overheating due to the fan not as efficient as originally (my laptop is almost two years old. Did someone succed in finding the cause and resolved the problem, also with the Toshiba assistance?
    Any help welcome.

    Hi,
    I don't think so that Toshiba has problems with the design. You are talking about two different models with two different hardware and for different user profiles!
    The 1900 is a Desktop replacement notebook with "desktop" components like processors and the Satellite 5000 is a Multimedia notebook!
    Hint: If you had not done it yet, perhaps you could install the graphic card driver once again. If this don't helps, it is the best way to recover the notebook with the Toshiba CD. (this set the notebook to software default settings and the notebook should be work)
    Bye Bob

  • Remove spacing between div tags

    Is it possible to remove the spacing between div tags? If so
    how do you do it?

    Can you just post a link to the page rather than the mangled
    poo that the
    webforum hands us? (see below)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lockw" <[email protected]> wrote in message
    news:[email protected]...
    > Here is the code I am working with. i am trying to
    remove the spacing
    > between
    > the header and the left and right navigation.
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > <!--
    > #container {
    > margin: auto;
    > width: 990px;
    > }
    >
    > #container #left {
    > background-color: #999999;
    > background-position: top;
    > float: left;
    > width: 200px;
    > padding-right: 15px;
    > padding-left: 15px;
    > border-right: 1px solid #666;
    > margin-top: 0px;
    > margin-right: 0px;
    > margin-bottom: 0px;
    > margin-left: 0px;
    > }
    > #container #left ul {
    > list-style: none;
    > margin: 0;
    > padding: 0;
    > }
    > #container #left ul li {
    > margin: 0;
    > border-top: 1px solid #003;
    > }
    > #container #left ul li a {
    > display:block;
    > padding: 2px 2px 2px 0.5em;
    > border-right:1px solid #69C;
    > border-bottom: 1px solid #369;
    > background-color: #036;
    > color: #fff;
    > text-decoration:none;
    > width:100%;
    > }
    > html>body #container #left a {
    > width:auto;
    > }
    > #container #left ul li a:hover {
    > border-right: 1px solid #69c;
    > border-bottom: 1px solid #369;
    > background-color: #69f;
    > color:#fff;
    > }
    >
    >
    >
    >
    >
    >
    > #container #main {
    > margin-top: 0px;
    > margin-right: 250px;
    > margin-bottom: 0px;
    > margin-left: 250px;
    > }
    > #container #right {
    > background-color: #666666;
    > float: right;
    > width: 200px;
    > padding-left:15px;
    > padding-right:15px;
    > }
    > #container #header {
    > background-color: #003366;
    > float: none;
    > clear: none;
    > margin-bottom: 0px;
    > }
    > .style1 {color: #CCCCCC}
    > .style2 {color: #FFFFFF}
    > body,td,th {
    > font-family: Arial, Helvetica, sans-serif;
    > font-size: 10pt;
    > }
    >
    > #container #footer {
    > float: none;
    > clear: both;
    > }
    > a:link {
    > color: #000099;
    > text-decoration: underline;
    > }
    > a:visited {
    > text-decoration: underline;
    > }
    > a:hover {
    > text-decoration: none;
    > color: #666666;
    > }
    > a:active {
    > text-decoration: underline;
    > }
    > #container #right #rightnavtop {
    > }
    > #container #right #rightnavtop ul {
    > list-style: none;
    > margin: 0;
    > padding: 0;
    > }
    > #container #right #rightnavtop ul li {
    > margin: 0;
    > border-top: 1px solid #003;
    > }
    > #container #right #rightnavtop ul li a {
    > display:block;
    > padding: 2px 2px 2px 0.5em;
    > border-right:1px solid #69C;
    > border-bottom: 1px solid #369;
    > background-color: #036;
    > color: #fff;
    > text-decoration:none;
    > width:100%;
    > }
    > html>body #container #right #rightnavtop a {
    > width:auto;
    > }
    > #container #right #rightnavtop ul li a:hover {
    > border-right: 1px solid #69c;
    > border-bottom: 1px solid #369;
    > background-color: #69f;
    > color:#fff;
    > }
    >
    > -->
    > </style>
    > </head>
    >
    > <body>
    >
    > <div id="container">
    > <div id="header">
    > <p class="style1">Header</p>
    > <p> </p>
    > <p> </p>
    > </div>
    > <div id="left">
    >
    >
    <a href="#">Pharma</a></li>
    >
    <a href="#">Diversity</a></li>
    >
    <a href="#">Marketing</a></li>
    >
    <a href="#">Sales</a></li>
    >
    <a href="#">Money</a></li>
    >
    <a href="#">Stock</a></li>
    >
    </li>
    >
    <a href="#">Advertising</a></li>
    >
    </li>
    > <p>lklkmklml</p>
    >
    > </div>
    >
    > <div class="style2" id="right">
    > <div id="rightnavtop">
    >
    >
    <a href="#">Real Estate</a></li>
    >
    <a href="#">Commercial Real Estate</a>
    >
    >
    <a href="#">Recruitmen</a></li>
    >
    > </li>
    >
    > </div>
    > <p><br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > <br />
    > </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p><br />
    > </p>
    > </div>
    > <div id="main">
    >
    > <p>The main content will go here The main content
    will go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here The
    main content will
    > go
    > here The main content will go here The main content will
    go here The main
    > content will go here The main content will go here
    <br />
    > </p>
    > <p> </p>
    > <p><br />
    > <br />
    > <br />
    > <br />
    > </p>
    > </div>
    > <div id="footer">
    > <p>
    <br />
    > Advertising Categories: <a
    href="#">Residential Real Estate</a> |
    > <a
    > href="#">Commercial Real Estate</a> | <a
    href="#">Recruitment</a> | <a
    > href="#">Small Business</a> | <a
    href="#">Automotive</a> | <a
    > href="#">Franchise</a> | <a
    href="#">Legal</a> | <a href="#">Obituary</a>
    > | <a
    > href="#">Online Verticals</a></p>
    > <p>
    Audience: <a href="#">Profiles</a> | <a
    > href="#">Circulation</a> |
    > <a href="#">Testimonials</a> </p>
    > <p>
    Solutions: <a href="#">Small Advertiser</a> |
    <a
    > href="#">Medium
    > Advertiser</a> | <a href="#">Larger
    Advertiser</a>| <a
    > href="#">Advertisment
    > Dimensions</a></p>
    > <p>
    Purchase Now: <a href="#">Purchase
    Now</a></p>
    > </div>
    > </div>
    > </body>
    > </html>
    >
    >

Maybe you are looking for