Menu
Hello, I read elsewhere where some css might not be compatable with all browsers. Is this really true anymore? If so, which css style is preferred and do you recommend internal or external stylesheets? Thank you very much! Rianna.
or you can just take out css properties one by one... :pAnd then how would it look in newer browsers? Surely all the rules used would be required and removing them would leave you with a broken layout.
LG[/QUOTE]
And then how would it look in newer browsers? Surely all the rules used would be required and removing them would leave you with a broken layout.[/QUOTE]
#cantreme{
margin:0 auto;
}
However, that doesn't work in IE 5, so on the parent element apply text-align:center and on the the thing you want to centre apply text-align:left; to prevent the other rule from being inherited (unless you want it to be). IE5 wrongly centres block level elements that way, but it can be used to our advantage at times.Check this list of[url=http://centricle.com/ref/css/filters/]CSS filters[/url] (aka hacks) out. Have a look down the left hand column for @import 'styles.css'. Using that to import styles will prevent older browsers that only have patchy CSS support from trying to interpret the styles. In my opinion it's better for those browsers to have no styles than to try and fail to understand the stylesheet.
View the source of[url=http://www.spacedonate.com/]this page[/url] in IE, it's important that you use IE, not Firefox or Opera. You'll see that I first link to a style sheet (which CSS1 browsers understand), then in that stylesheet I import (using single quotes) 4 other style sheets, which CSS1 browsers don't support.[/QUOTE]
@import 'styles.css';
It's the @import command, so it's just called importing.0.1.9 — BETA 6.16