OG
CSS - IE issues:(
The following CSS (specifically the TEXT declarations) works perfectly in Firefox, but when it comes to IE - the arguments are not applied to the text. Any ideas?
Code:
<style type="text/css">
body
{
font-family: verdana, arial;
color: #FFFFFF;
background-color: #585D73;
font-size: 12px;
}
#stage
{
width: 780px;
margin: 0px auto;
}
#footer
{
text-align: center;
font-size: 10px;
}
#index_login
{
text-align: left;
font-size: 8px;
}
#searchform
{
display: ;
}
n
{
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
ans
{
font-weight: bold;
}
ll3
{
color: #B3B3B3;
}
a
{
font-weight: bold;
color: #949CD9;
text-decoration: none;
}
a:hover
{
background-colour: #2F313C;
}
</style>
Any ideas? Thanks.
Hey Irfaan,
Try putting the body tag after the style tag.
You have...
<style type="text/css">
body
.
.
.
.
.
</style>
MAKE IT:
<style type="text/css">
.
.
.
.
.
.
</style>
<body>
rest of html
Give that a shot.
One more thing,
For your own defined "tags" (not sure if that's the correct word for it here),
you didn't put the # to indicate that's a new id, or the . to indicate the class.
I.E.
n {
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
MAKE IT:
#n {
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
or
.n {
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
Depending if you want to define an id or class. Hope that made sense to you.
OG
Originally posted by VODKA MONKEY
One more thing,
For your own defined "tags" (not sure if that's the correct word for it here),
you didn't put the # to indicate that's a new id, or the . to indicate the class.
I.E.
n {
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
MAKE IT:
#n {
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
or
.n {
color: #9BCBCF;
font-size: 14px;
font-weight: normal;
}
Depending if you want to define an id or class. Hope that made sense to you.
ahhh yes yes i see what you mean. I solved the problem earlier by using my own defined tags under <span> tags so IE would parse it correctly. Ill try your method in the near future. Thanks for your help
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width