This is a discussion on "Need Help With Css!!" within the Web Page Design section. This forum, and the thread "Need Help With Css!! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Need Help With Css!!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Need Help With Css!!
Ok well, I have a navbar on my site, which works with my CSS file.
The site is here The top part of the navbar from MAIN to the end of the CLAN LIST! I have each link set in a small box surrounding it! However for everything under that i.e LATEST NEWS & ADVERTISMENTS! They dont have these boxes!! However for some reason the links seem to set themselves on a separate line to the rest of the text, as you can see in the latest news bit!!! WHAT PART SHOULD I DELETE TO PREVENT IT FROM MAKING THE LINK GO ON A SEPARATE LINE! JUST TELL ME A LINE OF CODE WHICH WOULD DO THIS, AND I CAN CHANGE IT PLEASE!!! |
|
#2
|
|||
|
|||
|
Re: Need Help With Css!!
in css one of the first things you need to be aware of while building the page is the "display" type. is it block or inline by default? block level elements add a break at the beginning and end of the element. check that out and see if you can sort it out.
|
|
#3
|
|||
|
|||
|
Re: Need Help With Css!!
Start by validating your code through the W3C validator and fixing the 47 errors on that one page. Just a quick glance at the code for the lower part of your navigation shows anumber of reasons why it will different from above. |
![]() |
| Tags |
| help, css |
| Thread Tools | |
|
|