CodeIgniter Forums

Full Version: HTML Source Code Styling
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]the_one[/eluser]
Hi to everybody,

First i must say that i love Codeigniter. Second, sorry for my bad English.
And third the problem: How can i format the html source code that is generated by the framework, so later on i can easily debug it? I am building a small website, with forms, calendars (i am using the classes) and so on, but when i inspect the html with Firebug, or Inspect Element (Chrome) it's mess, all elements of the form are in one line, tables aren't organized. Is there a way to style it a little bit?

Thank you very much.

El Forum

[eluser]Derek Allard[/eluser]
If your HTML is loaded in a view, CI doesn't touch your source code at all. If you're generating things in a loop, you can add in your own tabs with "\t" and your line breaks with "\n". If you're using the table library that comes with CI, you can modify the template to include tabs, breaks, etc.

El Forum

[eluser]the_one[/eluser]
Thank you very much for the replay. Now i know how to do it the right way Smile

El Forum

[eluser]Unknown[/eluser]
hi everybody, I ran an online business that teaches people quick ways to make money. Can anybody point me to a free online resource that teaches complete HTML code? thanks

El Forum

[eluser]SPeed_FANat1c[/eluser]
[quote author="allysonford" date="1299101541"]hi everybody, I ran an online business that teaches people quick ways to make money. Can anybody point me to a free online resource that teaches complete HTML code? thanks[/quote]

Yeah, I would also like to find a recourse about HTML, can somebody give some links, because its so hard to find, google does not give usefull results..

El Forum

[eluser]gowrav vishwakarma[/eluser]
try http://www.w3schools.com

El Forum

[eluser]SPeed_FANat1c[/eluser]
My post was sarcasm Smile there are tons of information about html. And that poster didn't look serious to me because he gives link to some site and such sites very often are some scams to take peoples money.