开发者

CSS attributes is not working proper to my ASP page

开发者 https://www.devze.com 2023-02-01 06:02 出处:网络
I\'m new to ASP so please bear with me. I have 5 ASP pages, I have attached a stylesheet to all of them, but 2 page is working fine and remaining 3 is not, its showing css problem css attribute is not

I'm new to ASP so please bear with me. I have 5 ASP pages, I have attached a stylesheet to all of them, but 2 page is working fine and remaining 3 is not, its showing css problem css attribute is not working I think its doctype problem but i have change that one also but still error remains its not taking class attribute. Please guide me how to resolve this problem.

doctype which i used is below. Is it proper or not?

<!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">


You have to copy the part <html> to </head> from the page which runs css properly and change this part with <html> to </head> part in the page where css not running properly.


hi whether u are writing an 1.external style sheet or 2.internal style sheet.

  if u r calling external style sheet be sure with the path..or 

  if it is internal style sheet,PLACE the style tag in the header and try..or please show the doc which is not working..
0

精彩评论

暂无评论...
验证码 换一张
取 消