![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
Basic HTML trouble, need some help
This is my current website, starting out with HTML (from scratch)
Just wanted to do a basic one take a look: http://cplusplus.netai.net/ I currently have two buttons, Home and Lessons I want so that when the user the Lessons, it goes to a different page (lessons.php) and I want different text but the same header. (I know I just have to copy header and make new text file) but is there a way where I can make and If statement like this: If user clicks Lessons, Then Go to Lessons.php. Also! how can I make it so that the text in the middle on the homepage has a box around it, sort of like a middle background. And finally last question. Take a look at my Hovering button codes, how come they do not work when I go to the real website??
Thanks, would appreciate the help! --------------- Added 25 Nov 2010 at 00:20 --------------- anyone?? --------------- Added 25 Nov 2010 at 11:57 --------------- bump? Anyone?
__________________
No members have liked this post.
Last edited by DanTHEGREAT : 25 Nov 2010 at 11:57. Reason: Auto-Merged DoublePost |
||||
|
#2
|
||||
|
||||
|
I don't know why you'd need an "IF" statement... first HTML is not a scripting language, there are no "IF" statements- that would be JavaScript or PHP.
If you want to bring someone to lesson.php when they click on the lesson image you'd put an <a href="..."> tag around the <img> tag of the lesson... something like: <a href="lesson.php"><img src="lesson.gif" border="0" /></a> This is very most basic of basic HTML- if you don't know this you really need to get a book or something and learn the basics before you start asking questions.
__________________
-Joe Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods" You can PM me if you want but be warned I do not read them often. No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 00:07.


