Welcome Guest, Not a member yet? Register   Sign In
A simple CI tutorial question
#4

(09-15-2015, 11:44 PM)RobertSF Wrote:
(09-15-2015, 07:46 PM)folospace Wrote:
Code:
<div class="main">
   <?php echo $news_item['text']; ?>
</div>
Where does the 'class="main"' come from? Where can I edit it?

Hi, and welcome to everything, Codeigniter, HTML, PHP, CSS, and the forum! Smile

Anyway, I think that class is an oversight in the tutorial because it's not actually defined anywhere. I'll explain briefly what it is, but it actually has nothing to do with Codeigniter. It tripped you up because you're learning everything at once.



Thanks a lot ! You make my mind clear, Now I get what it is ! Good luck with you !
Reply


Messages In This Thread
A simple CI tutorial question - by folospace - 09-15-2015, 07:46 PM
RE: A simple CI tutorial question - by RobertSF - 09-15-2015, 11:44 PM
RE: A simple CI tutorial question - by folospace - 09-16-2015, 02:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB