Useful php/html code

c, c++, php, html, sql ..etc discussion. also includes codes and source codes.

Useful php/html code

Postby Sethioz » Tue Sep 09, 2008 12:25 pm

*Image with dimensions:
Code: Select all
<img src="image_path_here" width="600" height="460">

works on all forums/sites that allows php/html code posting.

*Inline Frame (iframe) - allows you to embed html page inside another html page. very useful when designing pages.
Code: Select all
<iframe height="300" width="300" frameborder="0" src="source_here" style=
"width= 90%; margin= 0; padding= 0; border= 0; overflow= hidden;" scrolling="yes" border="0" allowtransparency="true"></iframe>

there's several options which you can change, but this is the way i like it.

*php redirection - do not mistake it with the simple refresh.
Code: Select all

if you not totally retarded, then you should see where you have to put your URL.

*onclick link for mouse hover areas - check my forum's index page. this is about the highlighted row part on mouse hover, when you click then it takes you into the topic, you can place any link into the code.
Code: Select all

note that theres double " ' ' ". first " then 'YOUR URL' and then closing " < pay attention what you doing.
User avatar
Posts: 4763
Joined: Fri Jul 27, 2007 5:11 pm
Location: unknown

Return to Programming / Coding / Debugging

Who is online

Users browsing this forum: No registered users