[WSG] making a menu bar hug the right
Sorry for the flurry of questions but I've traditionally done my sites with tables and am doing my first completely css site now http://terrorfreeamerica.us/ Just setting up the menu on the left and I'm wondering how to get my menu buttons to hug the left hand side of menu div. Currently its hugging the right. I thought setting the width to 98% would keep it virtually the same size of the entire div. -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] making a menu bar hug the right
On Feb 5, 2008, at 8:51 PM, Michael Horowitz wrote: Sorry for the flurry of questions but I've traditionally done my sites with tables and am doing my first completely css site now http://terrorfreeamerica.us/ Just setting up the menu on the left and I'm wondering how to get my menu buttons to hug the left hand side of menu div. Currently its hugging the right. I thought setting the width to 98% would keep it virtually the same size of the entire div. did you try: #menu {text-align:left;} ? --ron -- Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] making a menu bar hug the right
Michael Horowitz wrote: http://terrorfreeamerica.us/ Just setting up the menu on the left and I'm wondering how to get my menu buttons to hug the left hand side of menu div. ul { margin: 0; -- :: add :: padding: 0; - :: add :: list-style: none; } Best, ~dL -- http://chelseacreekstudio.com/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] making a menu bar hug the right
Good Evening Michael; To your ul rule add no padding and no margin, ie ul { list-style: none; padding: 0 auto; margin: 0 auto; } That should help it out. HTH Regards ~Veine snip On 5 Feb 2008 at 20:51, Michael Horowitz wrote: Sorry for the flurry of questions but I've traditionally done my sites with tables and am doing my first completely css site now http://terrorfreeamerica.us/ Just setting up the menu on the left and I'm wondering how to get my menu buttons to hug the left hand side of menu div. Currently its hugging the right. I thought setting the width to 98% would keep it virtually the same size of the entire div. /snip This communication contains information from Vikberg.Net that may be confidential. Except for personal use by the intended recipient, or as expressly authorized by the sender, any person who receives this information is prohibited from disclosing, copying, distributing, and/or using it. If you have received this communication in error, please immediately delete it and all copies, and promptly notify the sender. Nothing in this communication is intended to operate as an electronic signature under applicable law. © 2008 Vikberg.Net. All rights reserved. *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***