CSS styling not working when uploaded to server? -
i've created basic page, template had rest of site, pulled of apart make page "not designed". has unordered list short paragraph fixed top , logo float right. works in system preview, when uploaded server loses css styling.
this html:
#title { width:400px; position:fixed; } #icon { position:relative; float:right; } h5 { font-size:25px; color:#ff6682; line-height:1.35em; } a:link { color:#253b84; }
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>/other</title> <link href="assets/scripts/amk_website.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="icon"> <img src="assets/images/icon/icon.gif" width="80" height="106" alt=""/> </div> <div id="title"> <h5> /other collection of personal work in design photography, work inspires me. important stuff, <a href="index.html">click here</a> </h5> </div> <div id="photolist"> <ul> <li><img src="assets/images/other/1.jpg" width="768" height="1024" alt=""/></li> </ul> </div> </body> </html>
help appreciated!
sounds css isn't html link expects be. if you're pointing file in assets/
, make sure folder in same directory html file, , make sure contains specific css file.
Comments
Post a Comment