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
HTML help
Old
  (#1)
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 HTML help - 05-26-2005, 08:53 PM

Decided to drop by for a bit. Anyway, I am new to making websites and wondering how would I add text inside the white box on [url=http://img279.echo.cx/img279/2651/untitled23qn.jpg:844c8]this image?[/url:844c8]
I can't seem to figure out how to make text be ontop of the image. It is always just a colored area with text, which is great, but would look much better if it had text. Help me if possible. I can also post the html for the site and its slices and so forth. It isn't uploaded or anything yet, but will be maybe one day.
  
Reply With Quote
Old
  (#2)
[DAS REICH] Blitz is Offline
General of the Army
 
[DAS REICH] Blitz's Avatar
 
Posts: 18,844
Join Date: Nov 2002
Location: AA.com North Building, Offtopic Floor, Apartment 1337
 Send a message via ICQ to [DAS REICH] Blitz Send a message via AIM to [DAS REICH] Blitz Send a message via MSN to [DAS REICH] Blitz Send a message via Yahoo to [DAS REICH] Blitz  
Default 05-26-2005, 08:58 PM

I have a similar problem as well on my website. I know how to put the text over the image, but whenever people use different browsers, the text seems to not be where it should be (like rather than be in a text box, the words would be over my banner, or on the sidebar).



  
Reply With Quote
Old
  (#3)
KTOG is Offline
Captain
 
KTOG's Avatar
 
Posts: 5,824
Join Date: Mar 2002
Location: Robertplantsville
   
Default 05-26-2005, 09:00 PM

Don't use 1 image for a website. It looks hokey and as you said, it will look different on different browser. What you should do is cut up your images like building blocks and piece them together in a table and make the one cell have text in it.
  
Reply With Quote
Old
  (#4)
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-26-2005, 09:02 PM

Quote:
Originally Posted by KTOG
Don't use 1 image for a website. It looks hokey and as you said, it will look different on different browser. What you should do is cut up your images like building blocks and piece them together in a table and make the one cell have text in it.
I have it all sliced and everything from Imageready, and that area in the white box is an image by itself. But how would I go adding text on top of that single image?
  
Reply With Quote
Old
  (#5)
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-26-2005, 09:06 PM

pm me the html and images and ill hook it up for you. theres tons of ways you can do it ...
  
Reply With Quote
Old
  (#6)
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-26-2005, 09:08 PM

Here is the code:
[code:048ce]<html>
<head>
<title>window</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table id="Table_01" width="400" height="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<table id="Table_02" width="400" height="126" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_01.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="home.html">
[img]images/window_02.gif[/img]</a></td>
<td rowspan="12">
<table id="Table_02" width="314" height="274" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_03.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_04.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="bio.html">
[img]images/window_05.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_06.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="disco.html">
[img]images/window_07.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_08.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="media.html">
[img]images/window_09.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_10.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="contact.html">
[img]images/window_11.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_12.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="links.html">
[img]images/window_13.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="102" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_14.gif[/img]</td>
</tr>
</table></td>
</tr>
</table>

</body>
</html>[/code:048ce]

As for the images.. Well the names are right there. If I get around to uploading them I will give a link. The image I want the text on is window_03.gif.
  
Reply With Quote
Old
  (#7)
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-26-2005, 09:15 PM

what does window_03.gif look like?
  
Reply With Quote
Old
  (#8)
Sniper101 is Offline
Staff Sergeant
 
Posts: 1,505
Join Date: Oct 2002
Location: Good Ol' Nor'east
  Send a message via AIM to Sniper101  
Default 05-26-2005, 09:20 PM

What did you make this graphic with? If you use photoshop, use the slices tool to go around the box, then switch to image ready. then right click on the slice and look down at the Slices window if you dont see it, go to windows > slices. set it to no image and type the html code. to get the basic code if your not good with html, type what you want and how you want it in MS Word, save as web page open it in IE or w/e right click > view source (this is for IE idk about firefox and other browsers). copy the code and paste in the space in Image Ready.


  
Reply With Quote
Old
  (#9)
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-26-2005, 09:22 PM

Judas: [img]http://img151.echo.cx/img151/2171/window032dd.gif[/img]

Sniper101: When you do that (no image) it makes it one solid color, I want to keep the image and have text overlayed.
  
Reply With Quote
Old
  (#10)
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-26-2005, 09:31 PM

[code:d500c]<html>
<head>


<link rel="stylesheet" type="text/css" href="grim_style.css">

<title>window</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table id="Table_01" width="400" height="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<table id="Table_02" width="400" height="126" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_01.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="home.html">
[img]images/window_02.gif[/img]</a></td>
<td rowspan="12">
<table id="Table_02" width="314" height="274" border="0" cellpadding="0" cellspacing="0">
<tr>



<td class="content_cell">dsfsdafdafasdf
</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_04.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="bio.html">
[img]images/window_05.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_06.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="disco.html">
[img]images/window_07.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_08.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="media.html">
[img]images/window_09.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_10.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="contact.html">
[img]images/window_11.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="8" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_12.gif[/img]</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href="links.html">
[img]images/window_13.gif[/img]</a></td>
</tr>
<tr>
<td>
<table id="Table_02" width="86" height="102" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
[img]images/window_14.gif[/img]</td>
</tr>
</table></td>
</tr>
</table>

</body>
</html> [/code:d500c]

create another file called : grim_style.css
and paste this:

[code:d500c].content_cell {
color:#FFFFFF;
background-image:url(images/window_03.gif)
}
[/code:d500c]

save the grim_style.css in the same dir as the .html
  
Reply With Quote
Old
  (#11)
Sniper101 is Offline
Staff Sergeant
 
Posts: 1,505
Join Date: Oct 2002
Location: Good Ol' Nor'east
  Send a message via AIM to Sniper101  
Default 05-26-2005, 10:01 PM

[quote="Grim_Reaper":d4a30]Judas: [img]http://img151.echo.cx/img151/2171/window032dd.gif[/img]

Sniper101: When you do that (no image) it makes it one solid color, I want to keep the image and have text overlayed.[/quote:d4a30]

ive had luck with it before so...w/e though


  
Reply With Quote
Old
  (#12)
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-26-2005, 10:24 PM

Thank you very much Judas! +1 karma.
  
Reply With Quote
Old
  (#13)
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, 07:03 AM

Slices. eek: annoy:
  
Reply With Quote
Old
  (#14)
elstatec is Offline
Colonel
 
elstatec's Avatar
 
Posts: 9,369
Join Date: Jun 2003
Location: United States of England
   
Default 05-27-2005, 07:05 AM

[quote="Mr.Buttocks":56dcd]Slices. eek: annoy:[/quote:56dcd]


  
Reply With Quote
Old
  (#15)
Zoner is Offline
Administrator
 
Zoner's Avatar
 
Posts: 17,739
Join Date: Apr 2002
Location: Camp Crystal Lake
   
Default 05-27-2005, 07:35 AM

You could also try setting that image as the background of its cell in the table...like so:

[code:4c5f7]<td background="images/window_03.gif" width="314" height="274">TEXT GOES HERE</td>[/code:4c5f7]


http://www.fpsgameforums.com/forums/image.php?type=sigpic&userid=5399&dateline=1213387  247
  
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.