hwg-basics archives | Aug 1999 | new search | results | previous | next |
Re: working w/backgroundsby "Cindy Stanley" <stanleysupport(at)prodigy.net> |
|
From: sugarcrisp53(at)webtv.net <sugarcrisp53(at)webtv.net> :When working with bordered backgrounds, what is the correct code? I know :it's tables but I forgot how to do it. You could make a table w/ 2 table data cells and specify the width of the first td to correspond w/ the width of your border itself. Then specify the width of the second td to your preference. Keep in mind different resolutions users may be viewing in. Sometimes, it can be beneficial to specify your widths in percentages, rather than in fixed pixels. Here is an example using percentages: <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD width="15%" valign="top">any text you want to run down the left side, or possible links, graphics, etc go here. Or a nbsp or a spacer gif here.</TD> <TD width="85%" valign="top">your main page content will go here</TD> </TR> </TABLE> :Also, what's the code for top and right borders. :Pam Neither of these will validate, but you would use a set for IE and a different set for NN, and place these in your body tag: topmargin="0" marginheight="0" leftmargin="0" marginwidth="0" -- Cindy K. Stanley
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA