The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

how to limit the html page size

View previous topic View next topic Go down

In progress how to limit the html page size

Post by DeathDunk98* on December 15th 2014, 2:42 pm

how can I limit the html page size?

DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

In progress Re: how to limit the html page size

Post by Ange Tuteur on December 15th 2014, 10:25 pm

Hello,

What do you mean ? By default the limit of HTML pages is 65,000 characters.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: how to limit the html page size

Post by DeathDunk98* on December 15th 2014, 10:48 pm

hmm, for example in this html size I want to fit just this much content:



and if I add more content to have the option : Go to page 1,2 for example? is it possible to do this!

DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

In progress Re: how to limit the html page size

Post by DeathDunk98* on December 15th 2014, 10:54 pm

hmm to be specific I dont want to touch that sidebar, this is the html and css:
Code:
<style type="text/css">
{
margins: 0px;
padding: 0px;
}
body {
font-size: 14px;
font-color: 000000;
}
#wrapper {
width: 970px;
margin-left: auto;
margin-right: auto;
}

#header {
background: rgba(235,73,89,1);
background: -moz-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(235,73,89,1)), color-stop(100%, rgba(166,31,31,1)));
background: -webkit-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: -o-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: -ms-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: linear-gradient(to right, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb4959', endColorstr='#a61f1f', GradientType=1 );
width: 100%;
margin-bottom: 10px;
}
#logo {
text-shadow: 1px 1px 1px #eeeeee;
color: #ffffff;
font-size: 36px;
margin: 10px 0px 0px 10px;
}

.post {
background-color: #ffffff;
padding: 5px;
border: 1px solid #cccccc;
margin-bottom: 5px;
height: 230px;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

h1 {
font-size: 18px;
}

.post p {
margin-bottom: 10px;
overflow: hidden;
}
.post p:last-child {
margin-bottom: 0px;
}

#right {
float: right;
background: white;
border: 1px solid #cccccc;
width: 200px;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
height: 237px;
margin-bottom:8px;
}

#left {
float: left;
width: 760px;
}


