Welcome Guest, Not a member yet? Register   Sign In
Problem with CSS..Please help
#1

[eluser]manojchakri[/eluser]
Hi all,
I am a new comer and I want to display a report in table form.My view file is below
Code:
<html>
<head>
<link type="text/css" rel="stylesheet" href="mystyle.css" />
</head>
<body>
<form method="post" action="report/gettbl">
<div class="tableform">
&lt;?php echo $resultset;?&gt;
</div>
&lt;input type="submit" value="Edit" /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/body&gt;
&lt;/html&gt;

My css file is
Code:
.tableform
{
    position:absolute;
    top: 100px;
    left: 150px;
    width: 500px;
}
td
{
    background: green;
}
This css file is not detected and not applied on the table.My view and css file both are in Views folder.I dont know where to configure to get it right.Please help
#2

[eluser]tonanbarbarian[/eluser]
change the href of the stylesheet to be a correct url, not a file path
#3

[eluser]manojchakri[/eluser]
yep changed.no use
#4

[eluser]Thorpe Obazee[/eluser]
manojchakri, Please don't modify the first post as the second poster would look stupid(like right now). You can put in EDIT or something to indicate it...
#5

[eluser]manojchakri[/eluser]
Ok sorry for the mistake.
I figured out the way to get my css working.
I kept css folder in C:\xampp\htdocs\CodeIgniter_1.7.1\
Now it is working fine.
Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB