Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Offtopic
Reload this Page HTML help
Offtopic Any topics not related to the games we cover. Doesn't mean this is a Spam-fest. Profanity is allowed, enter at your own risk.

Reply
 
Thread Tools Display Modes
Old
  (#16)
Poseidon is Offline
2nd Lieutenant
 
Posts: 3,358
Join Date: Jul 2003
Location: Good ol' England!
   
Default 05-27-2005, 11:07 AM

Quote:
Originally Posted by Zoner
You could also try setting that image as the background of its cell in the table...like so:

[code:59d14]<td background="images/window_03.gif" width="314" height="274">TEXT GOES HERE</td>[/code:59d14]
Thats the way i'd have done it
  
Reply With Quote
Old
  (#17)
Judas is Offline
Senior Member
 
Posts: 8,792
Join Date: Apr 2002
Location: Hans-AlbinVonReitzenstein
 Send a message via ICQ to Judas Send a message via AIM to Judas Send a message via MSN to Judas  
Default 05-27-2005, 02:05 PM

it works but its not valid html

from : http://validator.w3.org/

Line 29, column 30: there is no attribute "BACKGROUND"
<td background="images/window_03.gif" width="314" height="274">TE
  
Reply With Quote
Old
  (#18)
Proteus is Offline
Lieutenant Colonel
 
Proteus's Avatar
 
Posts: 7,162
Join Date: Dec 2002
Location: Plymouth, MA
  Send a message via AIM to Proteus Send a message via MSN to Proteus  
Default 05-27-2005, 02:11 PM

Uuuum on all of my websites I use iframes:

[code:99f7b]<iframe src="home.html" name="iframe" frameborder="0" width="" height=""></iframe>[/code:99f7b]

And when you try to link something it would look like:

[code:99f7b]<a href="home.html" target="iframe">[/code:99f7b]

That makes it load in the iframe. If you need help (if you even try this method) catch me on aim.

Usually you just put that code in place of your image that you want to have the iframe over, and then make the image you replaced the background of all your pages so it gives the effect of the text being over it. It's basically a page inside a page, so it saves the time of loading all the same images over again. Very easy when you get the hang of things.
  
Reply With Quote
Old
  (#19)
Zoner is Offline
Administrator
 
Zoner's Avatar
 
Posts: 17,739
Join Date: Apr 2002
Location: Camp Crystal Lake
   
Default 05-27-2005, 02:47 PM

Quote:
Originally Posted by Judas
it works but its not valid html

from : http://validator.w3.org/

Line 29, column 30: there is no attribute "BACKGROUND"
<td background="images/window_03.gif" width="314" height="274">TE
Valid or not, it works. *shrug*


http://www.fpsgameforums.com/forums/image.php?type=sigpic&userid=5399&dateline=1213387  247
  
Reply With Quote
Old
  (#20)
lasagna is Offline
Senior Member
 
Posts: 3,977
Join Date: Aug 2004
   
Default 05-27-2005, 02:48 PM

Quote:
Originally Posted by Zoner
Quote:
Originally Posted by Judas
it works but its not valid html

from : http://validator.w3.org/

Line 29, column 30: there is no attribute "BACKGROUND"
<td background="images/window_03.gif" width="314" height="274">TE
Valid or not, it works. *shrug*
ZONERTOTHERESCUEEE
  
Reply With Quote
Old
  (#21)
Zoner is Offline
Administrator
 
Zoner's Avatar
 
Posts: 17,739
Join Date: Apr 2002
Location: Camp Crystal Lake
   
Default 05-27-2005, 02:55 PM

[img]http://www.latelatecrew.net/zoner/zonesignal.jpg[/img]


http://www.fpsgameforums.com/forums/image.php?type=sigpic&userid=5399&dateline=1213387  247
  
Reply With Quote
Old
  (#22)
Coleman is Offline
Major General
 
Coleman's Avatar
 
Posts: 13,482
Join Date: Jun 2002
Location: University Park, PA
   
Default 05-27-2005, 02:57 PM

+1 ha


  
Reply With Quote
Old
  (#23)
Mr.Buttocks is Offline
Major General
 
Mr.Buttocks's Avatar
 
Posts: 12,924
Join Date: Feb 2004
Location: The Continent of Africa
   
Default 05-27-2005, 03:00 PM

Quote:
Originally Posted by Coleman
+1 ha

-1 Sycophant.
  
Reply With Quote
Old
  (#24)
imported_Grim_Reaper is Offline
Senior Member
 
Posts: 3,452
Join Date: Jun 2003
Location: mASSachusetts
  Send a message via AIM to imported_Grim_Reaper Send a message via MSN to imported_Grim_Reaper  
Default 05-31-2005, 08:18 PM

Not too sure if this is what Proteus was talking about but now I am finishing up the site and so forth and also making a new one for something else. I am using the code Judas posted. How can I make it so that area with the text has its own scrollbars and whatever so I can always add more and more info and I can just scroll that area to read it?
  
Reply With Quote
Old
  (#25)
TonyMontana is Offline
Lieutenant Colonel
 
Posts: 7,860
Join Date: Feb 2004
Location: one
  Send a message via AIM to TonyMontana Send a message via MSN to TonyMontana  
Default 05-31-2005, 08:24 PM

Yeah, it's exactly what Proteus was talking about. It's called an Iframe. Use the code he provided


  
Reply With Quote
Old
  (#26)
imported_Grim_Reaper is Offline
Senior Member
 
Posts: 3,452
Join Date: Jun 2003
Location: mASSachusetts
  Send a message via AIM to imported_Grim_Reaper Send a message via MSN to imported_Grim_Reaper  
Default 05-31-2005, 08:25 PM

Ok cool, I wasn't too sure.
  
Reply With Quote
Old
  (#27)
imported_Grim_Reaper is Offline
Senior Member
 
Posts: 3,452
Join Date: Jun 2003
Location: mASSachusetts
  Send a message via AIM to imported_Grim_Reaper Send a message via MSN to imported_Grim_Reaper  
Default 05-31-2005, 08:37 PM

I am not doing this right, how would I go about making that image the background for it and adding text over it? The code is on the first page...
  
Reply With Quote
Old
  (#28)
Judas is Offline
Senior Member
 
Posts: 8,792
Join Date: Apr 2002
Location: Hans-AlbinVonReitzenstein
 Send a message via ICQ to Judas Send a message via AIM to Judas Send a message via MSN to Judas  
Default 05-31-2005, 09:14 PM

i ve never used iframes before but ... you can use that style sheet with any tag that supports the class attribute. so if you use iframe what ever tag holds the image just use class="content_cell" and it will work the same way.
  
Reply With Quote
Reply



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

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.