Two css files problem
-
Hi there.
I’ve been sort of off the grid for a couple of years when it comes to webdesign, but when a friend of mine asked if I could make her a simple CV-page I accepted. I started out with making a simple css&html-layout and after that my plan was to convert it to a wordpress theme, so my friend wouldn’t have to go through code whenever she wanted to update it.The problem I have atm is that the wordpress-theme doesn’t seem to format the page the same way the html-version does. I’m using two seperate css-files, one is in the theme-directory and named “style.css” and the other is located here:
http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.cssThis is the target design (html&css):
http://www.karinhoffner.seAnd this is how the wordpress-page looks like atm:
http://www.karinhoffner.se/blog.phpMy header.php looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title> <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="all" /> <link href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css" rel="stylesheet" type="text/css" media="all" /> <?php wp_head(); ?> </head> <body> <div id="doc2" class="yui-t7"> <div id="inner"> <!-- ******* HEADER ******* --> <div id="hd"> <div class="yui-gc"> <div class="yui-u first"> <h1>Karin Hoffner</h1> <h2>Frilansjournalist</h2> <!-- *** MENY *** --> <ul id="nav"> <li><a href="index.html" class="active">Om mig</a></li> <li><a href="cv.html">CV</a></li> <li><a href="publicerat.html">Publicerat</a></li> <li><a href="kontakt.html">Kontakt</a></li> </ul> </div> </div> </div>
The topic ‘Two css files problem’ is closed to new replies.