 | |  | | | Classifieds Suggestions Have an idea to make Classifieds even better? |
July 16th, 2004, 02:59 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
| Use Proper CSS please...
style=\"font-size: 9pt; background: FFFFFF;\" is not needed in select tags etc..
You set these by using
select {
}
In your css sheet.
I have spent hours tracking them down to remove em (wrong style tag used) so a clients dark theme can work. Pleassssssssssssssse stop adding them |
| |
July 16th, 2004, 03:31 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
|
Here are the occurances in the scripts..
----------------------------------------
Find 'style=\"font-size: 9pt; background: FFFFFF;\"' in 'C:\webfiles\photopost_classifieds\adm-move.php' :
C:\webfiles\photopost_classifieds\adm-move.php(67): <select name=\"origcat\" style=\"font-size: 9pt; background: FFFFFF;\"><option
C:\webfiles\photopost_classifieds\adm-move.php(70): <select name=\"catmove\" style=\"font-size: 9pt; background: FFFFFF;\"><option
Found 'style=\"font-size: 9pt; background: FFFFFF;\"' 2 time(s).
----------------------------------------
Find 'style=\"font-size: 9pt; background: FFFFFF;\"' in 'C:\webfiles\photopost_classifieds\showcat.php' :
C:\webfiles\photopost_classifieds\showcat.php(95): $sort = "<select onchange=\"submit();\" name=\"sort\" style=\"font-size: 9pt; background: FFFFFF;\">$sortdefault$sortoptions</select>";
Found 'style=\"font-size: 9pt; background: FFFFFF;\"' 1 time(s).
----------------------------------------
Find 'style=\"font-size: 9pt; background: FFFFFF;\"' in 'C:\webfiles\photopost_classifieds\showproduct.php' :
C:\webfiles\photopost_classifieds\showproduct.php(211): {$Globals['pp_lang']['move']}: <select name=\"catmove\" style=\"font-size: 9pt; background: FFFFFF;\">
Found 'style=\"font-size: 9pt; background: FFFFFF;\"' 1 time(s).
Search complete, found 'style=\"font-size: 9pt; background: FFFFFF;\"' 4 time(s). (3 files.)
Last edited by JCS100; July 16th, 2004 at 03:35 PM.
|
| |
July 16th, 2004, 03:36 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
|
And in the templates
----------------------------------------
Find 'style="font-size: 9pt; background: FFFFFF;"' in 'C:\webfiles\photopost_classifieds\templates\bulkupload.tmpl' :
C:\webfiles\photopost_classifieds\templates\bulkupload.tmpl(54): <select name="cat{$x}" style="font-size: 9pt; background: FFFFFF;">
C:\webfiles\photopost_classifieds\templates\bulkupload.tmpl(64): <input type="text" size="30" name="title{$x}" value="$deftitle" style="font-size: 9pt; background: FFFFFF;">
Found 'style="font-size: 9pt; background: FFFFFF;"' 2 time(s).
----------------------------------------
Find 'style="font-size: 9pt; background: FFFFFF;"' in 'C:\webfiles\photopost_classifieds\templates\cathead.tmpl' :
C:\webfiles\photopost_classifieds\templates\cathead.tmpl(31): <select onchange="submit();" name="perpage" style="font-size: 9pt; background: FFFFFF;">
Found 'style="font-size: 9pt; background: FFFFFF;"' 1 time(s).
Search complete, found 'style="font-size: 9pt; background: FFFFFF;"' 3 time(s). (2 files.)
same goes for pp pro.
|
| |
July 16th, 2004, 03:53 PM
|
#4 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,736
|
Last time I followed your CSS advise, I had to issue a second correction the same day.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 16th, 2004, 04:17 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,658
|
Well true like this
<select name=\"origcat\" style=\"font-size: 9pt; background: FFFFFF;\">
would be
<select name=\"origcat\" class=\"select\">
and then this in the css file
select {
background: 9pt;
font-family: Verdana, Helvetica, sans-serif;
color: #FFFFFF;
}
That would work. I think the apprehension here comes from the last suggestion you made which Michael took on your word without testing resulting in a horredous error on your part and a minor release the next day to revert the templates back as Michael stated.
|
| |
July 16th, 2004, 04:24 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
|
SELECT does not need .select it's global. Works in IE and Moz. Just like Body, table, etc..
|
| |
July 16th, 2004, 04:25 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
|
Oh btw, CSS3 is on it's way  Besides don't beleive me at all, go by w3c.org and see how css should be used  and don't forget XHTML!
Last edited by JCS100; July 16th, 2004 at 04:28 PM.
|
| |
July 16th, 2004, 04:28 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,658
|
Got ya so
<select name=\"origcat\">
|
| |
July 16th, 2004, 04:29 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
|
Yup, works for me.. try it out..
Or if you wish to be safe, use class="formboxes"
Last edited by JCS100; July 16th, 2004 at 04:37 PM.
|
| |
July 16th, 2004, 04:41 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,658
|
LOL true formboxes would work as well
|
| |
July 16th, 2004, 04:53 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Aug 2003
Posts: 100
|
What drives me crazy is getting IE and MOZ to see the same colors. You can set a body color, cell color and image color to the exact same code and see 3 different shades..
AGHHHHHHHHHHHHHHHHHHHHHHH
|
| |
July 16th, 2004, 04:55 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,658
|
IE is EVIL
Mozilla is GOD
|
| |
July 24th, 2004, 05:22 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jun 2002 Location: Northern California
Posts: 383
|
>IE is EVIL
Yep. According to the latest stats, 90-95% of web visitors have already been assimilated. Resistance is futile.
Regards,
Matt
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:04 AM. | |