table simple padding with html and dreamweaver question

0 down vote favorite

I haven't used DW for awhile, excuse my beginner question.

I created a table with 2 rows and 1 column in HTML. I inserted an image in the top line and an image on the bottom row.

With border, Central and spacing between cells set to 0, I can't understand why I see padding/spacing of pixels at the bottom of each cell. I changed the background color of the cells in the red table so that its easy to show the padding.

Change the vertical alignment to the cells does not change the issue.

I've not created page CSS to do this.

From what I remember from my previous experience with DW padding and spacing was quite simple when you create a table of basic HTML, so don't know where I am going wrong.

Link to the result when I preview the code in safari or chrome

https://DL.dropboxusercontent.com/u/13258883/DW.PNG

  <!doctype html>
<html>
  <head>
  <meta charset="UTF-8">
  <title>Untitled Document</title>
  </head>

  <body>
  <table width="512" border="0" cellpadding="0" cellspacing="0" >

  <tbody>
  <tr>
  <td colspan="2" bgcolor="#F50408"><img src="images/Untitled-10_01.gif" width="512" height="107" alt=""/></td>
  </tr>
  <tr>
  <td colspan="2" bgcolor="#F50408"><img src="images/Untitled-10_02.gif" width="512" height="93" alt=""/></td>
  </tr>
  </tbody>
  </table>
  </body>
</html>

You suffer from the filling of text-link to images online. Add the css to your external style sheet or in

Tags: Dreamweaver

Similar Questions

  • How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?

    Mr President.

    How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?

    Concerning

    Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle

    height: 300px;

  • Questions about CSS, XHTML, HTML and Dreamweaver behaviors

    Hi all

    First of all the CSS is the same in HTML and XHTML code codes coding? Because I know that the HTML and XHTML are different in the way that XHTML is much stricter coding wise you can't just type the coding uppercase higher as you can in HTML even if it's a bad practice do anyway.

    Is it true that in the future we web developers will use XHTML instead of HTML? In Dreamweaver CS3, I noticed that when I click on the sign more then go in "show events for" behavior it does not show IE 7.0 or FireFox browsers is there a reason why it does not work? I know I can get multiple behaviors to Dreamweaver CS3, but when I click on 'Get more Behaviors' it automatically their on the site Web of Adobe in the United States, is possible I could download them from there even if my software is the version of the United Kingdom?

    Thank you very much for reading this and maybe you respond to it.

    Kind regards

    Oliver

    DreamweaverStud84 wrote:
    > First of all the CSS is the same in HTML and XHTML code codes coding?

    Yes.

    > Is it true that in the future we web developers will use XHTML instead of
    > HTML?

    N ° the W3C intends to introduce a new version of HTML called HTML 5. Some
    will continue to use XHTML 1.0, others will switch to HTML 5, even
    others will use the XHTML than HTML 5 version.

    > In Dreamweaver CS3, I noticed that when I click on more behaviors
    > sign then go in "show events for", it does not show IE 7.0 or FireFox
    > Browsers is there a reason why it does not work?

    For events show indicates the minimum version supported. The default value
    adjustment (HTML 4.01) is that you must use.

    > I know that I can get more behaviors to
    > Dreamweaver CS3, but when I click on 'Get more behaviors' it automatically
    > them appear on the Adobe Web site in the United States, it is possible that I could
    > Download them from here, even if my software is the version of the United Kingdom?

    Yes.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Flash embed tag does not obey the dimensions of percentage, even with html and body to 100%

    For some reason, I can't get this swf file to show the height and the width of 90%. I tried to add a style sheet in the header to explicitly set the html and body to 100%, but this is not always enough. can you see if there is a problem in the code?

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    
    <html>
    <head>
    <title></title>
    <style type="text/css">
    html, body {
      	margin: 0;
    	padding: 0;
      	height: 100%;
    	width: 100%;
    }
    </style>
    
    </head>
    
    <body>
    <center>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="90%" height="90%" ID="Captivate1">
      <param name="movie" value="tutorial.swf">
      <param name="quality" value="high">
      <param name="menu" value="false">
      <param name="loop" value="0">
      <embed src='tutorial.swf' width='90%' height='90%'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'/>
    </object>
    
    <BR>
    <p>
    <align=center><a Href="javascript:window.close();">Close Window</a>
    </p>
    
    </center>
    
    </body>
    </html>

    This can happen because of the < center > element that does not have a height and a width specified. Don't forget to specify the dimensions for all containers if you use percentages, otherwise you can end up with 90% of 0 or a default value.

  • Not a Dba, try a simple operation with expdp and impdp

    Hi all

    My Oracle database: 10G

    I'm not a DBA, but I'm stuck to what looks like a simple operation, here is the context

    I exported 2 tables schema HR using expdp and here is the command:

    C:\ > expdp hr/hr@ORCL tables = EMPLOYEES, DEPARTMENTS directory = ORACLE_BKP dumpfile = hr_e_d.dmp logfile = hr_e_d.log

    so this part uptill now is no problem, now I try to use this dmp 'hr_e_d.dmp' file and the urge to put these two tables in a different pattern that is pkg_utils and here is the command that starts the error:

    C:\ > impdp pkg_utils/pkg_utils@ORCL schemas = HR = dumpfile ORACLE_BKP1 directory = hr_

    e_d.dmp

    Import: Release 10.2.0.1.0 - Production on Sunday, September 8, 2013 14:51:04

    Copyright (c) 2003, 2005, Oracle.  All rights reserved.

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - production

    tion

    With partitioning, OLAP and Data Mining options

    ORA-31655: no data or metadata of objects selected for employment

    ORA-39039: pattern Expression "(' HR')" contains no valid schema.

    Table main "PKG_UTILS." "' SYS_IMPORT_SCHEMA_01 ' properly load/unloaded

    Start "PKG_UTILS". ' SYS_IMPORT_SCHEMA_01 ': pkg_utils/***@ORCL schemas = HR.

    Directory = ORACLE_BKP1 dumpfile = hr_e_d.dmp

    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

    Work "PKG_UTILS". "" SYS_IMPORT_SCHEMA_01 "carried out at 14:51:05

    PS: the requirement is only to employees, departments of the HR export schema pkg_utils schema tables

    Concerning

    Rahul

    C:\>Impdp pkg_utils/pkg_utils@ORCL schemas = HR directory = ORACLE_BKP1 = hr_ dumpfile

    e_d.dmp

    Instead of schemas = HR try remap_schema = h:pkg_utils

    See Data Pump Import

  • Problems with flash and dreamweaver

    I am rather new to the forums and dreamweaver in general. Recently, I took the task of updating site of a colleague, nothing major just minor issues with the wording. I copied the files from the ftp on my computer and began to edit. I placed the filed on ftp, and now one flash headers will not be shown on the edited page. It does not even appear when she spotted in the browser (Internet Explorer and Firefox). If I put back the original file, it appears fine. Please offer any guidance you may have and thank you.

    I want to thank you for all your help. I decided to take what was on the ftp and replace all the files on my hard drive. It seems to work very well. Thanks again.

  • New to HTML and Dreamweaver but I have a few simple questions on my site...

    I have created a blog on my site and can't understand why the paragraphs separate. I tried to use the < p > tag but it does not change. What am I supposed to do?

    In addition, the part gray where is the blog post... I would like to expand the width to fill the screen and more. How can I do this? Thank you!

    Do not use an iframe.  It is not easy to use.  Just give a link to your blog on the blogger site.  No one cares really if your blog is hosted on your server or not.

    To restore the spacing of paragraph by default for your site, delete this from your CSS code.

    * {margin: 0; padding: 0 ;}}

    * {padding: 0; margin: 0 ;}}

    Nancy O.

  • Formatting with HTML and CSS issues

    When I have upgraded to Dreamweaver CS5.5, make simple changes to a website has become more complicated.

    Let's say I want to Center a line of text. Before I could just press the center alignment button in the "Shortcut" pane at the bottom.

    Now, I find 2 choices in the "Properties" pane to see how to format a web page:

    One choice is HTML, I know. But there is no central alignment button here.

    The other choice is CSS, which I am not familiar with. There is a center alignment button, but when I hit him, he asked me to create a "new CSS rule" with a strong name as "style130."

    I worked on this site for many months without understanding what it means...

    http://www.brasstackspress.host-Ed.me/

    Now if I format anything (Center, "BOLD", etc.), some unrelated page will also get to the format.

    What should I do?

    Learn CSS.

    http://www.html.NET/

    Adobe dropped deprecated HTML tags "align" DW interface, so your code will not throw validation errors.

    HTML - http://validator.w3.org/

    To center the text, create a reusable class name called .center.

    . Center {text-align: center}

    Apply this class to your paragraph or the position since the HTML by clicking the drop-down list properties panel class.  See screenshot.

    class = "center"> this paragraph is centered

    This paragraph is not centered

    Centering of Pages, Images and other elements with CSS

    http://cookbooks.Adobe.com/post_Centering_web_pages_and_other_elements_with_CSS-16640.html

    Nancy O.

  • Terrible problems with BC and Dreamweaver

    I've used Dreamweaver for awhile now, and one of my favorite features is the ability to create templates.  Models have saved me countless hours of work to set up a site and the ability to edit entire sections with a single file.  Recently, I changed to use only stand for creative cloud programs.  At first, I was a little excited to use Business Catalyst, but more I use more, I hate it.

    When I create an HTML file from a template, all the code for the template is added to the file.  If I take this single HTML file to another computer I can open it perfectly fine with everything I need in there.  However, if I download it to denounce business, it is then separated into two separate files: model and content.  Then, for some unknown reason, the model file appears in white on Business Catalyst and subsequently causes my site in full to lost half of its content on each page.  All I want is to be able to transfer my files on a web server without going through my code invaded by a third-party program.  I want to type the code I have to appear on the internet.  Is - that so much to ask?

    To use Dreamweaver templates, you need to add the tag {tag_pagecontent} where you want the content of your page.

    When you download the template he edits a .html file automatically. In a way, this system is a little better, because when you modify the template, you don't have to download all the files that use it.

    To create a new page, it is best to do this in British Colombia - not Dreamweaver. And determine the model of the page here. It's just a different workflow but in some ways, it's a little better-, others not so much.

  • Using the local host XAMPP with Wordpress and Dreamweaver

    I hope it's in this forum. It is probably more than one WP Theme DW, but I found this forum to be very helpful on a wide range of topics of web design/construction in general so here goes.

    I have a static website html/css, created with DW. I have like a local site on my computer and also have downloaded on a remote host (fatcow) server. It uses a temporary domain/address under development and will replace an exisitng site once completed.

    http://www.prospectrealty1.FatCow.com/index.html

    I installed WP on the remote host and created a Blog through the WP Dashboard. There is a link in the navigation of the static site on the WP Blog. When you click a new tab opens and puts it on the separate blog.

    http://prospectrealty1.FatCow.com/blog/

    I want to be able to work on a copy of the blog 'offline' on my local computer.

    So I have installed xampp and it works correctly on the C drive of my computer. Then I copied my entire local site folder in a folder under the xampp/htdocs. So, next I copied the folder that contains the installation of the remote host to fatcow wordpress (I named it 'blog'), I created and pasted in my local installation. So now I have localhost/xampp/perspective-blog-test/blog.

    Mark, the problem is that you are importing into a database.  Basically, what you have to do is this:

    -Connect to phpMyAdmin

    -Click on databases at the top (in the right frame)

    -Create a new database.  If you want to imitate as much as you can from the remote site, it exactly the same name.

    -Then click on this database from the base of the left hand.

    -Now you can click on import of the right hand of the window frame

    What you were clicking was previously the button import for a whole database and not only the tables in the database.  Because there was no import of data in this file that you and he had only tables, SQL server has generated this error.

  • Need help with html and as3 dropdown

    First of all Hello!  I need to create a html for a company Web site. The design that I did is in photoshop... .and I need to create a menu drop-down. The first question is: can I create the drop in flash without having to use html frames? Can I connect one of the menu buttons in an html page so that it loads in the same window of the browser to another html page (If Yes... with what?)?  Please... I need to know... because I prefer simply to apply it in flash rather then html. And the second question is: If the scene in flash can be transparent? Because if I do the menu inside, it will be impossible to match all the dimensions of the stage... and I would like to integrate it in an html page, if possible without the stage color >... Thanks in advance!    Tudor

    For the opening of the pages you wish to study using the navigateToURL() function.  The help documentation provides information abiout it year how to control the appearance of the window as well.

    To make the transparent scene is more than a html one aspect of Flash element, if you can set it to publish it.  The key is to set the wmode paraemter which is located in the "transparent" html embed code  I don't know if all browsers supports this feature, but I think that many are willing to.

  • Problem with HTML and PHP form...

    Hello

    Can someone help me please...

    Im a beginner at Web design and have created a few sites only, but when it comes in contact with the page it always have problems me. I know this must be a simple process but not for me lol.

    IM so frustrated. I finished the site transferred, but the contact page will not work. I download the two html file containing the form and the php in the folder file root on the server (which supports php), and again, it won't work. I went over and over the script but I can't see where im going wrong.

    Please someone take a look and the two files one see if they can pinpoint where im going wrong?

    I would be so grateful!

    See you soon

    Dan

    You should really check Forms To Go. I use this software to treat all of my forms. I can easily apply validation, configure the e-mail settings and redirect to a thank you page using its graphic interface without having to write a single line of php code. The unregistered (free version with limited functions) will do everything you need.

  • Sign up between 2 tables without correspondence with values and keep the number of rows in the first Table

    Hello Experts,

    I have a problem that is a little tricky. Requirement is if 2 columns (region and Code in the tables below) match exactly, then it is Best Fit, if one of the columns match while it is average in shape, if the two columns do not match then it's worse to adapt.

    Create Table Table1 (varchar2 (10), varchar2 (10) of the filter region, Code varchar2 (10), revenue Number (15), owner varchar2 (5));

    Table1:

    Insert into Table1 values ('Test1', 'Midwest', '0900', 3000286, 'P1')

    Insert into Table1 values ('Test1', 'Midwest', '0899', 36472323, 'P2')

    Insert into Table1 values ('Test1', 'Midwest', '0898', 22472742, "P3")

    Insert into Table1 values ('Test1', 'West', '0901', 375237423, 'P1')

    Insert into Table1 values ('Test1', 'West', '0700', 34737523, null)

    Insert into Table1 values ('Test1', 'West', '0701', 95862077, "P3")

    Insert into Table1 values ('Test1', 'South', '0703', 73438953, 'P4')

    Insert into Table1 values ('Test1', 'South', '0704', 87332089, 'P1')

    Insert into Table1 values ('Test1', 'South', '0705', 98735162, 'P4')

    Insert into Table1 values ('Test1', 'South', '0706', 173894762, "P9")

    Insert into Table1 values ('Test1', 'South', '0902', 72642511, 'P6')

    Create Table Table2 (filter varchar2 (10), region varchar2 (10), Code varchar2 (10), plafond1 Number (15), Limit2 Number (15));

    Table2

    Insert into Table2 Values ('Test1', 'ALL', ' 0902', 15000, 10000)

    Insert into Table2 Values ('Test1', 'ALL', 'ALL', 20000, 12000)

    Insert into Table2 Values ('Test1', 'Midwest' ' 0900', 10000, 5000)

    Insert into Table2 Values ('Test1', 'Midwest', 'ALL', 18000, 8000)

    Insert into Table2 Values ('Test1', 'West', 'ALL', 16000, 6000)

    Insert into Table2 Values ('Test1', 'West', '0901', 10000, 5000)

    Final output

    Filter the income Code region owner plafond1 Limit2

    Test1 0900 3000286 P1 10 000 5 000 - Best Midwest (region because both Code Matches)

    Test1 0899 36472323 P2 Midwest 18 000 8 000 - way (because the region corresponds to only), we consider 'ALL' for the Code

    Test1 0898 22472742 P3 Midwest 18 000 8 000 - way (because the region corresponds to only), we consider 'ALL' for the Code

    Test1 West 0901 375237423 10 000 5 000 - Best P1 (region because both Code Matches)

    Test1 West 0700 34737523 16 000 6 000 - medium (because the area corresponds to only), we consider 'ALL' for the Code

    Test1 West 0701 95862077 P3 16 000 6 000 - way (because the region corresponds to only), we consider 'ALL' for the Code

    Test1 South 0703 73438953 P4 20 000 12 000 - worse (because region both Code DON T Match ' "), we consider option as worst 'ALL', 'ALL '.

    Test1 South 0704 87332089 P1 20 000 12 000 - worse (because region both Code DON T Match ' "), we consider option as worst 'ALL', 'ALL '.

    Test1 South 0705 98735162 P4 20 000 12 000 - worse (because region both Code DON T Match ' "), we consider option as worst 'ALL', 'ALL '.

    Test1 South 0706 173894762 P9 20 000 12 000 - worse (because region both Code DON T Match ' "), we consider option as worst 'ALL', 'ALL '.

    Test1 South 0902 72642511 P6 15 000 10 000 - way (because the Code corresponds to only) we consider 'ALL' for the region

    In the final result, we should have row count equal to Table1, and as soon as there's game (best first, then middle, then the worst), then if is once again, that we should ignore.

    There are other columns in the tables as well.

    Thank you very much!

    As you wish...

    select filter, region, code, region2, code2,
    revenue, owner, limit1, limit2, match
    from (
      select filter, region, code, region2, code2,
      revenue, owner, limit1, limit2, match,
      row_number() over(
        partition by filter, region, code order by match
      ) priority
      from (
        select a.filter, a.region, a.code, a.revenue, a.owner,
        b.region region2, b.code code2, b.limit1, b.limit2,
        case
          when (a.region, a.code) = ((b.region, b.code)) then 'Best'
          when a.region = b.region or a.code = b.code then 'Medium'
          else 'Worst'
        end match
        from table1 a
        join table2 b
        on a.filter = b.filter
        and (b.region, b.code) in (
          (a.region, a.code),
          (a.region, 'ALL'),
          ('ALL', a.code),
          ('ALL', 'ALL')
        )
      )
    )
    where priority = 1
    order by region, code;
    
  • problem with HTML and FLV ending with a picture (jpg)

    Hello.

    I have an html page that loads in a perfect FLV.  However, after the video is viewed, it becomes a huge black rectangle when it ends and I would like to be a jpg instead or any random screenshot of the video.

    Is it possible to do this?

    Thank you!

    Hello

    As I said, you can control the player flash via javascript (stop, start, pause, etc.), documentation on the various functions, see - http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03. html

    PZ

  • Image with HTML and CSS placement - please help I'm a newbie

    Hello
    The CSS code for my entry page/index.html page is attached. Some great people helped me fix the css code so that the picture fills the space properly and looks the same in IE and Firefox. So now I have the photo in the right area, but in doing so, my text has fallen out of the area on the inside... EEEEEK
    Thank you!
    the Web site address so it can be accessed: www.jonasphoto.com

    Steve...
    Look at the site entrance page, and you will see that the news of the site entry are now down below...
    I like to keep the text within the borders
    Get closer... Thank you

Maybe you are looking for