Welcome Guest, Not a member yet? Register   Sign In
Proposal for Reactor to have a CSS file
#1

[eluser]John_Betong_002[/eluser]
Problem:
Embedded style information is frowned upon and does not make it easy to make changes.

Currently CodeIgniter uses "style=" in the following core files:
captcha_helper.php
text_helper.php
htnl_smiley_helper.php
unit_test.php
jquery.php
welcome.php - has embedded "<style type='text/css'...


Proposal:
1. introduce an "./application/config/stylesheet.css"
2. instructions on usage
3. recommended alternative path for the stylesheet file
4. .htaccess instructions to prevent errors on stylesheet.css file does not exist.
5. Userguide is updated to reflect changes.

Advantages.
1. easy to make style changes.
2. code should be faster
3. HTML and CSS validation easier


Implementation:
1. introduce "./application/config/stylesheet.css"
2. remove relevant "style=" script and replace with "class="..."
3. update Userguide

Note to admin:
I was unable to login with my original "John_Betong" username, tried unsuccessfully several times to get a new password and eventually had to register this new account.
 
 
 
#2

[eluser]ramm[/eluser]
+1
#3

[eluser]Dennis Rasmussen[/eluser]
http://codeigniter.uservoice.com/forums/...er-reactor
#4

[eluser]Dennis Rasmussen[/eluser]
This is now at UserVoice: http://codeigniter.uservoice.com/forums/...stylesheet

If you like this, vote there and/or add a suggestion.




Theme © iAndrew 2016 - Forum software by © MyBB