Jump to content
Larry Ullman's Book Forums

moh51n

Members
  • Posts

    2
  • Joined

  • Last visited

moh51n's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. thats strange half my post went missing.... the problem is the stylesheet only works if i link it to the header template using the href="E:\XAMPP/htdocs/s2/styles/style.css" it doesnt load if i link it as href="../style/style.css" the header is in a folder called includes
  2. hi larry, im currently working through your book and have a problem with linking the css. im using a localhost environmnt, XAMPP my webroot is E:\XAMPP\htdocs my directory for the coffee site is E:\XAMPP\htdocs\s2 my config.php is: define('BASE_URI', 'includes/'); define('BASE_URL', 'localhost/s2/'); define('MYSQL', BASE_URI . 'mysql.inc.php'); the stylesheet works fine when i link it using <p><link rel="stylesheet" type="text/css" href="
×
×
  • Create New...