Design view differs from browser view

When viewing in Design view my code correctly shows 2
overlapping rectangles. In browser view it shows two smaller
rectangles that do not overlap. I am using DW MX 2004. I have
attached small sample code.
Thanks,
Alexariel

DMX2004's Design view is not a browser, and can only
approximate (poorly)
how a page will look. The browser is always right. For
example, DMX2004 is
insensitive to the CSS error here -
div {width:250px; height:100;px; position:absolute; }
(note the ';' between '100' and 'px')
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
==================
"Alexariel" <[email protected]> wrote in
message
news:gqh83o$kld$[email protected]..
> When viewing in Design view my code correctly shows 2
overlapping
> rectangles.
> In browser view it shows two smaller rectangles that do
not overlap. I am
> using
> DW MX 2004. I have attached small sample code.
> Thanks,
> Alexariel
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <style type="text/css">
> body {margin: 0px; padding: 0px;}
> div {width:250px; height:100;px; position:absolute; }
> div.one {background-color:#FF0000; left: 0px; top: 0px;
> div.two {background-color:#00FF00;left: 75px; top:
25px;}
> </style>
> </head>
> <body>
> <div class="one">one</div>
> <div class="two">two</div>
> </body>
> </html>
>

Similar Messages

  • My page design looks different in browser

    My website is table based using css styles for the text
    designed in dreamweaver mx 2004.
    On one page I have very simple a table with 2 columns, there
    is text in one and my logo in the other. Both cols are set for
    content to be vertically aligned to the top of the table and are
    perfectly aligned.
    When I look at my page online my logo is not where it should
    be at the top of the table, it drops down slightly. I am living
    with this as it does not hamper the usability of my page but I need
    to know why it's happening for future pages. I only preview in
    Safari at the moment, so I am also wondering if it's my browser, IE
    on another pc shows the logo in the wrong position. I have tried
    putting the logo in a layer with x and y co-ordinates set thinking
    this might be more definate but it's even worse, way out of line
    with the content in my table.
    ALSO
    My table is 600px deep. On my ibook and within dreamweaver,
    the whole table is visible on screen without scrolling down to see
    the last line.
    When I preview in browser, I have to scroll down to see the
    last line of content it's as though the online version has been
    vertically stretched. The last line of content also has a logo
    image in it a .png file, it didn't stretch out like this when there
    was no image in the last line.
    Any help much appreciated x

    > Any help much appreciated x
    Without seeing your page and its code, we can only guess.
    1. I'd guess that your logo is within a <p> tag, and
    the space that is
    appearing above it is due to the default top margin on the
    <p> tag.
    > I have tried
    > putting the logo in a layer with x and y co-ordinates
    set thinking this
    > might
    > be more definate but it's even worse, way out of line
    with the content in
    > my
    > table.
    That's never going to be a good solution for you.
    > When I preview in browser, I have to scroll down to see
    the last line of
    > content it's as though the online version has been
    vertically stretched.
    > The
    > last line of content also has a logo image in it a .png
    file, it didn't
    > stretch
    > out like this when there was no image in the last line.
    You cannot control table heights in any way. Don't waste your
    time trying.
    Watch what happens when you preview and then make your
    browser's text
    display larger or smaller.
    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
    ==================
    "Lauraghc" <[email protected]> wrote in
    message
    news:[email protected]...
    > My website is table based using css styles for the text
    designed in
    > dreamweaver
    > mx 2004.
    >
    > On one page I have very simple a table with 2 columns,
    there is text in
    > one
    > and my logo in the other. Both cols are set for content
    to be vertically
    > aligned to the top of the table and are perfectly
    aligned.
    >
    > When I look at my page online my logo is not where it
    should be at the top
    > of
    > the table, it drops down slightly. I am living with this
    as it does not
    > hamper
    > the usability of my page but I need to know why it's
    happening for future
    > pages. I only preview in Safari at the moment, so I am
    also wondering if
    > it's
    > my browser, IE on another pc shows the logo in the wrong
    position. I have
    > tried
    > putting the logo in a layer with x and y co-ordinates
    set thinking this
    > might
    > be more definate but it's even worse, way out of line
    with the content in
    > my
    > table.
    >
    > ALSO
    >
    > My table is 600px deep. On my ibook and within
    dreamweaver, the whole
    > table is
    > visible on screen without scrolling down to see the last
    line.
    >
    > When I preview in browser, I have to scroll down to see
    the last line of
    > content it's as though the online version has been
    vertically stretched.
    > The
    > last line of content also has a logo image in it a .png
    file, it didn't
    > stretch
    > out like this when there was no image in the last line.
    >
    > Any help much appreciated x
    >

  • JWS Download Dialog's URL(From:) different from browser's URL

    Hi everyone,
    My problem:
    I have deployed application A.jar at: {color:#0000ff}192.168.0.10{color}
    B.jar at:{color:#ff0000} 192.168.0.20{color}
    they were alaway launched successfully.
    but sometimes when I input {color:#0000ff}192.168.0.10{color} in the browser address, B.jar from {color:#ff0000}192.168.0.20{color} has be launched(*A.jar* has not),
    when I clear the JAVA cache , the problem will not happen &#12290; but After a few days , the problem happened again...
    i don't know how to slove it.
    anyone can help me ? thanks
    my english is poor ,i hope you will get my point.
    , :)

    Hi!
    You might have seen this post in the Automator part
    of the forum... but I might have posted it in the
    wrong place (got no interest:( )
    I've managed to get automator to retrieve (and save
    to hdd) an .m3u playlist from a radio's website that
    broadcasts a program I like in mp3.
    inside this m3u playlist is the link to an actual mp3
    file... both the m3u and the mp3 change every week.
    If I drag the m3u to TextEdit it opens up and I can
    see the 3 lines of "source code" of which the last
    line is the full url of the mp3 file (http://www
    .thatradiosurl.com/audio/show-shownumber.mp3)
    You already got the playlist into a text file, you have two options:
    1. use Automator's 'Get Link URLs from Webpages' action to extract the URL. 'Get Link URLs from Webpages' is under Safari lib.
    2. run Automator Python script from 'Get Link URLs from Webpages' in AppleScript. The script below with get your mp3 URLs:
    set playlist_file to "/path/to/playlist/file.txt" -- change to your actual playlist file path
    set _URLs to do shell script "/System/Library/Automator/Get\\ Link\\ URLs\\ from\\ Webpages.action/Contents/Resources/links file://" & quoted form of playlist_file
    set mp3_URLs to ""
    repeat with _URL in paragraphs of _URLs
    if _URL contains ".mp3" then set mp3_URLs to mp3_URLs & _URL & (ASCII character 10)
    end repeat
    mp3_URLs is the list you want you extract.

  • Design view and browser view in DW are different than when I view from local folder

    I'm brand new to Dreamweaver CS5.5 and here is my problem:
    I've made an html page in dreamweaver with a banner, with an additional graphic and some text on top of the banner.  It displays just fine in every browser when I view from the local folder, but when I open DW and view, it displays incorrectly in all three design, live and browser views within DW.  If I make changes to the css file until it views correctly in design view, it no longer displays correctly from the local folder and it still doesn't view correctly in live or browser view within DW.  If what I'm doing isnt going to display accurately in any of the views provided by Dreamweaver as compared to the live server, whats the point in having this software?  I could just keep building webpages in notepad and uploading with CoreFTP.
    Any suggestions?  Is it some setting that I dont know about that I need to change within DW?   Please help.

    align="center" is deprecated (obsolete) code in XHTML & HTML5 doc types.  Instead of styling markup with HTML, you should be using CSS. 
    CSS
    .center {text-align:center}
    HTML
    <p class="center">some centered text here</p>
    With respect to break tags, in XHTML doc types the correct syntax is <br /> not <br>.  However your usage of line breaks is inconsistent with good symantic markup.  Use headings <h1> <h2> <h3> <h4> for important keywords.  Use <p> for descriptive paragraphs.  Use <ul> <li> or <ol> <li> for lists.  Line breaks should be used minimally if ever.
    XHTML doc types require all tags to be lowercase.  Uppercase tags will throw errors.
    Your design is too rigid.  When text size is increased in browsers, your content is unreadable.  See screenshot.
    SOLUTIONS:
    1) DO NOT USE POSITION ABSOLUTE.  You don't need it.  Absolute positioning removes content from the normal document flow resulting in a jumbled mess.  Use default CSS positioning (none) with margins, padding & floats to align elements.
    2) Remove HEIGHT values from all CSS containers.  Height limits a container's capacity to hold more content when needed.  Container height should always be determined by the amount of content it holds; not explicit values.  If required to reveal a background image, for example, use CSS min-height instead of height.
    CSS Box Model
    http://www.w3schools.com/css/css_boxmodel.asp
    CSS Floats
    http://www.w3schools.com/cssref/pr_class_float.asp
    CSS min-height
    http://www.w3schools.com/cssref/pr_dim_min-height.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Font in Design View different from font in Live View and browser preview

    My external style sheet has the body set for a sans-serif font and there is nothing to contradict it in the HTML documents. But while I get sans-serif in the Design View (as you would expect), I get a serif font in Live View and Browser Preview, not to mention on the Web itself.
    How is this possible (and what should I do about it)?
    --Paul

    Murray and David: it worked! It is a rare and joyous experience to have a straightforward solution to the sorts of problems I come up with (including other realms). But I have to say that with HTML and CSS (and hence with Dreamweaver), solutions to difficulties have seemed within easier reach than in other parts of the computer world.
    By the way, I wanted to choose "correct answer" for both your posts, but after making the first click it was no longer available for the remaining post--so I typed "helpful" even though that one was correct too.
    Thanks again.
    --Paul

  • Design view different from preview  -  is muse still in beta testing

    I have limited experience with coding html so when Adobe released Muse, I was excited. However, I'm wondering if they released it too soon and/or if it is still in beta testing - which I don't mind but would like to know what I'm dealing with. It seems to have a lot of quirks - mainly that the design view is sometimes different from the preveiw or browser view. I spent over an hour yesterday trying to get text boxes to line up. If there is an hidden element affecting the text boxes, I don't see it. I have moved everything off the page and >selected all
    and nothing shows up.
    Other issues:
    Sometimes paragraph styles do not apply - even though in design view it looks like they do.
    Can't find a way to center text vetically in a text box other than adjusting the leading?
    Can't find a way to organize assets into folders?
    When an object is selected on a page, is there a way to indicate that that is the object in the assests panel?
    Sometimes the padding options are not available for no apparent reason.
    Thanks to the Adobe staff for being responsive as these issues are discovered. One staff member in particular was very helpful as I was trying to get hyperlinks to work right. But I am STILL having a problem. The text box and the text itself have the hyperlink style applied but as you can see on the Dardanelle and Chad Lawson Trio hyperlinks - the style did not take even though they are both hyperlinks that point to the right URL.  -- geezermusicclub is the correct link for Dardanelle - It's difficult to see in the pic, but the Dardanelle and Chad Lawson text color is black but the hyperlink text style is brown.
    Persoanlly, I feel Adobe should lower the subcription price while all these kinks are being worked out in Muse. In a way, subscribers are **** a LOT of beta testing for Adobe. Not only are we not being compensated for that, we are having to pay for an application that has too many wrinkles.

    Murray and David: it worked! It is a rare and joyous experience to have a straightforward solution to the sorts of problems I come up with (including other realms). But I have to say that with HTML and CSS (and hence with Dreamweaver), solutions to difficulties have seemed within easier reach than in other parts of the computer world.
    By the way, I wanted to choose "correct answer" for both your posts, but after making the first click it was no longer available for the remaining post--so I typed "helpful" even though that one was correct too.
    Thanks again.
    --Paul

  • Page showing up differently in design view then in web browser

    I am working on creating a page that advertises two products
    that we are selling. I have a table that shows up just how I want
    it to in design view. As soon as I view it in live view or in a
    browser it shows up differently. It is like table rows are being
    invisibly inserted.
    Does anyone have any advice on how to fix this?
    Thanks

    Here is the code for the page that I am working on:

  • Look different in Design view and Browser Preview

    Why do it look different in Design view and Browser
    Preview?

    "MA_DAVIDLEE" <[email protected]> wrote in
    message
    news:e39mte$las$[email protected]..
    > thank you for reply and the url is www.cipr.com.tw. you
    can see the
    > navigation position is different in Design view. Thank
    you!
    >
    How could I see the Design view? Can you post a
    screenshot?

  • Design view is significantly different from output in Robohelp 10

    This may be normal for Robohelp 10. I am not sure.
    I am applying a new CSS to my company's help project as part of a major update to the design. The CSS includes table styles, and list styles - something that was signficantly lacking from the previous design.
    I have noticed that there are significant differences between what I see in the design view and what I see in the output, and this causes a lot of confusion.
    When applying the bullet style, in the design view I see a numbered list. However, the output displays bullets as I specified.
    When applying a table style, the table looks unformatted until I view it in preview mode or generate the project.
    My roman numeral list style appears as decimals in design view, but looks fine in the output.
    This is very confusing to work with, and initially led me t make many manual changes before I realized that what I am seeing in the design editor is completely misleading.
    Any suggestions are welcome.
    Yehoshua

    This is how it appears when I edit the style in Robohelp:
    This is how it appears when I apply the style in design view:
    However, when previewing the page (and also when generating ouput):
    As I said, it is very confusing and misleading.

  • Background in live view different from design view

    Why when I am looking at my page in design view it shows up black like I want it to, but when I go to live view or view it on the internet it shows up like the template color that it was when started?

    Without the code, it's pretty tough to say what might be happening.
    One thing to look at would be the order of you css, including the links to external .css files in the <head> of the page.
    If you have two like selectors, for example, two versions of: body {background-color:some color here;}, the one that comes last in the stylesheet links, embedded css, or in the html itself (inline css) will be the one that's used by the browser.

  • Live view different from design view

    Hi folks,
    Does anyone know why, in dreamweaver, there is a difference between the site design in Design View and what you see in live view; and how should oneapproach this difference?
    Thanks.

    Design View was coded a LONG time ago and Adobe hasn't really changed it much. It is very useful for my workflow, which is to work in Split view and jump back and forth between the Design view pane and the Code View pane. I know right off the bat that I won't see everything. Design View will never show me the newer CSS3 attributes, like shadow, gradients and so on. But it gives me a "rough" analog to work with while I'm doing general layout. Things like, "Am I breaking up the text enough to keep people on my web page?" "Do I have this typeface too small?" "Is the picture I just put in there positioned correctly?"
    Also, be forewarned, "Live" view is Webkit (an Open Source browser) so it will accurately portray Google's Chrome and Apple's Safari. It will not accurately show issues with Firefox and Internet Exploiter. So, before you launch your website, do a check in all of the major browsers.

  • Design View differs from Live view problem

    I have Dreamweaver CS5.5 with Mac OS 10.7.3 on an iMac. I have the same set-up on a Macbook Pro 17
    The problem is that the Design view is showing different fonts and not picking up layout as per CSS style but the Live view is all correct.
    All is fine on the laptop so it is my iMac specific glytch
    I have checked the settings for diplaying CSS styles and they are ticked
    I have switched off the activation settings for Suitcase Fusion 3 in case of conflict there
    I have uninstalled and reinstalled Dreamweaver
    I think it a font-related problem as the design view only seems to want to display non-serif fonts.
    Am I doomed to only use the lap-top in my web work?
    I hope someone can advise as I am rather frustrated

    I think that's just the way it is...
    http://forums.adobe.com/message/4312435#4312435
    Martin

  • Design View and Browser show different layout

    I am having an issue with a site I am working on. The site
    looks great in
    the browser, but it doesn't look right in design view in
    Dreamweaver. I
    have posted 2 screenshots (they are around 140k apiece), they
    are linked
    below,
    Dreamweaver -
    http://www.swvtc.dmhmrsas.virginia.gov/dreamweaver/dreamweaver.jpg
    Browser -
    http://www.swvtc.dmhmrsas.virginia.gov/dreamweaver/browser.jpg
    What would be causing this?
    Thanks in Advance,
    Drew

    It could be a number of things, but until we see the code it
    would only be,
    at best, a guess. Please post the link to the page.
    Jo
    "Drew" <[email protected]> wrote in message
    news:edn3u8$lc1$[email protected]..
    >I am having an issue with a site I am working on. The
    site looks great in
    >the browser, but it doesn't look right in design view in
    Dreamweaver. I
    >have posted 2 screenshots (they are around 140k apiece),
    they are linked
    >below,
    >
    > Dreamweaver -
    >
    http://www.swvtc.dmhmrsas.virginia.gov/dreamweaver/dreamweaver.jpg
    > Browser -
    http://www.swvtc.dmhmrsas.virginia.gov/dreamweaver/browser.jpg
    >
    > What would be causing this?
    >
    > Thanks in Advance,
    > Drew
    >

  • My Spry Menu bar is different in design view and when I preview in Browser.

    When in design view my Spry Meny Bar is horizontal like I chose.  But when I preview it in browser it appears as just type verically down the side of the screen.  With no boxes around it.  Please help.

    Did you define a local site folder in DW before you began your project?
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    A link is the very best way to get help here.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Is it possible to print from design view in CS3

    I've got a summary print out / display page for a CF application that I'd like to be able to print out in Design view.
    DW CS3 only seems to print the code page and I don't want to print from a browser as that will only show the options currently selected - I'm after having all options displayed.
    Is it possible? Any suggestions other than printScreen?

    No, you can't print from Design view. It seems as though screen capture is your best option,

Maybe you are looking for

  • JAVA aplication and MDM

    Hi forum, We've created a XI 3.0 scenario in order to make an integration between JAVA applications and MDM The JAVA application needs the Message Type "XML Namespace" field to be filled, but MDM doesn't import the sent xml messajes through this scen

  • Can a Pie Chart have a variable number of slices?

    Is there a way to dynamically limit the NUMBER of slices that a pie chart shows? For instance, sometimes there might be 10 elements, sometimes 6 (last 4 are 'blank') or maybe 5 (last 5 are blank). Yes I know I can keep on reducing/increasing the Exce

  • Identifying users on iChat witin school network

    is there any way to identify a user who is impersonating a teacher on a school's network using iChat/Bonjour? Apple Remote Desktop is available, however I cannot think of any way to isolate who the problematic student is. They have changed their addr

  • Fixes in 1.5.1

    Does anybody know how to find out which bugs are fixed in 1.5.1. I'm interessted in 4770745 (Iterating over ZipFile entries is very slow when using network file systems) which is set to fixed in Mustang. I would like to know if this fix goes into 1.5

  • Iphoto cannot see my old library or photo files

    in fact even finder can't see the jpegs but the old library icon shows 90GBs of content. If I look inside this using "show package content" i can see all the various iphoto folders and all the jpegs thumbnails etc. Really wierd. I've done a disk util