customizable integrated frame

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: egami, macek, gesf

Post Reply
User avatar
admin
Site Admin
Site Admin
Posts: 122
Joined: Wed Apr 17, 2002 7:49 am
Location: Rome

Wed Dec 11, 2002 2:24 am

Try this interesting html lines which take advantage of only 1 line of css code . Try it ! (I found it really useful)
Works with netscape and explorer and it can be integrated inside a table .
It should be really easy to customize .


Code: Select all

<html>
<head>
</head>
<body>

<! -- start -->
<STYLE>
<!--
#TxRRN{overflow:auto;width:100%;height:248px;}
-->
</STYLE>
<! -- news style -->

<! -- news -->
<div id="box" style="width:90%;height:250;background:#FFFFF4;border:1px solid #C0C0C0;">
<table cellpadding=0 cellspacing=0 border=0 width="100%" height="100%">
         <tr><td valign="bottom">
            <div id="TxRRN">
               <table cellpadding="0" cellspacing="0" border="0">
                      <TR>
                        <td rowspan="3" style="padding:0px 4px 0px 4px;">&nbsp;</td>
                      </TR>
                      <tr><td>
                     
                      text here , bla bla bla , bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla

                     
                      <P>bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla </P>
                      <P>bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, </P>
                      <P>bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla </P>
                      <P>bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla </P>
                      <P>bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla, bla bla bla, bla bla bla,
                      bla bla bla, bla bla bla, bla bla bla, bla bla bla, bla
                      bla bla, bla bla bla, bla bla bla, bla bla bla, bla bla
                      bla, bla bla bla, bla bla bla</P>
                      <P>&nbsp;&nbsp;

                     
                      </td></tr></table>
            </div>
      </tr></td></table>
   </div>

<! -- end -->


</body>
</html>

PschoticDude85
New php-forum User
New php-forum User
Posts: 19
Joined: Tue Jul 05, 2005 12:12 pm

Tue Jul 05, 2005 12:25 pm

nice, yes this is a great piece of code i would recommend to anyone over iframes or frames especially as it is search engine friendly, and frames can be a tad tempermental, like this site that was submitted for rating on another forum made entirely out of frames, none of which work for me.

EDIT: oops, linkage

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Tue Jul 05, 2005 1:42 pm

This is a good think however has its disadvantages as well..
For instance a community website has no need in reloading the whole page when only update of the one smal part is needed... thats where iframes come in handy.

Ofcource they should be avoided and use of this code will help: but unfortunately: its not always acceptable.
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests