html - Why is my Google Drive CSS not showing up in Safari? -
i used @import at-rule, , it's located in <head> of html:
<style> @import url('https://googledrive.com/host/0b4nfvqltfntzam45bnfntxuyoeu'); </style> this shows in firefox not latest version of safari. can explain why? because file in google drive?
if it's actual css that's problem, don't mind because it's test see if @import works, method importing style sheets browsers?
while should functioning method of linking styles website, it's not best practice. tells browser providing internal style sheet, tells import external style sheet nest within element. wouldn't surprised if yield inconsistent results across different browsers. try skipping tags , including instead:
<link rel="stylesheet" href="https://googledrive.com/host/0b4nfvqltfntzam45bnfntxuyoeu/yourfilename.css"> now, should consider implementing method either way, notice changed file path. replace "yourfilename.css" style sheet's file name. if directory linked contains 1 style sheet, must explicitly define file in order browser find it.
Comments
Post a Comment