|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
CSS and PHP Form Help!
Hi I have tow questions.
CSS Question: I need a CSS code that when the mouse hovers over my text menu, it makes it Bold. PHP Form Question: For the name of form like this. Code:
<form> <input name="send" type="submit" id="send" value="Send!" > And anotheter thing... When people send the form it goes to the same page and says Thanks for the challenge!
__________________
Sorry bums, now I'm back! Now I know C++! I use Microsoft Visual C++! |
#2
|
||
|
no you don't name the form $name.
Here's a quick example PHP Code:
|
#3
|
||
|
To tackle the menu item task, you could make two CSS classes for the different states you would like the item to appear:
Code:
<style type="text/css"> .menu{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; } .menuhl { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #000000; } </style> And then for the menu text you would use the onmouserover and onmouseout attributes to change the css style applied to the link depending on whether the mouse is hovering over the text, like so: Code:
<a href="page.htm" onMouseOver="this.className = 'menuhl'" onMouseOut="this.className = 'menu'" class="menu">Menu Item</a>
__________________
|
#4
|
||
|
Thanks alot guys!
__________________
Sorry bums, now I'm back! Now I know C++! I use Microsoft Visual C++! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
incorporate php file upload with MySQL form? | pauldridge | Tech Support | 1 | 06-16-2010 08:46 AM |
PHP :| Form Checking Problems | JonM | Web design and Programming | 4 | 01-27-2006 12:08 PM |
Help with the form please! | alwaysme | phphq.Net Forums | 1 | 12-10-2005 10:55 AM |
Mail form w/out PHP | KoBrA | Web design and Programming | 6 | 06-01-2005 11:51 AM |
form help | SilentRanger | Web design and Programming | 6 | 09-12-2004 02:13 PM |