...

View Full Version : Dreamweaver margin colors



stanleyd25
08-05-2009, 10:02 PM
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

abduraooft
08-06-2009, 06:43 AM
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.

stanleyd25
08-06-2009, 03:25 PM
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?

VIPStephan
08-06-2009, 05:27 PM
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).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum