+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    socalgal
    Guest

    DreamWeaver 4 help needed

    Hi, DW geeks

    I'm trying to get a background image.jpg on a sub-index page to not repeat.

    It's a full page originally created in FP but that shouldn't matter, I think?

    So, I try to apply CSS New Style to .name and select Make Custom Style (class) defined in This Document Only (for internal type).

    In Style Definition for .name, I chose Background and enter the Background Image and for Repeat I chose 'no-repeat'.

    But this doesn't work - it still repeats (tiles) both in the design view and in browser preview.

    How do I make the background image not repeat / tile?

    Thank you!

    [This message has been edited by socalgal (edited 08-02-2001).]

  2. #2
    Senior Member golfcart's Avatar
    Join Date
    Jan 2000
    Location
    Michigan
    Posts
    748
    I have no idea how to do it in dreamweaver, but below is the actual css code for it...maybe you can find whats not working by comparing the two.


    body {
    background-image : url("back.jpg");
    background-repeat : no-repeat
    }


  3. #3
    socalgal
    Guest
    Hi golfcart

    Thanks, yes that's the same code DW gives me, but it's still not working ;/

    I made sure it's located inside the <body> tags but I read in the DW4 Bible that it won't work in any but NS6 browser? Even tho, it still tiles in the design view, too.

    I'm going to try putting it in a table / layer next, but nested tables will be another problem maybe....


  4. #4
    Junior Member
    Join Date
    Apr 2001
    Location
    Idaho
    Posts
    20
    Put it on your head with the style comands...works for me anyway.

    <head>

    <style type="text/css">
    body {
    background-image : url("back.jpg");
    background-repeat : no-repeat
    }
    </style>


    </head>


    But it should be able to go in your .css the way that golfcart said.


    [This message has been edited by Cabinetmaker (edited 08-03-2001).]

  5. #5
    Junior Member
    Join Date
    Apr 2001
    Location
    Idaho
    Posts
    20
    I had to re-read you question. To do this in DW....

    Text, CSS Styles, New Styles--click the radio button beside "Redifine HTML Tag" then in the tag drop down box select "body." Check the radio button next to "this Document Only."

    Click OK and name your .css file.

    Select your background and options... click OK and that should do it.


    [This message has been edited by Cabinetmaker (edited 08-03-2001).]

  6. #6
    socalgal
    Guest
    Cab - You Rock That's it! Now I can prolly tweak it so it expands / contracts in the page.

    Thanks!

    [This message has been edited by socalgal (edited 08-03-2001).]

  7. #7
    Member
    Join Date
    Aug 2001
    Posts
    45
    When you start a page in FP2000 it integrates a code at the top of the page's html. I don't realy know what it does but it might affect some operations if you start using dreamW on the same page.

    It doesn't seem to have become a problem here.

  8. #8
    socalgal
    Guest
    Hi Daemon

    I always use Code & Design view and the FP code is quite noticeable. There were no conflicts at all with the code, at least with the pages I worked on.

    I was very happy about that

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    45
    Every web WYSIWYG program puts its own name in the meta tag.
    _____________________________________________

    Also programs that do things differently (like WEB! and DreamWeaver) are not compatible.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke