|
| View previous topic :: View next topic |
| Author |
Message |
meobius Tweakafile

Joined: 02 Sep 2003 Posts: 821 Location: Montreal
|
Posted: Tue Apr 11, 2006 9:23 pm Post subject: CSS anyone? set font property of an <LI> tag |
|
|
i've got the following bit of code
div#navbar li {
background-color:#FFFFFF;
color:#6384B0;
}
div#navbar a {
display:block;
padding:0 6px;
text-decoration:none;
color:#FFFFFF;
}
div#navbar a:hover {
background-color:#FFFFFF;
color:#6384B0;
}
The problem is all the text formating that i put in the LI style is completely ignored, e from what i know of css, the children inherit the value of the parent, so by setting the values for li, since a is decended from the li tag, it should inherit the properties.Even if i remove the div#navbar a {} style, the text styling is completely ignored (in regards to a link, it goes back to it's browser default)
a sample of html
<div id="navbar"><ul><li><a href"#"> some random link</a></li></ul>
it's actually is a fair bit more complex, but this defines the basics.
so... is it just me or does text formating(or link formating) do nothing? _________________ If time is of the essence,
than why is it that we waste,
that which holds such great importance,
spent without a trace. |
|
| Back to top |
|
 |
Google Sponsor
|
Posted: Tue Apr 11, 2006 9:23 pm Post subject: Advertisement |
|
|
|
|
| Back to top |
|
 |
fussnfeathers Lord of the Tweak

Joined: 14 Dec 2004 Posts: 2763
|
Posted: Wed Apr 12, 2006 4:06 pm Post subject: |
|
|
...............I like puppies............
What exactly are you attempting to do? There are limits to what most browsers will handle, as far as formatting. _________________ Big enough to scare you |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|