Moderators: SecretSquirrel, just brew it!
<html>
<head>
<link href="test.css" rel="stylesheet" type="text/css" />
<style type="text/css">
a { color: Red;}
</style>
</head>
<body>
<a href="test.html" style="color: Green;">Link</a>
</body>
</html>
test.css:
a { color: Blue;}
khands wrote:Depends, are they both in an outside stylesheet? Outside style sheets are rendered with the least authority, then Inside, then Inline.
<html>
<head>
<style type="text/css">
a { color: Red;}
</style>
<link href="test.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a href="test.html">Link</a>
</body>
</html>
emorgoch wrote:I just verified with both IE8 and firefox 3.0.10. Inside stylesheet do not take precedence over outside stylesheets. The order in which they're declared determines the precedence.
khands wrote:emorgoch wrote:I just verified with both IE8 and firefox 3.0.10. Inside stylesheet do not take precedence over outside stylesheets. The order in which they're declared determines the precedence.
Well that's awfully broken, and not what I learned either, they must've changed the standard since 04.
6.4.1 Cascade Order wrote:4. Finally, sort by order specified: if two declarations have the same weight, origin and specificity, the latter specified wins. Declarations in imported style sheets are considered to be before any declarations in the style sheet itself.
<div style="width:500px; float:left; position:relative: top:-50px; width:350px">
BLAH BLAH BLAH
</div>
.imgHolder{
width:100%;
margin:0px auto;
text-align:center;
}
.imgholder img{
padding:0px 10px 0px 10px;
}
flip-mode wrote:SB, is there a way to get the images to adjust to changes in window size - spread farther as window gets wider type of thing?
Flying Fox wrote:Can we have some of what he was smoking? X48? 2x16 SLI? Want some more e-penis with that? How about just get the Nvidia triple SLI board with a water block on the 3xGPUs+chipset+CPU?
Flying Fox wrote:Can we have some of what he was smoking? X48? 2x16 SLI? Want some more e-penis with that? How about just get the Nvidia triple SLI board with a water block on the 3xGPUs+chipset+CPU?
flip-mode wrote:Well, I ended up getting it to work right while I was preparing the page for you to look atYou helped without even doing anything sweicki.
Flying Fox wrote:Can we have some of what he was smoking? X48? 2x16 SLI? Want some more e-penis with that? How about just get the Nvidia triple SLI board with a water block on the 3xGPUs+chipset+CPU?
Users browsing this forum: No registered users and 1 guest