Welcome to Geeklog, Anonymous Sunday, December 01 2024 @ 04:15 am EST
Geeklog Forums
Are 'Tabs' allowed in theme files?
I know you can't use tabs to indent PHP files. Can they be used in theme files?
www.Scripturetoolkit.com www.inSPIREministries.com
www.Scripturetoolkit.com www.inSPIREministries.com
6
5
Quote
Status: offline
inspiremin
Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
MY BAD!!
I thought tabs would screw up PHP code in some instances. ANYWAY!
I guess I will make life easier on myself and use tabs instead of spacing over.
Thanks for the lesson!
www.Scripturetoolkit.com www.inSPIREministries.com
I thought tabs would screw up PHP code in some instances. ANYWAY!
I guess I will make life easier on myself and use tabs instead of spacing over.
Thanks for the lesson!
www.Scripturetoolkit.com www.inSPIREministries.com
4
5
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The reason tabs are often not used or not recommended is that they are viewed differently or treated differently by various editors and viewers. Some tabs may be 4 spaces and other 8 spaces or more for example.
I personally now convert all tabs to 4 spaces when I'm working on a php or html file.
Geeklog components by PortalParts -- www.portalparts.com
I personally now convert all tabs to 4 spaces when I'm working on a php or html file.
Geeklog components by PortalParts -- www.portalparts.com
4
5
Quote
All times are EST. The time is now 04:15 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content