This is a discussion on Customization - Inputfields?? totally php style newbie! within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; ok, so I found the html_output.php file with a little help.. I still don't get how to transform this: PHP ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| ok, so I found the html_output.php file with a little help.. I still don't get how to transform this: PHP Code: PHP Code: ..and so on, into this: HTML Code: <input class="login_form" onFocus="this.className='login_formON'" onBlur="this.className='login_form'" type="text" name="email_address" size="22"> HTML Code: .login_form
{
border-top: 2px solid rgb(177, 145, 79);
border-left: 2px solid rgb(177, 145, 79);
border-right: 1px solid rgb(177, 145, 79);
border-bottom: 1px solid rgb(177, 145, 79);
background-color: rgb(255, 255, 218);
font-family: Verdana;
font-size: 12px;
color: rgb(244, 151, 66);
padding-left: 2px;
height: 15px;
}
.login_formON
{
border-top: 2px solid rgb(177, 145, 79);
border-left: 2px solid rgb(177, 145, 79);
border-right: 1px solid rgb(177, 145, 79);
border-bottom: 1px solid rgb(177, 145, 79);
background-color: rgb(255, 255, 255);
font-family: Verdana;
font-size: 12px;
color: rgb(244, 151, 66);
padding-left: 2px;
height: 15px;
}
The templatesytem for this shop surely ain't no vBulletin.. it's just all a messy web in comparasing..... |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Are you trying to do inline CSS? Why not put this into your template's stylesheet.css file? Other than that - can't understand what your doing as the code/file names must be all mixed up. There is no <?php include('loginbox.php'); ?> code in main_page.tpl.php... I think you want to copy login.tpl.php to your template directory then add your class="login_form" to the HTML where needed, then add your CSS to the stylesheet.css file. Good luck |
|
#3
| |||
| |||
| Quote:
Inline css? There is no [CSS]CSS-tag[/CSS] so I just used the HTML tag to show the css I use... The styling of the inputs are no longer an issue, but stripping the loginbox though, IS. I can't get just the E-mail: [inputfield] Password: [inputfield] [loginbutton] Forgotten-password-link & Register-link ..in one line! Nothing more, nothing less. Please view this thread to see more thuraly what I mean. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you totally empty the mysql catalog without deleting | mymikl | osCMax v2 Features Discussion | 3 | 09-05-2006 10:25 AM |
| I am totally lost | jallard | osCMax v1.7 Installation | 2 | 01-20-2005 03:15 PM |
| Customization | lem | osCMax v1.7 Discussion | 0 | 11-08-2004 03:28 PM |
| Looking for someone to do OSCMax Customization | Anonymous | osCMax v1.7 General Mods Discussion | 4 | 02-27-2004 06:25 AM |
| Customization help please! | Fatbrain | osCommerce 2.2 Modification Help | 2 | 12-09-2002 02:12 PM |