Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 24 Nov 2010, 20:41
DanTHEGREAT's Avatar
Join Date: Oct 2008
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:

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.

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??

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks, would appreciate the help!

--------------- Added 25 Nov 2010 at 01:20 ---------------


--------------- Added 25 Nov 2010 at 12:57 ---------------

bump? Anyone?
FREE hosting for your vBulletin website

Last edited by DanTHEGREAT; 25 Nov 2010 at 12:57. Reason: Auto-Merged DoublePost
Reply With Quote
Old 26 Nov 2010, 00:47
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Join Date: Jun 2008
Real name: Joe D.
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.
Former Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
Old 28 Nov 2010, 18:57
cincyforums cincyforums is offline
Join Date: Nov 2010
You can use the div tags to create a box around certain text that you want to stand out from the rest of the home page.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 04:43.

Layout Options | Width: Wide Color: