CSS help
- Started
- Last post
- 14 Responses
- Gooners
Internet Explorer doesn't seem to be reading any of my css. Can anyone help?
- airey0
why the underscore in the url (_source)?
- version30
why this?
@charset "UTF-8";
/* CSS Document */
- Gooners0
actually having issues in 7 and 8 as well. Is an underscore bad?
- airey0
can someoen explain why you'd use the term 'div' in front of a #divname? (so it's div#divname)
- Gooners0
yeah i haven't coded in a while and unfortunately the site isn't much to look at in the first place
- airey0
so:
1. maybe axe the underscore in the url - it make no sense. to me anyways.
2. try getting rid the of the 'div' term. if it's got a hash symbol (#) then it's automatically a div. if it's got a '.' it's a selector.
try that and see if it makes a diff?
also, look into the IE bugs that are the usual suspects - the main one i'm thinking is the div margin error:
http://www.positioniseverything.…
http://www.positioniseverything.…
- version30
I blame DW
- acescence0
"font" won't accept just the font family, you have to use "font-family" for that. however, something like "font: 1em arial" is valid.
- acescence0
body {
line-height : 1.5;
}maybe you meant 1.5em ?
- I like to use unitless line heights... make it much easier as they are relative to the text size - http://meyerweb.com/…JamesBoynton
- dont need a value on line hieght but it hlpsStugoo
- neverblink0
airey:
2. try getting rid the of the 'div' term. if it's got a hash symbol (#) then it's automatically a div. if it's got a '.' it's a selector.
----------------like acescence said; div#divname is completly valid, but not logical as the hash stands for an id (not automaticly a div), and each id should be unique in the document.
- neverblink0
btw. @Gooners;
your problem is the declaration of your css file..<link rel="stylesheet" type="text/css "href="_source/css/global.css" />
you have a space after the text/css and the quote-mark is infront of the href declaration.. which causes IE to not read the href
- Stugoo0
that looks like the issue from neverblink.
fyi the _source is for file formating and folder structure...
used to use _includes then ref css, js, ssi's etc in there.
- cannonball0
and carry the 5