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

#1
[eluser]Unknown[/eluser]
hi
this is my code b4

Code:
<head>
[removed][removed]
<link href="<?=$burl?>css/my1.css" rel="stylesheet" type="text/css" />
</head>

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

Code:
<head>
</head>
<body>

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

#2
[eluser]Maglok[/eluser]
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?

#3
[eluser]markup2go[/eluser]
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.