Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dreamweaver margin colors

    I'm sure this is an easy fix, but how can you specify a different color for your margins than the color for your background in dreamweaver? Thanks

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,859
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Check http://www.w3schools.com/css/css_border.asp

    PS: Never use DW's design view to judge the layout and look and feel of your document as it's not a browser. Instead, preview your page in a standard browsers like FF.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Jul 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah I found that out really quick when I previewed in Firefox. But where can you specify that you want your margins to be different a different color?

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,680
    Thanks
    6
    Thanked 1,009 Times in 982 Posts
    Quote Originally Posted by stanleyd25 View Post
    Yeah I found that out really quick when I previewed in Firefox. But where can you specify that you want your margins to be different a different color?
    Margins can’t have a color because they are – well – margins, i. e. they are empty space outside of an element, i. e. they belong to an element but aren’t part of it, so to speak. Got me?

    You can simulate a “colored margin” by applying a border to the element, as abduraooft correctly suggested (but it’s not completely the same).


  •  

    Posting Permissions

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