WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1I need help with my CSS Code Empty I need help with my CSS Code Sun Feb 03, 2013 2:28 am

xlSuperMonkeylx

xlSuperMonkeylx
Registered Member
Registered Member
I need help I cant seem to figure out why the NAV is not centered in the div[img]I need help with my CSS Code Untitl10[/img]

Code:
#sidebar   {
   height:400px;
   float:left;
   width:120px;
   background-color:#00F;
}


#nav   {
   width:120px;
   margin-left:auto;
   margin-right:auto;
}
#nav li {
   list-style: none;
   text-align: center;
   margin:0px;
   background-color:#039;
}
#nav li a   {
   color:#FFF;
   display:block;
   text-decoration:none;
   border-bottom:solid;
   border-bottom-width:1px;
   border-bottom-color:#39F;
   border-right:solid;
   border-right-width:1px;
   border-right-color:#39F;
   padding:.25em;
}
#nav li a:hover {
   color:#000;
   background-color:#FFF;
}
#nav li a:visited {
   color:#000;
   background-color:#FFF;
}

Please help!!! ASAP

2I need help with my CSS Code Empty Re: I need help with my CSS Code Sun Feb 10, 2013 8:39 pm

Sanket

Sanket
Administrator
Administrator
#nav try increasing the width?
Is this live somewhere?

http://www.webartzforum.com

3I need help with my CSS Code Empty Re: I need help with my CSS Code Fri Mar 01, 2013 2:31 pm

webmaster3388


Registered Member
Registered Member
hey try some online help... its wonderful and accurate,..... w3school is a best one... Write and See the results live...

http://www.pinkzebradesigns.com.au

4I need help with my CSS Code Empty Re: I need help with my CSS Code Tue Mar 05, 2013 7:56 am

Nanotechnology

Nanotechnology
Registered Member
Registered Member
Can you post your HTML? I'll get to the bottom of this, I just don't know what tag the #nav is, a <ul>, <nav>?

Some elements inherit styles from their parents also so if you post your HTML and CSS, I'll stick it in a text file and debug it.

Kind regards,

NT.

http://www.tspv-websites.co.uk

5I need help with my CSS Code Empty Re: I need help with my CSS Code Thu Apr 04, 2013 11:00 pm

Petermichael


Registered Member
Registered Member
xlSuperMonkeylx wrote:I need help I cant seem to figure out why the NAV is not centered in the div[img]I need help with my CSS Code Untitl10[/img]

Code:
#sidebar   {
   height:400px;
   float:left;
   width:120px;
   background-color:#00F;
}


#nav   {
   width:120px;
   margin-left:auto;
   margin-right:auto;
}
#nav li {
   list-style: none;
   text-align: center;
   margin:0px;
   background-color:#039;
}
#nav li a   {
   color:#FFF;
   display:block;
   text-decoration:none;
   border-bottom:solid;
   border-bottom-width:1px;
   border-bottom-color:#39F;
   border-right:solid;
   border-right-width:1px;
   border-right-color:#39F;
   padding:.25em;
}
#nav li a:hover {
   color:#000;
   background-color:#FFF;
}
#nav li a:visited {
   color:#000;
   background-color:#FFF;
}

Please help!!! ASAP


hey thanks for the coad it really worked and helped me alot..

6I need help with my CSS Code Empty Re: I need help with my CSS Code Fri Apr 05, 2013 12:54 am

Nanotechnology

Nanotechnology
Registered Member
Registered Member
Still waiting for the HTML....I could have had this done by now. A wild guess is that you haven't taken the default padding off the <ul>. Try doing that, then set the width to 100% and set 'text-align: center;' on your <ul>.

Regards,

Nt.

http://www.tspv-websites.co.uk

7I need help with my CSS Code Empty Re: I need help with my CSS Code Fri Apr 05, 2013 11:27 pm

Petermichael


Registered Member
Registered Member
can you tell me more tricks about css..??

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum