Jump to content

babita

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by babita

  1. HI I am using one normal c code for removing all tables and display the rest in a single row.Here is the code I am using.it may luk very basic codingwhile(end of buffer){ ch = inbuf[j++]; if(ch=='<') { outbuf = ch; if(((ch=inbuf[j++]) =='t')) { if(((tempch=inbuf[j++])=='d')) while((ch = inbuf[j++])!='>'); else { i++; outbuf[i++] = ch; outbuf[i++] = tempch; flag = 1; } } else if(ch=='/') { if(((tempch=inbuf[j++])=='t')) { if((tempch2=inbuf[j++])=='d') { ch=inbuf[j++]; outbuf[i++]= '<'; outbuf[i++]= 'b'; outbuf[i++]= 'r'; outbuf[i++]= '>'; } else if(tempch2=='i') { k=0; outbuf[i++]='<'; outbuf[i++]=ch; word[k++] = tempch; outbuf[i++]=tempch; word[k++] = te mpch2; outbuf[i++]=tempch2; //outbuf[i++]=tempch; for(;k<6;k++) { word[k] = inbuf[j++]; outbuf[i++] = word[k]; } word[k] ='\0'; if((strcmp(word,"title>"))==0) { outbuf='\0'; strcat(outbuf,tbstr); i=i+strlen(tbstr); } } else { i++; outbuf[i++]=ch; outbuf[i++]=tempch; outbuf[i++]=tempch2; } } else { i++; outbuf[i++]=ch; outbuf[i++]=tempch; } } else { i++; outbuf[i++]=ch; } } else outbuf[i++]=ch; } outbuf='\0';i didnt use any resizing for images as of now.. ... but m getting the outut with all the lines in it. frm one end to another.. horizontally. confused what to be done?
  2. Thnx for the interest. before testing the programme in mobile i m trying to test it on desktop.Its working fine for html... Now i have one small problem. there are lines in the web page horizontally. after the whole part is reformatted these lines r not getting resized.. so the problem. i dont know weather these r any images.. not getting exactly.. here i wanted to attach the output webpage so tht u ll get some idea.... but no attachment facility here.can u tell me whats those leniar lines r?? n how to resze them?
  3. Hi all I am trying to write a program to display the web contents fit to the screen size of mobile r PPC wen used for browsing. I have put all the html body in one table of my mobile screen size, and I have inserted <br> at every coloumn seperating place and removed all coloumns. Its working fine for some pages which comtains mastly text in the web page.For some pages the format defined previously is not changing according to my programme.can any one help me in this?THNX FOR THE HELPBabita.P
×
×
  • Create New...