Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > JavaScript and CSS

JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-14-2008, 01:10 AM
phpforfun's Avatar   
phpforfun phpforfun is online now
Programming God
 
Join Date: Feb 2008
Posts: 513
Last Blog:
ubuntu... do not upgra...
Rep Power: 5
phpforfun will become famous soon enough
Default My code being defaced by another site

How do I make a table that is unedited by the code of another site? im working on a proxy, and the menu, seems to be disturbed by the code of some random sites, code call, myspace, etc.
Go to Welcome
and go to google.com, look at the menu, (menu is whats on top, its a firefox lookalike, it opens in a modeless window if you go to test), after you see how it should look, go to myspace.com, in the same window using the proxy, see how it makes it all bold? How do I stop that, here is my code now.

PHP Code:
#myTable {
    
width100%;
    
height100%;
    
margin-top0margin-left0margin-right0margin-bottom0;
    
font-familyGenevaArialHelveticasans-serif !important ;
    
font-size12px !important ;

PHP Code:
<table id="myTable" style="width:100%; height:100%; position:absolute; top:0px; left:0px; right:0px; bottom:0px;">
Data
</table
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-14-2008, 05:23 AM
TcM's Avatar   
TcM TcM is offline
Terminator - I'll be back
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 5,709
Rep Power: 47
TcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the rough
Default Re: My code being defaced by another site

Wow CC really messes the menu up!

Well after seeing the CSS of CC I notice somethings:
Code:
#slide_area_container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
You see... they both have an absolute position and both top 0. Maybe that is one of the reasons, they are both 'fighting' for the top position. Loading the site in a frame should solve the problem, but it's not the best solution.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall


Business Directory | Technology Blog | Windows Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 11:05 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Mod
 
Join Date: Jul 2006
Age: 35
Posts: 1,751
Last Blog:
Game software (GURPS)
Rep Power: 24
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default Re: My code being defaced by another site

You may need to directly apply the CSS to your code, and use a DIV tag to surround the site you are viewing?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-14-2008, 12:35 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 25
Posts: 4,514
Last Blog:
Zend: PHP Security Web...
Rep Power: 50
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: My code being defaced by another site

@TcM: I already told him that except I didn't point out the specific CSS. I suggested he change the CSS in the websites that load in his proxy.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-14-2008, 01:18 PM
phpforfun's Avatar   
phpforfun phpforfun is online now
Programming God
 
Join Date: Feb 2008
Posts: 513
Last Blog:
ubuntu... do not upgra...
Rep Power: 5
phpforfun will become famous soon enough
Default Re: My code being defaced by another site

The content for the site IS in a div, thats why you se the scroll bars, however I shouldnt need to edit the css for every single site, just mine.

Not to mention, this may sound lame, but I cant find out where to put the ending div tag. If you view the source, you will see the <div> code where the page content starts, but no ending one, its like a good 7 or 8 pages of code, and I cant break it down, I tried putting "echo end" all over the place to see if one of them would show up at the end, no luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 05-19-2008, 04:30 PM
phpforfun's Avatar   
phpforfun phpforfun is online now
Programming God
 
Join Date: Feb 2008
Posts: 513
Last Blog:
ubuntu... do not upgra...
Rep Power: 5
phpforfun will become famous soon enough
Default Re: My code being defaced by another site

Quote:
Originally Posted by Jordan View Post
@TcM: I already told him that except I didn't point out the specific CSS. I suggested he change the CSS in the websites that load in his proxy.
I am trying to find out how to edit the pages of the requested sites, ill look in to that asap
Quote:
Originally Posted by WingedPanther View Post
You may need to directly apply the CSS to your code, and use a DIV tag to surround the site you are viewing?
The css is to my code.

Example
CSS
PHP Code:
#history {
 
border1px solid #999999;
 
padding0px;
 
height21px;

HTML
PHP Code:
<input type="image" name="imageField" src="images/urlhis.gif"  hidefocus="1" id="history" onClick="javascript:menuActivate('combotext', 'combodiv', 'combosel'); return false" BORDER="0"><input type="image" id="urlgo" name="imageField2" src="images/urlgo.gif"

Not working, test it out, go to Welcome

go to google, yahoo, codecall, myspace, etc etc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-20-2008, 01:06 AM
phpforfun's Avatar   
phpforfun phpforfun is online now
Programming God
 
Join Date: Feb 2008
Posts: 513
Last Blog:
ubuntu... do not upgra...
Rep Power: 5
phpforfun will become famous soon enough
Default Re: My code being defaced by another site

bump, is that what you mean by directly applying the code?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-20-2008, 03:01 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: My code being defaced by another site

I get a Not Found error when i try the link.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-20-2008, 03:48 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Mod
 
Join Date: Jul 2006
Age: 35
Posts: 1,751
Last Blog:
Game software (GURPS)
Rep Power: 24
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default Re: My code being defaced by another site

As did I, Xav.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 05-20-2008, 04:03 PM
phpforfun's Avatar   
phpforfun phpforfun is online now
Programming God
 
Join Date: Feb 2008
Posts: 513
Last Blog:
ubuntu... do not upgra...
Rep Power: 5
phpforfun will become famous soon enough
Default Re: My code being defaced by another site

ya im working on it, but check out the code I posted, thats what it is, isnt that what you mean?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Calculator AfTriX VB Tutorials 3 02-29-2008 08:53 AM
How to add links to your site? c0de Tutorials, Classes and Code 2 09-16-2007 01:42 PM
Please Help With A C Program!! siren C and C++ 7 04-17-2007 08:45 AM


All times are GMT -5. The time now is 10:43 PM.

Contest Stats

John ........ 87.50000
dargueta ........ 75.00000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads