so i like the idea of using <div> elements with the id attribute in them to help design a good look to the layout. this is going to be hard to explain without a code example so look at these first:
CSS:
HTML:Code:#menu { margin-top: xx; margin-left: xx; } #content { margin-top: xx; margin-left: xx; }
now what my question is, where i provide xx for the margins is it bad practice to place a negative number for this value?Code:<div id="menu"> //some sort of menu items here (i.e. navigation) </div> <div id="content"> //content of the site in this area </div>
i just want to check before i start doing it, because i find it to come in handy, but i am still a noob so any responses will be cool. thanks



Reply With Quote


Bookmarks