- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello All, I hope you can help me:
I’ve created a simple website working with CSS and it seems to work differently between FF and IE,
So i remember i saw once you can control them separately by using before the CSS command * or /
I’m trying to do a simple padding for example:
.padding-R {
padding-right:80px;
}
and i would like it to work only in IE, because in FF it’s working fine.
ohhh, i think i got it, it should be like that in IE7
*.padding-L {
background-color: #000000;
}
and for IE8 should be like that:
*.padding-L {
background-color: #000000 /;
}
Your advice didn’t work,
This example, i checked it and that was my sulotion,
Also, it’s just an example to change the background,
what i find out is that u need to add this- / before closing the css ;
so if it was padding only for IE (and not FF for example) it was like that,
*.padding-L {
padding-left: 30px /;
}
What do you think, did i do something wrong?
Btw, i really like this forum
You answering quickly and if feels like a good community
Add this to your HTML head
I don’t know, i guess nothing is working for me.
Can you please give me an example of simple html file with css include
for making padding (for example padding-left:40px; ) and make it work in
Internet Explorer and also Firefox?