PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 181
Location: McLean, VA

PostPosted: Mon Jan 29, 2007 4:42 am Reply with quote Back to top

I know this is a cosmetic change, but I think it's worth doing, it gives a site more professional look. I removed those all over my site...
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15310
Location: Kansas

PostPosted: Mon Jan 29, 2007 10:19 am Reply with quote Back to top

We could do that too, but we have chosen to remain unprofessional looking. Hmmm. Maybe that's why we only get 1,000,000+ hits per month and only have 15,000+ members. Darn! I wish I had thought of that! killing me

Seriously, those "white squares" as you call them are known as rubber bands and for many people it is a needed/quick visual identifier/locater of where they are (or have been) on a busy page. There are several methods that can be used to accomplish this. Here are some examples, if one is interested Smile

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>
         Examples
      </title>
<style type="text/css">
/*<![CDATA[*/
       .bold {font-weight:bold;}
       .underline {text-decoration: underline;}
/*]]>*/
</style>
   </head>
   <body>
      <h1>
         Examples
      </h1>

      <form action="" method="post">
         <input type="button" value="Click Me" name="button1" id="button1" onclick="alert('Button 1 was selected');" /> <label for="button1">Using &lt;input type="button"&gt; - <span class="bold">Button 1 will leave the outline after being clicked</span></label><br />
         <br />
         <input type="button" value="Click Me" name="button2" id="button2" onclick="alert('Button 2 was selected'); this.blur();" /> <label for="button2">Using &lt;input type="button"&gt; and the onClick="this.blur();" event - <span class="bold">Button 2 will <span class="underline">NOT</span> leave the outline after being clicked</span></label><br />

         <br />
         <button onclick="alert('Button 3 was selected');">Click Me</button> <label for="button3">Using &lt;button&gt;&lt;/button&gt; - <span class="bold">Button 3 will <span class="underline">NOT</span> leave the outline after being clicked</span></label><br />

         <br />
         <button onclick="alert('Button 4 was selected'); this.blur();">Click Me</button> <label for="button4">Using &lt;button&gt;&lt;/button&gt; and the onClick="this.blur();" event - <span class="bold">Button 4 will <span class="underline">NOT</span> leave the outline after being clicked</span></label>
      </form>

   </body>
</html>
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 181
Location: McLean, VA

PostPosted: Mon Jan 29, 2007 3:00 pm Reply with quote Back to top

Raven,

Either I did not understand you, or I don't see this behavior on the new site.

Anyway, just wanted to be of some help to your great team.

Thanks.
View user's profile Send private message Visit poster's website
manunkind
Client


Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM

PostPosted: Tue Jan 30, 2007 7:10 am Reply with quote Back to top

Raven,

I believe Misha is talking about the white background of the radio buttons:

Image

I fixed his old site here:
Only registered users can see links on this board!
Get registered or login to the forums!


..which was apparently a red theme. Laughing
View user's profile Send private message Visit poster's website
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 181
Location: McLean, VA

PostPosted: Tue Jan 30, 2007 12:30 pm Reply with quote Back to top

I thought I made myself clear Rolling Eyes

Thanks for clarifying this, manunkind Smile I actually used a slightly different approach, based on your suggestion. I created classes in css with corresponding background.

And what do you mean "red theme"? I always used fisubice on this site.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 15310
Location: Kansas

PostPosted: Tue Jan 30, 2007 1:15 pm Reply with quote Back to top

M. & M. killing me

You are correct. I did not understand. But at least I provided some good coding examples for the other issue ROTFL
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
manunkind
Client


Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM

PostPosted: Tue Jan 30, 2007 9:24 pm Reply with quote Back to top

Misha wrote:
And what do you mean "red theme"? I always used fisubice on this site.


I dunno. My sample in the other thread said red. I must have just threw that in there as a sample. Laughing
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum