• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
link tag is coming into the body section

this is my code b4

<link href="<?=$burl?>css/my1.css" rel="stylesheet" type="text/css" />

and when the page loads
the above code goes into the body tag.
i m using firebug here how it showed me


<link type="text/css" rel="stylesheet" href="/fyp_soc/css/my1.css">

You use an out-of-the-box CI for this? And this is in your view I assume. It should not 'rewrite' your code for you, since it is basically html with some php tags sprinkled in. Mabye there is some kind of template stuff going on?

My guess is your html isn't valid... run it through the W3 validator and fix any errors first, then repost with your result.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.