#right h1 {
background: rgba(235,73,89,1);
background: -moz-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(235,73,89,1)), color-stop(100%, rgba(166,31,31,1)));
background: -webkit-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: -o-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: -ms-linear-gradient(left, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
background: linear-gradient(to right, rgba(235,73,89,1) 0%, rgba(166,31,31,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eb4959', endColorstr='#a61f1f', GradientType=1 );
text-align: center;
color: white;
font-size:18px;
padding: 0px;
margin: 0px;
}
</style>   <title>Artikujt e ditės> </title> <link href="style.css" rel="stylesheet" type="text/css" />                        
<div id="wrapper">
                   
   <div id="header">
                              
      <div id="logo">
                       Shkrimet e fundit            
      </div>
                              
   </div>
                   
   <div id="left">
                    
      <div id="content">
                               
         <div class="post">
                                    
            <h1>
                            Kur robi i Allahut merr abdes            
            </h1>
                                    
            <p>
                            Muhamedi salAllahu alejhi ue selem thotė: <br /><br />"Kur robi i Allahut merr abdes: <br />-dhe e lan gojėn e tij, prej saj bien veprat e kėqija. <br />-Kur ai e shpėrlan hundėn e tij, prej saj dalin mėkatet. <br />-Kur ai lan fytyrėn, veprat e kėqija bien prej saj, derisa dalin dhe nga nėnvetullat e tij. <br />-Kur ai lan duart e tij, veprat e kėqija bien prej tyre, derisa dalin nėn thonjtė e tij. <br />-Kur ai e fėrkon kokėn, blen mėkatet nga koka e tij, derisa dalin edhe nga veshėt. <br />-Kur ai lan kėmbėt e tij, veprat e kėqija bien prej tyre, derisa dalin edhe nga thonjtė e kėmbėve. <br /><br />Pastaj e ecura pėr nė xhami dhe namazi i tij do tė jenė shpėrblim shtesė pėr tė (mbi shpėrblimin e abdesit)." (Shėnon Imam Ahmedi, Shuajb Arnauti e vlerėson sahih.) <br /><br /><em><strong>Burimi: www.mjeksiaislame.com</strong></em>            
            </p>
                                    
         </div>
                                 
         <div class="post">
                                    
            <h1>
                            Si u krijua Adema nga te gjitha ngjyrat e tokes            
            </h1>
                                    
            <p>
                            <strong>Njeriu i pare, ademi (alejhi selam) u krijua nga te gjitha ngjyrat e tokes</strong><br /><br />Nga sahabiu Ebu Musa El-Esharij transmetohet se Pejgamberi alejhis selam ka thene: <br />"Vertete Allahu i lartesuar e krijoi Ademin alejhis selam nga nje kapje (grusht, marrje) qe e kapi(morri) nga e tere toka; andaj bijte e Ademit dolen simbas llojit te tokes, ka prej tyre te kuq, te zinje, te bardhe, te lehte e te vrazhdte, ne mesin e tyre te keqinje dhe te mire". <br />E ka permendur Hattabiu (rahimehullah) ne El-Ezleh fq.155. Muhadithi Albani rahimehullah e ka saktesuar ne Sahih Sunen Ebi Davud (4693). <br /><br /><em><strong>Burimi: www.mjeksiaislame.com</strong></em>              
            </p>
                                    
         </div>
                                 
         <div class="post">
                                    
            <h1>
                            Allahu dėgjon dhe shikon            
            </h1>
                                    
            <p>
                            <strong>Argument ėshtė fjala e Tij:<br /><br /><strong>"Allahu i ka dėgjuar fjalėt e asaj, qė diskutoi me ty pėr burrin e vet dhe iu ankua Atij. Allahu e dėgjoi bisedėn tuaj, sepse Ai dėgjon dhe sheh gjithēka."</strong>(Muxhadileh 1)<br /><br /><strong>"Sigurisht qė Allahu e ka dėgjuar fjalėn e atyre tė cilėt e thanė: "Allahu ėshtė i varfėr, kurse ne jemi tė pasur."</strong>(Al Imran 181)<br /><br /><strong>"Vallė, a mos kujtojnė ata se Ne nuk e dėgjojmė fjalėt e tyre tinėzare dhe bisedat e tyre tė fshehta?<br /><br />"Pa dyshim, Ne dėgjojmė, ndėrsa tė dėrguarit Tanė (engjėj) qė janė pranė tyre, shėnojnė."</strong> (Zuhruf 80)<br /><br /><strong>"Unė jam me ju, dėgjoj dhe shoh."</strong>(Ta Ha 46)<br /><br /><em>Burimi: www.mjeksiaislame.com</em></strong>            
            </p>
                                    
         </div>
                       
      </div>
                                  
   </div>
                         
   <div id="right">
                    
      <h1>
                 Kėshilla e ditės  
      </h1><strong><em>- "Mos e humb shpresėn"<br /><br />Ai ėshtė krijuesi i qiejve dhe i tokės. Pa shembull tė mėparshėm dhe, kur Ai vendos pėr diēka, vetėm thotė: <br />"Bėhu" - dhe ajo bėhet.</em></strong>      
   </div>
                   
   <div id="right">
                      
      <h1>
                 Hadithi i ditės        
      </h1><br /><strong><em>- Ibn Mesudi r.a tregon:</em></strong> <br /><br />"Degjova dikė tė kėndojė njė ajet kuranor, por une e kisha degjuar ndryshe nga pejgamberi A.S kėshtu qė e kapa per dore dhe e cova tek i dėrguari i Allahut(pasi i tregova per shqetsimin) i dėrguari i Allahut tha: Qe tė dy keni tė drejtė, mos ndryshoni asgje mes jush, pasi kombet para juve ndryshuan(dhe u grindėn nė vet mesin e tyre) dhe u shuan(nga ndryshimi dhe grindja nė gjirin e tyre)"      
   </div>
             
   <div id="right">
                      
      <h1>
                 Mjeksia Profetike        
      </h1><br /><em><strong> - A ėshtė e vėrtetė qė uji zemzen mund tė pėrdoret pėr shėrim?</strong></em><br /><br />I Derguari i Allahut alejhi selam ka thene: Uji i Zemzemit eshte i dobishem per cfare do qe pihet.(Sahih Iben Maxhe,nr.2484) <br />Dhe ka thene:"Ai eshte uje i bekuar, ushqim per te uriturit dhe (sherim per te semurit). (Muslim, vell.2.fq1922 dhe Hejthermiu ne "Mexheul Zevaid" vell.3 fq 268.)<br />ShKEPUTUR NGA LIBRI HISTORITE E Profetėve.        
   </div>
                         
</div>

I want that to create I new page only when I post a new post(table), and eventualy when there are 3 tables created, the last one of the third will go to the previous page and the fourth table which is the new one will appear at the top as the first! Omg I hope u understand me, this is kind of a blog thing

DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

In progress Re: how to limit the html page size

Post by Ange Tuteur on December 15th 2014, 11:03 pm

You would have to create multiple HTML pages for each page. The at the bottom or top of the page you'll have the list of pages.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: how to limit the html page size

Post by DeathDunk98* on December 15th 2014, 11:43 pm

So I'll have to put the sidebar to every new html and then post what I want?

DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

In progress Re: how to limit the html page size

Post by Ange Tuteur on December 16th 2014, 12:06 am

Yes, pretty much.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: how to limit the html page size

Post by DeathDunk98* on December 16th 2014, 2:00 pm

can you give me a code for the GO TO PAGE 2/3 something like this for example to put it in the end of the html page

DeathDunk98*
Forumember

Posts : 479
Reputation : 3
Language : Shqip

Back to top Go down

In progress Re: how to limit the html page size

Post by Ange Tuteur on December 16th 2014, 11:51 pm

It'll be a set of links, for example :

Code:
<div class="pagination">
  <a href="/page1/">1</a>
  <strong>2</strong>
  <a href="/page3/">3</a>
</div>

<a> : pages we're not on
<strong> : the page we're currently on

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum