 |
|
01-08-2002, 12:54 AM
|
|
#1
|
 |
|
1.21 Gigawatts
Join Date: Nov 1999
Location: Hill Valley
Posts: 4,856
|
HTML Faq
Q. How do I add alt text to my image?
A. <img src="htmlforums.gif" ALT=HTMLforums>
|
|
Add to del.icio.us
Can you digg it?
|
|
|
02-17-2002, 05:07 PM
|
|
#2
|
 |
|
Super Guru (Moderator)
Join Date: Jul 2001
Location: Sydney, Australia
Posts: 1,912
|
Embedding another page
You can insert another HTML page inside your page by doing:
Code:
<iframe frameborder="no"
src="http://www.somesite.com/commonfile.html"
name="commonFrame" scrolling="no" width="100%" marginwidth="0" marginheight="0">
<ilayer src="http://www.somesite.com/commonfile.html">
</ilayer>
</iframe>
This will work for all major browsers version 4 and above.
__________________
Jon Hanlon
|
|
Add to del.icio.us
Can you digg it?
|
|
|
02-18-2002, 03:40 PM
|
|
#3
|
 |
|
Super Deity (Level 18)
Join Date: Jan 2001
Posts: 3,762
|
HTML FAQ
Q: How Do I insert another page inside a page?
A: iFrames.
EG: <IFRAME src = "iframe-insert.html"
width = "400"
height = "100"
scrolling = "auto"
frameborder = "1" >
Your user agent does not support inline
frames or is currently configured not to
display frames.
However, you may visit
<A href="iframe-insert.html">
the related document.</A>
</IFRAME>
» The iframe-insert.html is the outside page that you want to insert in the current page.
» iFrames CANNOT be viewed in Netscape4, but only in IE browsers and Netscape6 and above.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
02-24-2002, 11:49 PM
|
|
#4
|
 |
|
Super Virtual Guru
Join Date: Jan 2001
Location: Colorado, USA
Posts: 5,573
|
HTML FAQ:
Q. Do I have to put HTML attributes in quotes?
A. Only if they have spaces or special characters.
Examples of good code:
<table height=500 width=75% border=5>
<tr bgcolor=#cfcfcf>
<tr align=center>
<form name=form1 action="submitAction.cfm" method=post>
<input type=text name=titles value=history>
<input type="text" name="titles" value="history">
<input type=text name="titles of classes" value=history>
Examples of bad code:
<input type=text name=titles of classes value=history>
<input type=text name=titles value=history()of*cars/#>
If your dynamically creating pages with server side code, and your setting attributes/ values-place them in quotes just in case.
Examples of good coldfusion server side code:
<input type=text name="#query.name#" value="#query.value#">
the rendered code might look like:
<input type=text name="Types Of Beer" value="O'dells 90 Schilling">
__________________
If you know the enemy and know yourself, you need not fear the result of a hundred battles.
If you know yourself but not the enemy, for every victory gained you will also suffer a defeat.
If you know neither the enemy nor yourself, you will succumb in every battle.
-Sun Tzu
|
|
Add to del.icio.us
Can you digg it?
|
|
|
03-06-2002, 04:58 PM
|
|
#5
|
 |
|
Super Deity (Level 18)
Join Date: Mar 2001
Location: Three Bears Cottage
Posts: 3,578
|
Favicons
Q. When I bookmark a page, how do I get the icon to appear next to the link in my favourites list?
A. This is known as a Favicon. Go to www.favicon.com for more details.
__________________
|
|
Add to del.icio.us
Can you digg it?
|
|
|
03-22-2002, 05:52 PM
|
|
#6
|
 |
|
Mister Admin to you
Join Date: Jul 2001
Posts: 32,699
|
HTML FAQ:
Q. how do I make my page go to the edge of the browser
A. By setting the margins to 0 in the body.
<BODY topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">
or
<BODY style="margin: 0px,0px,0px,0px">
|
|
Add to del.icio.us
Can you digg it?
|
|
|
03-22-2002, 05:55 PM
|
|
#7
|
 |
|
Mister Admin to you
Join Date: Jul 2001
Posts: 32,699
|
HTML FAQ:
Q. How do I make a table cell scroll.
A. By putting a scollable div tag in it.
<td>
<div style="width: 50; height:20; overflow-y: scroll">
Four score and seven years ago our forefathers...
</div>
</td>
will not work in Netscape4.x
thanks Jon. 
|
|
Add to del.icio.us
Can you digg it?
|
|
|
11-11-2002, 01:31 PM
|
|
#8
|
 |
|
Mister Admin to you
Join Date: Jul 2001
Posts: 32,699
|
Q. When i submit a form i do not want the message box 'form submission' dislayed or the 'email program' message box displayed. How do i get rid of these so the form is sent with no interruptions? or is there a way to make it send to my email without opening outlook.
A. If you use mailto: in the form action it will open the users default email program and give you that message, no if's and's or but's.
if you want to show a thank you page and don't want to load the users default email, then you have to use serverside language like cgi, php, or asp.
|
|
Add to del.icio.us
Can you digg it?
|
|
|
09-04-2005, 02:28 AM
|
|
#9
|
 |
|
Mama Hen
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 26,216
|
Html Faq
Q: How do I get rid of the gaps on my page, especially when I'm using tables?
A: Make sure that your cell information is all on one line.
<td>Information</td>
Not this:
<td>
Information
</td>
|
|
Add to del.icio.us
Can you digg it?
|
|
|
09-04-2005, 02:30 AM
|
|
#10
|
 |
|
Mama Hen
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 26,216
|
Html Faq
Q: How do I get rid of the blue border around images that I've made into links?
A: Properly, you should use CSS, but in a pinch, you can write your image as:
<img src="mypic.jpg" alt="My Picture Description" width="#" height="#" border="0">
|
|
Add to del.icio.us
Can you digg it?
|
|
 |
|
KEEP TABS |
|
SPONSORS |
| |

|
| |
|
|
| |
|