Gap around div tag

Hello Dreamweavers.
Ive made a div tag and Ive centered it in the middle of my page. But on the top there is a gap.
Ive seen some articles where it says to add:
margin: 0;
padding: 0;
Im doing so, but im still getting that gap on the top.
this is my CSS
#box1 {
          background-color: #00F;
          height: 200px;
          width: 600px;
          padding: 0px;
          margin: auto;
I have margin to Auto in order to center the box, is this correct?, there for I add the 0 padding in order to get rid of the gap.

You could try adding the following to the top of the CSS
    margin: 0;
    padding: 0;
or better still, add a normalise script as in
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
audio:not([controls]) {
    display: none;
    height: 0;
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
[hidden] {
    display: none;
/* ==========================================================================
   Base
   ========================================================================== */
* 1. Prevent system color scheme's background color being used in Firefox, IE,
*    and Opera.
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
*    Opera.
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
*    `em` units.
* 4. Prevent iOS text size adjust after orientation change, without disabling
*    user zoom.
html {
    background: #fff; /* 1 */
    color: #000; /* 2 */
    font-size: 100%; /* 3 */
    -webkit-text-size-adjust: 100%; /* 4 */
    -ms-text-size-adjust: 100%; /* 4 */
* Address `font-family` inconsistency between `textarea` and other form
* elements.
html,
button,
input,
select,
textarea {
    font-family: sans-serif;
* Address margins handled incorrectly in IE 6/7.
body {
    margin: 0;
/* ==========================================================================
   Links
   ========================================================================== */
* Address `outline` inconsistency between Chrome and other browsers.
a:focus {
    outline: thin dotted;
* Improve readability when focused and also mouse hovered in all browsers.
a:active,
a:hover {
    outline: 0;
/* ==========================================================================
   Typography
   ========================================================================== */
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
h1 {
    font-size: 2em;
    margin: 0.67em 0;
h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
h3 {
    font-size: 1.17em;
    margin: 1em 0;
h4 {
    font-size: 1em;
    margin: 1.33em 0;
h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
abbr[title] {
    border-bottom: 1px dotted;
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
b,
strong {
    font-weight: bold;
blockquote {
    margin: 1em 40px;
* Address styling not present in Safari 5 and Chrome.
dfn {
    font-style: italic;
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
* Address styling not present in IE 6/7/8/9.
mark {
    background: #ff0;
    color: #000;
* Address margins set differently in IE 6/7.
p,
pre {
    margin: 1em 0;
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
* Improve readability of pre-formatted text in all browsers.
pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
* Address CSS quotes not supported in IE 6/7.
q {
    quotes: none;
* Address `quotes` property not supported in Safari 4.
q:before,
q:after {
    content: '';
    content: none;
* Address inconsistent and variable font size in all browsers.
small {
    font-size: 80%;
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
sup {
    top: -0.5em;
sub {
    bottom: -0.25em;
/* ==========================================================================
   Lists
   ========================================================================== */
* Address margins set differently in IE 6/7.
dl,
menu,
ol,
ul {
    margin: 1em 0;
dd {
    margin: 0 0 0 40px;
* Address paddings set differently in IE 6/7.
menu,
ol,
ul {
    padding: 0 0 0 40px;
* Correct list images handled incorrectly in IE 7.
nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
/* ==========================================================================
   Embedded content
   ========================================================================== */
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
* Correct overflow displayed oddly in IE 9.
svg:not(:root) {
    overflow: hidden;
/* ==========================================================================
   Figures
   ========================================================================== */
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
figure {
    margin: 0;
/* ==========================================================================
   Forms
   ========================================================================== */
* Correct margin displayed oddly in IE 6/7.
form {
    margin: 0;
* Define consistent border, margin, and padding.
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
*    and Chrome.
* 3. Improve appearance and consistency in all browsers.
button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
button,
input {
    line-height: normal;
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
button,
select {
    text-transform: none;
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
*    and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
*    `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
*    Known issue: inner spacing remains in IE 6.
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
* Re-set default cursor for disabled elements.
button[disabled],
html input[disabled] {
    cursor: default;
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
*    Known issue: excess padding remains in IE 6.
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
*    (include `-moz` to future-proof).
input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
* Remove inner padding and border in Firefox 3+.
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
/* ==========================================================================
   Tables
   ========================================================================== */
* Remove most spacing between table cells.
table {
    border-collapse: collapse;
    border-spacing: 0;

Similar Messages

  • Gaps between divs tags in IE8

    I designed a custom Facebook welcome page in DW and transfered it to FB.  According to BrowserLabs, it looks fantastic on every browser and platform except IE8, which shows horizontal gaps between each div.  I have tried and tried and can not find a solution.  Thank you so much for your help.
    http://www.facebook.com/RiverCoyoteDesign
    Here is the entirety of the code:
    <style type="text/css">
    #wrapper {
        margin: 0px auto;
        padding: 0px;
        width: 520px;
        height: 703px;
    .like-us {
        height: 112px;
    .quote {
        height: 112px;
        width: 157px;
        float: left;
    a img {border:none;}
    .bot-nav {
    .below-like {
        height: 55px;
    .clearfloat {
    margin: 0px;
    clear: both;
    height: 0px;
    }.web-design {
        height: 171px;
    .below-web {
        height: 57px;
    .logo-design {
        height: 211px;
    .below-logo {
        height: 43px;
    .nav {
        background-color: #050c0f;
    </style>
    <div id="wrapper">
      <div>
      <div class="like-us"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_01.jpg" width="363" height="112" /><a href="http://www.rivercoyotedesign.com/quote.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_02.jpg" width="157" height="112" /></a></div>
      </div>
      <div class="below-like"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_03.jpg" width="520" height="55" /></div>
      <div class="web-design"><a href="http://www.rivercoyotedesign.com/portfolio.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_04.jpg" width="520" height="171" /></a></div>
      <div class="below-web"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_05.jpg" width="520" height="57" /></div>
      <div class="logo-design"><a href="http://www.rivercoyotedesign.com/logos.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_06.jpg" width="520" height="211" /></a></div>
      <div class="below-logo"><img src="http://rivercoyotedesign.com/fb-graphics/mock1b-rev1-flattened_07.jpg" width="520" height="43" /></div>
      <div class="nav">
        <div class="bot-nav"><a href="http://www.rivercoyotedesign.com/portfolio.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/bot-nav-flat1_01.png" width="162" height="19" /></a><a href="http://www.rivercoyotedesign.com/logos.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/bot-nav-flat_02.png" width="131" height="19" /></a><a href="http://www.rivercoyotedesign.com/enews.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/bot-nav-flat_03.png" width="227" height="19" /></a></div>
      <div class="bot-nav2"><a href="http://www.rivercoyotedesign.com/business-cards.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/bot-nav-flat_04.png" width="221" height="37" /></a><a href="http://www.rivercoyotedesign.com/ecommerce.htm" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/bot-nav-flat_05.png" width="124" height="37" /></a><a href="http://www.rivercoyotedesign.com/" target="_blank"><img src="http://rivercoyotedesign.com/fb-graphics/bot-nav-flat_06.png" width="175" height="37" /></a></div></div>
    </div>

    "BruceCSI2" <[email protected]> wrote in
    message
    news:fgnj8t$pan$[email protected]..
    >I set up this demo page,
    http://www.mistchild.com/gruen/index.htm
    and there
    >are
    > gaps between divs when viewed in IE, but not Opera or
    FF. The weird thing
    > is,
    > they show up between the themepic div and the nav div,
    and between the
    > content
    > div and bottom div, but not between the nav div and the
    content div. I've
    > set
    > top margins of 0 for all divs in my stylesheet.
    > Can anyone help me figure this one out?
    Your construct is really "weird", try this:
    #nav,#content,#bottom{float:none}
    img{vertical-align:bottom}
    If that fixes your problem, then you can simply *remove* the
    float
    declarations from your sheet.
    As a side note, you should try to keep things as simple as
    possible. I'm
    sure you can safely remove "position:relative" from many
    rules. Also, there
    is no need to set a width on DIVs that are not floats (their
    natural
    behavior is to fill the the parent container).
    HTH,
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    http://www.divahtml.com/products/scripts_dreamweaver_extensions.php
    - divaGPS - Add "you are here" highlighting to virtually any
    menu
    - divaFAQ - Create FAQ pages that toggle (show/hide) the
    answers
    - divaPOP - Easy, clean, standards-compliant popup windows.

  • Dreamweaver crashes when i drag my div tags in design view

    Hi
    Ive just encountered a problem with dreamweaver cs4 at work.
    I was creating a website using CSS and creating multiple div tags to house my images around the page. I normally position them using the CSS style sheet, but on this occasion, I grabbed the div tag whilst in design view and dragged it manually, and dreamweaver crashed! See image below It does so everytime I try the same thing again. Ive even restarted my PC. Anyone know why?

    I've not see this before, so can't say why it would be happening.  Would the pc be low on resources?  but then again you say it happened even after a restart of the pc.
    Maybe you could try the file cache and the personal configuration folder fix to see if it fixes any issues.
    http://forums.adobe.com/thread/417116#cache
    PS:  While I'm at it, it would be wrong for me to point out that using AP divs is not the optimum way to create a layout....  unless you know the repercussions of using them.
    Here's why:  (from the Dreamweaver FAQ)
    http://forums.adobe.com/thread/477969

  • Can't get rid of gap around edge

    Hi there,
    I'm struggling to get rid of the gap around the edge of the website I've just started building.  I've got the margins set to 0 for the top, and the divs are 100% width.  Does anybody have any ideas?  I've attached a picture to demonstrate and also please see the code pasted in below, in case that's useful.
    Thanks,
    Mark
    Code:
    <!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">
    <!--
    #header {
        background-image: url(images/header_background.jpg);
        background-repeat: repeat-x;
        height: 230px;
        width: 100%;
        margin-top: 0px;
    #navbar {
        background-image: url(images/navbar_background.jpg);
        background-repeat: repeat-x;
        height: 34px;
    #container_navbar {
        height: 34px;
        width: 852px;
        margin-right: auto;
        margin-left: auto;
    #main_text {
        background-image: url(images/maintext_background.jpg);
        background-repeat: repeat-x;
        height: 536px;
        width: 100%;
    #container_header {
        background-image: url(images/header_image.jpg);
        background-repeat: no-repeat;
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 0px;
        margin-left: auto;
        height: 230px;
        width: 852px;
    #container_maintext {
        height: 536px;
        width: 852px;
        margin-right: auto;
        margin-left: auto;
    #footer {
        background-image: url(images/footer_background.jpg);
        background-repeat: repeat-x;
        height: 200px;
        width: 100%;
    #container_footer {
        height: 200px;
        width: 852px;
        margin-right: auto;
        margin-left: auto;
    -->
    </style>
    </head>
    <body>
    <!--Header-->
    <div id="header">
      <div id="container_header"></div> 
    </div>
    <!--Navbar-->
    <div id="navbar">
      <div id="container_navbar">SPRY MENU GOES HERE</div>
    </div>
    <!--Main Text-->
    <div id="main_text">
      <div id="container_maintext">MAIN CONTENT GOES HERE</div></div>
    </div>
    <!--Footer-->
    <div id="footer">
      <div id="container_footer">FOOTER CONTENT GOES HERE</div>
    </div>
    </body>
    </html>

    Add the below to your css styles:
    body {
    margin: 0;
    padding: 0;

  • How do I overlap text in a Div Tag over an Image

    Hi,
    I have a large image which I would like to set as as border around the page.
    Please see www.touchw1.com, it is the grey border with the 3 archways on it that I would like as a border.  At present, everything on this screen apart from the contact details at the bottom are saved as one JPEG.  I saved it like this as I don't know how to set that border as a border and then insert other div tags over, or in it?  Can anyone help??
    Thanks

    Create a 'wrapper" and 'footer1' <div>
    <div id="wrapper">
    </div><!-- end wrapper -->
    <div id="footer1">
    </div><!-- end footer1 -->
    Create some css:
    #wrapper {
    border: 1px solid #333;
    border-bottom: none;
    width: XXXpx /* width you require */
    margin: 0 auto; /* centers wrapper horizontally in browser window */
    #footer1 {
    background-image: url(archway.gif); /*archway image plus borders */
    background-repeat: no-repeat;
    height: XXpx /* height of background archway image */
    width: XXXpx /* width you require */
    margin: 0 auto; /* centers footer1 horizontally in browser window */
    Then start adding content to the 'wrapper' <div>. Insert your logo into a <h1> header.
    <div id="wrapper">
    <h1><img src="images/logo.jpg" width="XXX" height="XXX" alt="TouchW1 Sales and Press Agency - Central London" /></h1>
    <p>TouchW1 is a newly created niche agency that specialises in all aspects of sales management, press and licensing, based in the heart of Central London</p>
    </div><!-- end wrapper -->
    <div id="footer1"></div><!-- end footer1 -->
    Move h1 header into position in the 'wrapper" <div> with css:
    h1 {
    margin: XXpx XXpx XXpx XXpx; /* top, right, bottom, left */
    padding: XXpx XXpx XXpx XXpx;
    Do the same with the paragraph tag
    #wrapper p {
    margin: XXpx XXpx XXpx XXpx; /* top, right, bottom, left */
    padding: XXpx XXpx XXpx XXpx;
    Add rose as background to 'wrapper' <div>
    #wrapper {
    border: 1px solid #333;
    border-bottom: none;
    width: XXXpx /* width you require */
    margin: 0 auto; /* centers wrapper horizontally in browser window */
    background-image: url(rose.jpg);
    background-position: top right;
    background-repeat: no-repeat;
    Hummm that its really....add a 'footer2' <div> for the address line

  • In the paragraph after a conditional build tag, an inline image gets wrapped in a div tag

    Hi,
    TCS5, so FM 12 and RH11. I have successfully applied some conditional build tags by turning off the apply conditional build tag setting and using the Conditional Build Expression in the WebHelp properties instead.
    In RoboHelp, everything looks correct.  I generate WebHelp and suddenly, a div tag is wrapped around the inline image in the paragraph that followed the text marked conditional.
    This did not happen with TCS 4 (FM11, RH10).  I am not sure why this div tag is applied only when I generate the help.  Any thoughts on what to check?
    Lauren

    Hi lauren,
    I tried to replicate the above mentioned issue, but did not get the <div> around the image in Webhelp output. Would it be possible for you to provide more information on this:
    At what point does the <div> start appearing around the image, as soon as the CBT expression is applied?
    If yes, what is the expression?
    What happens when expression is set to None again and individual CBT is under application
    Is there a spacing or the CBT text just follows the inline image?
    Please send us a sample file for the same, if possible. Thanks!
    Amit

  • Search function in DW to flag stray /div tags?

    This seems like a very basic question, but searching the site, the discussion threads, and the FAQs didn't produce any answers. Does Dreamweaver have a search function -- or an alternative Validate function for CSS -- to pick up stray </div> tags? I've got a page with one </div> too many or too few, doubtless due to a slight selection oversight on a copy/paste I made from another source. The page is rendering with elements flopping into the wrong places, or disapperaing entirely, so I'm sure it's an odd </div> somewhere; but I'm just not up to eyeballing 500 lines of code right now, trying to figure out where there's an imbalance in <div> and </div> pairs. It seems like a natural job for automation. Thanks.

    Use the W3C Validation tools.
    HTML - http://validator.w3.org/
    I find it helps to insert HTML comments around Divisions.
    <!--Begin DivName-->
    <div id="DivName>
    <!--end DivName-->
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Centering a DIV Tag

    Hi,
    am having trouble / don't have a clue how to centre a div tag
    to the center of the page? Can someone point me where am going
    wrong. Here is the html code:
    thanks in advance
    hammer.

    >>I think you'll find significant disagreement here
    about the following
    Yes, here, I definitely will find significant disagreement.
    But I'm very
    much of the opinion that publishing to the web is for the
    masses, not just
    for you folk with the time, motivation, and expereince to
    deal with the
    range of issues relating to css layout. The simplicity of
    tables far
    outweighs the gains of css layout at this point in time.
    >>There is nothing worse than a morass of nested tables
    spanned to death,
    >>not
    only for you as the maintainer of the site, but also for the
    browsers, some
    of which simply cannot render such pages. CSS layouts do not
    have these
    problems.
    Here you are wrong. I would actually revese that whole point.
    It is css
    layout that are notorious fo rbrowsers laying out or not
    rendering properly.
    Tables never came close to having such issues. Even nested
    tables, one level
    deep, are perfectly fine.
    >>some
    of which simply cannot render such pages. CSS layouts do not
    have these
    problems.
    Politely, where the heck have you been living these last few
    years!!
    >>Future maintainence, bandwidth usage, and simplicity
    of layout are big
    benefits of using CSS as opposed to tables.
    simplicity of layout??? Again, I think you are missing the
    argument here.
    Its almost a given that tables are simpler to use for layout.
    Almost all
    books on teh topic agree, but point out the long term benefit
    of css layout
    despite the added complexity. So please don't use the
    'simplcity' as an
    argument here. CSS layout is the most intimidating and hard
    to fathom thing
    for most beginners, not just the new syntax but all the
    nonsensical
    (seeming) twists and turns that must be taken to get it to
    work properly -
    not to mention they are buggy as hell. Tables? They don't
    come close to
    being as nasty as CSS layout as it is today.
    >>Everyone here (I think) agrees that if tables work
    better for you, then use them. BUT use them correctly if you
    are going to
    do that. It's pretty simple, really....
    Agreed. I personally use tables for average sized websites
    which have to be
    edited/maintained by general staff - you can teach tables oto
    people inside
    of amorning to a day. You'd need weeks to months to teach
    enough CSS layout
    to a layman and even then he'd think it sucks. I will be
    using css for
    layout about two browser versions from now.
    I don't see the sense on jumping on a technology that, at
    every second turn
    you get, go here for this hack, do this to get around that
    problem, IE
    cannot do this so use this javascript fix, oh it doesn't work
    while looking
    at in dreanweaver but it will work in the browser, blah blah
    blah...its
    enough to put someone off web design for life.
    I came to the web initially becuase I was amazed at how much
    I could do with
    so little knowledge - it was awseome. I think this should
    still happen to
    people today - it's quite empowering. I think the reality is
    a lot more folk
    get disheartned, confused and simply don't run with it. We
    scare the crap
    out them with css layout.
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    >I think you'll find significant disagreement here about
    the following -
    >
    > * CSS for layout is simply not there yet
    > * Its only the accesibility issue which tables lose
    points for
    > * Possibly, the only benefit of css layout is that it
    can be centrally
    > goverened through a linked style sheet, but even this
    can be done with DW
    > templates and tables
    >
    > CSS for layout is certainly "there". Perhaps it's not
    there for you, but
    > it surely is for others.
    >
    > There is nothing worse than a morass of nested tables
    spanned to death,
    > not only for you as the maintainer of the site, but also
    for the browsers,
    > some of which simply cannot render such pages. CSS
    layouts do not have
    > these problems.
    >
    > Future maintainence, bandwidth usage, and simplicity of
    layout are big
    > benefits of using CSS as opposed to tables.
    >
    > But let's not make this a holy war. Nobody here is
    saying that you have
    > to replace tables with CSS. Everyone here (I think)
    agrees that if tables
    > work better for you, then use them. BUT use them
    correctly if you are
    > going to do that. It's pretty simple, really....
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Arrdvark" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> tables are much simpler, translate well to knowledge
    people have from
    >> other tools (ie; ms word) and can do layout quite
    well. CSS for layout is
    >> simply not there yet - it feels like one great big
    hack and is difficult
    >> for people to learn, especially causal web designers
    who just dont have
    >> the time to amass all teh knowledge and expereince
    needed just to get a
    >> simple css layout working in both major browsers.
    One of the things that
    >> made the web so big was how simple it was to publish
    to - CSS layout is a
    >> step backward in this regard.
    >>
    >> tables are still fine for most sites, a perfectly
    valid choice. Its only
    >> the accesibility issue which tables lose points for.
    Possibly, the only
    >> benefit of css layout is that it can be centrally
    goverened through a
    >> linked style sheet, but even this can be done with
    DW templates and
    >> tables, or dynamic pages and tables (ie: asp.net
    master pages).
    >>
    >> I am 50 / 50 these days as to wether css layout is
    worth the hassle for
    >> the average website being bult by the avergae
    person.
    >>
    >>
    >>
    >>
    >> "FreakyJesus" <[email protected]>
    wrote in message
    >> news:[email protected]...
    >>> Very well said, Thierry
    >>> And Arrdvark, I hear you on this:
    >>> "it almost always causes total confusion as to
    "why" this is the case
    >>> and puts
    >>> people right off CSS altogther."
    >>> I am showing a friend how to use CSS (blind
    leading the blind) and on a
    >>> regular basis she's like "wouldn't this be
    easier with tables within
    >>> tables."
    >>> Css CAN be very confusing.
    >>>
    >>> Andy
    >>>
    >>>
    >>>
    >>>
    >>>
    quote:
    Originally posted by:
    Newsgroup User
    >>> Al wrote:
    >>> > On Fri, 01 Dec 2006 09:39:18 -0500, Murray
    *ACE*
    >>> > <[email protected]>
    wrote:
    >>>
    >>> >> Not only something different, but an
    inferior choice at that!
    >>>
    >>> > I guess it can sometimes be difficult for
    an inexperienced user to
    >>> > assess and evaluate multiple solutions. If
    there are downsides to
    >>> > public forums, that would be at least one
    of them. It's hard enough
    >>> > for newbies to assess a single solution,
    but wading through a
    >>> > sub-discussion between third-parties
    micro-analyzing their personal
    >>> > favorite solutions can be untenable.
    >>>
    >>> I agree, but I can also understand that it can
    be frustrating for people
    >>> (people in general) who try to help to see that
    the OP (OPs in general)
    >>> didn't even try a solution that didn't require
    too much effort.
    >>> IMHO, there was not much for the OP to go
    through here since *early* in
    >>> this
    >>> thread, the OP had everything to make it work.
    >>> First post FreakyJesus said to set up the
    left/right margin of the DIV
    >>> to
    >>> "auto" and second post Murray gives a very
    explicit "fix" for IE5:
    >>> body { text-align:center; }
    >>> #graybox { text-align:left; }
    >>> Actually, just trying margin auto could have
    been enough for the OP.
    >>> Sometimes it is important to know "some"
    Javascript, HTML or else to be
    >>> able
    >>> to implement (not necessary understand) a
    solution, but here it was not
    >>> the
    >>> case.
    >>>
    >>> Nothing against the OP here, and nothing to get
    excited either ;-)
    >>> This is just a general statement about the other
    side of the coin.
    >>>
    >>> > Note to self: Recite Serenity Prayer before
    posting here in the
    >>> > future.
    >>>
    >>> Let's hope that works :)
    >>>
    >>> --
    >>> Thierry
    >>> Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    >>> The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    >>> CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    >>> CSS Tab Menu:
    http://www.TJKDesign.com/go/?3
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Div tag viewing problem

    When I wrap a div tag around an image - I don't see that
    image in the "designer view"
    I do see it when I look at it in a browser.
    Isn't there some way that I should be able to see the image
    in the designer view?

    Hmm - I must admit, I've never had this problem. Can you tell
    me exactly
    what you are doing, please?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jfsneumann" <[email protected]> wrote in
    message
    news:ebarml$517$[email protected]..
    > When I wrap a div tag around an image - I don't see that
    image in the
    > "designer
    > view"
    >
    > I do see it when I look at it in a browser.
    >
    > Isn't there some way that I should be able to see the
    image in the
    > designer
    > view?
    >

  • Inserting Images into Dreamweaver through Div Tag

    Hi im quite new to Dreamweaver and i've got CS3...I've just
    designed and sliced up a website in Photoshop and have started to
    compile it together in Dreamweaver using HTML and CSS. I've just
    added a Div tag and added images into the page and i've got stuck,
    i cant seem to put another image next to one iv already placed
    their.
    I need help on how to work with Div Tags and applying images
    so that i can fix my website like a Jigsaw.
    I have provided the code i hav in my HTML so far...

    Maybe this will help you -
    Taking a Fireworks comp to a CSS-based layout in Dreamweaver
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
    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
    ==================
    "DThandi" <[email protected]> wrote in
    message
    news:gk8anj$4qc$[email protected]..
    > Let me show you the before and after images of the site
    im working on,
    > then
    > maybe what im trying to describe can become more
    clearer...Your right that
    > i do
    > need some basic understanding, I actually used to know
    the answer to my
    > own
    > question but since i havn't played around with
    Dreamweaver for a while i
    > seem
    > to have forgotten.
    >
    > This was the image on Photshop:
    >
    http://i187.photobucket.com/albums/x151/ohhchakdeh/SAMPLE.jpg
    >
    > This is where I am stuck now:
    >
    http://i187.photobucket.com/albums/x151/ohhchakdeh/stuck.jpg
    >
    > These are all the small images i have sliced up from
    Photshop:
    >
    http://i187.photobucket.com/albums/x151/ohhchakdeh/Untitled.jpg
    >
    > As you can see i have trouble coding in HTML. So far i
    have been
    > following a
    > tutorial video showing me how to had images and align
    them through Div
    > Tag...But now i am trying to put images side by side in
    the Navigation
    > area and
    > on top of and underneath each other. As you can see i
    have Home.jpg and
    > Home-Scrap.jpg. Home Scrap needs to go under Home and
    both of them images
    > need
    > to go next to image Left-Short.jpg.
    >
    > Thank You
    >

  • Cant get rules to work with pz:div tag

    im using commerce server 2.0.1 with sp1
    i made a rule sheet and rule and rule selectors through the wlpsadmin
    tool
    and then i was trying to base content inside a portal using one of the
    rule selectors and the pz:div tag.
    this is what the jsp page has inside:
    <pz:div
    ruleset="jdbc://com.beasys.commerce.axiom.reasoning.rules.RuleSheetDefinitionHome/myRules"
    rule="myRule">
    content
    </pz:div>
    the server just hangs for about 5 minutes, and then no content is
    returned. there is nothing coming out in the weblogic.log the whole
    time. i have checked the rules and at least one should be returning some
    content
    previouly i have been getting other errors such as
    Thu Aug 17 10:16:39 PDT 2000:<E> <ServletContext-General> exception
    raised on '/portals/buybeans/buybeansportal.jsp'
    javax.servlet.ServletException: runtime failure in custom tag 'div'
    at
    jsp.portals.buybeans.portlets.emailCampaign._jspService(emailCampaign.java:318)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at jsp.portals.buybeans.portlet._jspService(portlet.java:683)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.portalcontent._jspService(portalcontent.java:594)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.buybeansportal._jspService(buybeansportal.java:751)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
    at
    weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
    at
    jsp.portals.buybeans._userlogin._jspService(_userlogin.java:964)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    and
    Thu Aug 17 10:16:39 PDT 2000:<I> <EJB JAR deployment
    /usr/local/weblogic/WebLogicCommerce/lib/rulesservice.jar> Transaction:
    '966528642212_134' rolled back due to EJB exception:
    java.lang.NullPointerException
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataBean.getData(RulesetDataBean.java:171)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataBeanEOImpl.getData(RulesetDataBeanEOImpl.java:56)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataResolver.resolveEntity(RulesetDataResolver.java:121)
    at com.sun.xml.parser.Parser.parse(Parser.java:294)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.ServiceProviderManager.createRulesetForXML(ServiceProviderManager.java:419)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.ServiceProviderManager.createContext(ServiceProviderManager.java:146)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBean.getContextWrapper(RulesServiceBean.java:863)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBean.applyRules(RulesServiceBean.java:189)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBeanEOImpl.applyRules(RulesServiceBeanEOImpl.java:56)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBeanEOImpl_ServiceStub.applyRules(RulesServiceBeanEOImpl_ServiceStub.java:153)
    at
    com.beasys.commerce.axiom.p13n.agents.ClassificationAgentImpl.advise(ClassificationAgentImpl.java:110)
    at
    com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBean.advise(PersonalizationAdvisorBean.java:100)
    at
    com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBeanEOImpl.advise(PersonalizationAdvisorBeanEOImpl.java:56)
    at
    com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBeanEOImpl_ServiceStub.advise(PersonalizationAdvisorBeanEOImpl_ServiceStub.java:192)
    at
    com.beasys.commerce.p13n.tags.DivTag.includeBody(DivTag.java:161)
    at
    com.beasys.commerce.p13n.tags.DivTag.doStartTag(DivTag.java:100)
    at
    jsp.portals.buybeans.portlets.emailCampaign._jspService(emailCampaign.java:293)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at jsp.portals.buybeans.portlet._jspService(portlet.java:683)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.portalcontent._jspService(portalcontent.java:594)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.buybeansportal._jspService(buybeansportal.java:751)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
    at
    weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
    at
    jsp.portals.buybeans._userlogin._jspService(_userlogin.java:964)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:124)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    no i am sure it is not the database, i use oracle and cloudscape
    interchangingly. i never got the jsp tag to work, however i got around it by
    using java code. they have a class called ContentSelectorExample which you can
    use to exceute a rule. here is my code that seems to work:
    <%@ page import="com.beasys.commerce.axiom.content.Content" %>
    <%@ page import="examples.p13nadvisor.ContentSelectorExample" %>
    <%
    // this is the rule sheet you made in the commerce server admin at wlpsadmin
    String
    ruleSet="ejb://com.beasys.commerce.axiom.reasoning.rules.RuleSheetDefinitionHome/myRules";
    // this is the rule you made in the commerce server admin at wlpsadmin (content
    selector rule)
    String rule="myRule";
    Content[] results = null;
    String contentHome = "com.beasys.commerce.axiom.document.DocumentManager";
    String sortby = null;
    String query = null;
    int max = 1;
    try{
    results = new ContentSelectorExample().executeContentSelector(pageContext,
    ruleSet, rule, contentHome, sortby, query, max);
    // check if there are any results - this tells you if the rule failed or
    succeeded
    if(results != null && results.length > 0){
    %>
    <P>Content for when the rule is a success</P>
    <%
    } catch(Exception ex){ ex.printStackTrace(); }
    %>
    William Lee wrote:
    I have experienced the same problem. Have you got the cure for it yet?
    May I ask what RDBMS are you using? I'm using MSSQL 7.0. I just want to make
    sure this doesn't cause the problem.
    William Lee
    "root" <[email protected]> wrote in message
    news:[email protected]...
    im using commerce server 2.0.1 with sp1
    i made a rule sheet and rule and rule selectors through the wlpsadmin
    tool
    and then i was trying to base content inside a portal using one of the
    rule selectors and the pz:div tag.
    this is what the jsp page has inside:
    <pz:div
    ruleset="jdbc://com.beasys.commerce.axiom.reasoning.rules.RuleSheetDefinitio
    nHome/myRules"
    rule="myRule">
    content
    </pz:div>
    the server just hangs for about 5 minutes, and then no content is
    returned. there is nothing coming out in the weblogic.log the whole
    time. i have checked the rules and at least one should be returning some
    content
    previouly i have been getting other errors such as
    Thu Aug 17 10:16:39 PDT 2000:<E> <ServletContext-General> exception
    raised on '/portals/buybeans/buybeansportal.jsp'
    javax.servlet.ServletException: runtime failure in custom tag 'div'
    at
    jsp.portals.buybeans.portlets.emailCampaign._jspService(emailCampaign.java:3
    18)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at jsp.portals.buybeans.portlet._jspService(portlet.java:683)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.portalcontent._jspService(portalcontent.java:594)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.buybeansportal._jspService(buybeansportal.java:751)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:153)
    at
    weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
    at
    jsp.portals.buybeans._userlogin._jspService(_userlogin.java:964)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:744)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:692)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
    Manager.java:251)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    and
    Thu Aug 17 10:16:39 PDT 2000:<I> <EJB JAR deployment
    /usr/local/weblogic/WebLogicCommerce/lib/rulesservice.jar> Transaction:
    '966528642212_134' rolled back due to EJB exception:
    java.lang.NullPointerException
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataBean.getData(Ru
    lesetDataBean.java:171)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataBeanEOImpl.getD
    ata(RulesetDataBeanEOImpl.java:56)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataResolver.resolv
    eEntity(RulesetDataResolver.java:121)
    at com.sun.xml.parser.Parser.parse(Parser.java:294)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.ServiceProviderManager.cre
    ateRulesetForXML(ServiceProviderManager.java:419)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.ServiceProviderManager.cre
    ateContext(ServiceProviderManager.java:146)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBean.getContex
    tWrapper(RulesServiceBean.java:863)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBean.applyRule
    s(RulesServiceBean.java:189)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBeanEOImpl.app
    lyRules(RulesServiceBeanEOImpl.java:56)
    at
    com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceBeanEOImpl_Ser
    viceStub.applyRules(RulesServiceBeanEOImpl_ServiceStub.java:153)
    at
    com.beasys.commerce.axiom.p13n.agents.ClassificationAgentImpl.advise(Classif
    icationAgentImpl.java:110)
    at
    com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBean.advise(Per
    sonalizationAdvisorBean.java:100)
    at
    com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBeanEOImpl.advi
    se(PersonalizationAdvisorBeanEOImpl.java:56)
    at
    com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBeanEOImpl_Serv
    iceStub.advise(PersonalizationAdvisorBeanEOImpl_ServiceStub.java:192)
    at
    com.beasys.commerce.p13n.tags.DivTag.includeBody(DivTag.java:161)
    at
    com.beasys.commerce.p13n.tags.DivTag.doStartTag(DivTag.java:100)
    at
    jsp.portals.buybeans.portlets.emailCampaign._jspService(emailCampaign.java:2
    93)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at jsp.portals.buybeans.portlet._jspService(portlet.java:683)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.portalcontent._jspService(portalcontent.java:594)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:250)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
    l.java:171)
    at
    weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:100)
    at
    jsp.portals.buybeans.buybeansportal._jspService(buybeansportal.java:751)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:153)
    at
    weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
    at
    jsp.portals.buybeans._userlogin._jspService(_userlogin.java:964)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:153)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:1033)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:744)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:692)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
    Manager.java:251)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Gallery page download from + shadow without div tag?

    Hi guys, on my site I want to upload some images that can be downloaded for use by clients - not high-res, but high enough quality for them to use in Word docs, emails, etc. I have made image galleries before but these don't allow the viewer to download pics. What do methods others use for this purpose?
    Also, I was watching this tut on how to  put a dropshadow around a site http://www.youtube.com/watch?v=cT1JAOB9XVI&feature=player_detailpage#t=198
    but it requires a div tag wrap . My site hasn't got any div tags at all http://tatlerprime12.co.nz/venues.html Do I need to create one to have a drop shadow? If so, how?
    If not, what's another way to put a dropshadow around my white table?
    Thanks in advance for advice.
    Jo

    1) Group images into  folders and zip the folders.  Place a link on your page to the zip file.  If no folders needed, tell people to right click on image to save it.
    2) CSS Dropshadows
    http://www.alistapart.com/articles/cssdropshadows/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • CS4 Div Tags Help Needed

    I just upgraded to CS4. In dreamweaver I am trying to build a
    site that I designed in Photoshop to Dreamweaver using all Div
    Tags. I can get the container to center, but when I place other
    divs on top, they wont stay where I put them. I have taken absolute
    positioning off, but then they fly off position totally. How to get
    around this? I have tried relative, fixed and inherit, all with the
    same result. I just cant figure it out. Can anyone help me?

    Most of which are erroneous guesses.
    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
    ==================
    "Ian Edwards" <[email protected]>
    wrote in message
    news:ggb7c1$qtg$[email protected]..
    > Hi
    >
    > it would he if you uploaded the code so we can see it.
    If you do that then
    > no doubt you will be deluged with solutions.
    > cheers
    >
    > Ian
    > "martcol" <[email protected]> wrote in
    message
    > news:ggavg8$gf7$[email protected]..
    >>
    quote:
    Originally posted by:
    [email protected]
    >> ....when I place other divs on top, they wont stay
    where I put them. I
    >> have
    >> taken absolute positioning off, but then they fly
    off position
    >> totally.
    >>
    >> Do the< div> tags sit under each other rather
    than if it is what you
    >> want, sit
    >> side-by-side? Or do they actually, "fly off
    position?" Have you thought
    >> about
    >> the "float" property?
    >>
    >> Sometimes, leaving off a single closing tag in my
    code can have
    >> catastrophic
    >> results for positioning - have you checked if your
    HTML validates.
    >> Often, that
    >> can be a useful way of checking if your code is the
    problem.
    >>
    >> Martin
    >>
    >

  • CSS div tags

    Hi folks,
    I have a quick questions which
    should be easily resolved. I have created sites using Div
    tags, the usual 'masterhead' / 'navi' / 'content' / 'footer'. The
    Divs margins are set to 0 for for top and bottom. My querie is, in
    IE the Divs 'butt up' to each other however in FF/Safari/Mozilla
    there is a gap - is there a way to get the pages to appear the
    same? I have tried playing with the margins and had no joy. I have
    even attempted to create another Div tag to include the
    'navi/content' to see if that would 'squeeze up' the elements -
    that didn't work in the desired browsers either - any ideas?
    Many thanks in advance

    > Murray *ACE* you may not remember but you advised me to
    get some CSS
    > books,
    > which I have read through (one from Sitepoint &
    another by aPress) - I
    > have you
    > to thank in gaining extra knowledge in this. However
    don't I wont be
    > asking any
    > Q's - I'll just try not to ask any 'basic' ones now! ;)
    I'm glad I could push you in this direction. The flash of
    enlightenment is
    such a wonderful experience!
    > why on earth cant all browsers have the same protocols
    and viewing
    > behaviours??
    They are trying, thankfully. As opposed to how it was a few
    short years
    ago, I think they all now agree that the W3C's specifications
    are the law.
    The problem is that sometimes those specifications are
    ambiguous, and when
    that happens there is the possiblity of different
    interpretations....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "tommysauce" <[email protected]> wrote in
    message
    news:f8akm4$olo$[email protected]..
    > Hi guys,
    >
    > I was persistent in trying to solve this problem and
    worked it out !! Oh
    > happy
    > days! ;p
    >
    > Question, why on earth cant all browsers have the same
    protocols and
    > viewing
    > behaviours?? Although I must admit there is a certain
    amount of
    > satisfaction
    > gained when you work stuff out!
    >
    > Murray *ACE* you may not remember but you advised me to
    get some CSS
    > books,
    > which I have read through (one from Sitepoint &
    another by aPress) - I
    > have you
    > to thank in gaining extra knowledge in this. However
    don't I wont be
    > asking any
    > Q's - I'll just try not to ask any 'basic' ones now! ;)
    >

  • Margins, div tags displaying differently on different monitors CS3 DW

    I am working on a class website on three, maybe four computers all running DS3.  My work computer is a 17" 4:3 ratio monitor running at, maybe 1280 - 1024.  The page in DESIGN view displays fine, and looks fine in IE and Firefox.  My class computer is a 19" 4:3 ratio monitor running the same resolution, and it looks fine.
    My home computer is a 24" monitor running 1900 x 1200  16:9  widescreen ratio resolution. And what looks good at school and work goes to pot at home. All the div tags shift around, margins, screw up in Design view but look okay in IE or Firefox when I preview them.  What is up?  Is there a setting I've missed. If it helps, know that I am NOT using AP divs or AP  -- I want the pages to float center.   Thanks in advance.
    W!

    Thanks for your concern regarding the class instructor!
    The instructor was very clear about what the course would not cover --- DIVs, behaviors, Sprys, templates, etc.  It covers DW commands, tables, formatting, linking, posting sites to the web, and beginning flash.  In fact, the final project is only supposed to be 1 landing page and two supporting pages. And to be fair, it's one of those classes where you've got people like myself with previous exposure to HTML combined with folks who don't know how to use Windows Explorer to navigate to a directory. .  .
    Before taking the class, I had purchased one of those TOTAL TRAINING DVD instruction sets -- DW instructor Janine Warner did the two disc instruction set and did a really good job explaining the difference between regular divs and AP divs.  Which is why I'm not using AP divs right now.  I wasn't able to control spacing or formatting the way I wanted using tables, so I decided to use DIVs instead.   Building a Nav Bar using "Insert -- Nav Bar" didn't provide submenus and the graphics I created for rollovers took to long to load (even though I took pains to create small graphic buttons in Photoshop as 3 KB gifs), I was pointed in the director of Spry widgets, etc.  My class instructor is good enough to say, "We're not doing that in this class. But why don't you research. . ."
    I think it's all good.  I appreciate having this forum as a resource.

Maybe you are looking for

  • How do I save an album to my iPad?

    How do I save an album to my iPad?  This really should be pretty basic.

  • Self Password management in SAP 4.7

    Hi Techies, Is there any way to enable self password management in SAP 4.7 (ABAP)? My requirement is user have to Unlock/Reset his own SAP ID and get confirmation to his own mail address mapped in SAP. This is just to avoid the routine activity of He

  • Transport request not releasing

    Hi All, While releasing transport request it takes more than 24 hours but still not yet released. task has been released. Other requests are releasing and importing going fine. but one request is taking time. Regards Siva

  • FMS 3.5 /  server/app1 - netconnect - server/app2 = NetConnect.Connect.FailedHello

    Hello all, I've hit a snag with my current FMS project and Im hoping someone out there might be able to help. I have a working FMS server with two applications: I'm trying to get application 2 to connect to application1. I can connect to app1 if i wr

  • Which DNG converter should I be using?

    Which DNG converter should I be using? I am now still using Lightroom 4.4 and my camera is Nikon D4s... the converter (cannot remember which version)  used to work before, but it was behaving strangely with part of the display hidden, after I reinsta