I need help with CSS

Nflphil

Solid State Member
Messages
20
can anyone help with CSS, I don't know how to create the navigation bar or the links whatever you want to call it. I have already created my page but don;t know how to do the links. Help please
 

Eyes0nly

Baseband Member
Messages
53
If your talking about links then you would do that in your html file using <ul> and <li> tags and linkings with the <a> tag, css would just come in to style it, make it inline change the colours etc etc.

Cheers,
Eyes0nly
 

Ash2

Baseband Member
Messages
38
you'd make the actual navigation bar with your html, and style it with the CSS as Eyes0nly suggested. You can add hovers and different colours to the links by just adding style to the tags directly

Code:
<style type="text/css">
a {
 color: #000000;
 text-decoration: none;
 font-weight: normal;
}
a:hover {
 color: #C0C0C0;
 text-decoration: underline;
 font-weight: bold;
}
</style>
put that in the head or you can save it as an external CSS file and point it to your HTML (or php whatever) file by putting this in the head:

Code:
<link rel="stylesheet" type="text/css" href="filename.css">
hope that helped :)
 

un4given1

In Runtime
Messages
159
If it's something simple, like one item on your page then do this...

<whatever tag style="put your css code here">
 
Top