nminaker
Technical User
- Jun 17, 2004
- 19
I have a page that loads a main external stylesheet and then below that it has a few internal stylesheet definitions as follows:
But when I use the input and select tags later in the code they're not styled to the internal CSS. Why is this?
The weirdest thing about this (and most frustrating) is that if I have "border: none;" to either/both of the CSS definintions above, the border is removed.
I CAN add these CSS definitions inline and it works, but why should I have to?
Thanks!
Nick
Code:
<head>
<link href="style2.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="functions.js"></script>
<style type="text/css">
select {width: 330px;}
input {width: 75px;}
</style>
</head>
But when I use the input and select tags later in the code they're not styled to the internal CSS. Why is this?
The weirdest thing about this (and most frustrating) is that if I have "border: none;" to either/both of the CSS definintions above, the border is removed.
I CAN add these CSS definitions inline and it works, but why should I have to?
Thanks!
Nick