Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: What shall I use I tried using style sheets but all efforts in vain


Message #1 by "Harjit Singh Grewal" <hsgrewal@g...> on Fri, 24 Nov 2000 12:57:21 +0530
hi

set ur image as background image and not as <img>

Ricky
> ----------
> From: 	Harjit Singh Grewal[SMTP:hsgrewal@g...]
> Reply To: 	HTML Code Clinic
> Sent: 	Saturday, November 25, 2000 1:39 AM
> To: 	HTML Code Clinic
> Subject: 	[html_code_clinic] What shall I use I  tried using style
> sheets but all efforts in vain
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0049_01C05616.162EA9C0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Hi everybody !
> I'm making a page where I want to display an image and some text on that 
> image I have tried my level best to solve it but 'm unable to do it.
> My problem is say I have an image whose location I get from the URL and 
> then I want to display some text  say in three different lines of text 
> at three locations :::
> I want to display first line of text on the left top of my image ;;;; 
> then second line of text is to be displayed in the middle of image ;;;;; 
>  third line of text is to be displayed in the right bottom of image.
> I have tried to solve my problem using layers but every time my text 
> begins from where the image ends.
> If you have answer to my problem kindly tell me it will be really nice 
> of you.
> 
> 
> <% @language=3Dvbscript %>
> <%
> 'response.write "<br>" & request.form("semail") & "<br>"
> a=3D request.form("remail")
> b=3Drequest.form("sender")
> c=3Drequest.form("reciepient")
> d=3Drequest.form("oline")
> e=3Drequest.form("message")
> %>
> <%
> response.expires=3D0
> picc=3Dtrim(request.querystring("picc"))
> %>
> <html>
> 
> <img src=3D<% =3Dserver.mappath(picc)%>></img>
> <%
> response.write c
> %>
> </html>
> 
> 
> ------=_NextPart_000_0049_01C05616.162EA9C0
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" 
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Hi everybody !</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>I'm making a page where I want to 
> display an
> image and some text on that image I have tried my level best to solve it 
> but 'm
> unable to do it.</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>My problem is say I have an image whose 
> location I
> get from the URL and then I want to display some text  say in three 
> 
> different lines of text at three locations ::: </FONT></DIV>
> <DIV><FONT face=3DArial size=3D2><FONT color=3D#000080>I want to display 
> first line of
> text on the left top of my image</FONT> ;;;; then <FONT 
> color=3D#ff0000>second
> line of text is to be displayed in the middle of image</FONT> 
> ;;;;;  <FONT
> color=3D#008000>third line of text is to be displayed in the right 
> bottom of
> image.</FONT></FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>I have tried to solve my problem using 
> layers but
> every time my text begins from where the image ends.</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>If you have answer to my problem kindly 
> tell me it
> will be really nice of you.</FONT></DIV>
> <DIV> </DIV>
> <DIV> </DIV>
> <DIV><% @language=3Dvbscript %><BR><%<BR>'response.write 
> "<br>"
> & request.form("semail") & "<br>"<BR>a=3D
> request.form("remail")<BR>b=3Drequest.form("sender")<BR>c=3Drequest.form(
> "reciepient")<BR>d=3Drequest.form("oline")<BR>e=3Drequest.form("message")
> <BR>%><BR><%<BR>response.expires=3D0<BR>picc=3Dtrim(request.queryst
> ring("picc"))<BR>%><BR><html><BR><BR><img
> src=3D<% =3Dserver.mappath(picc)%>></img><BR><% 
> <BR>response.write
> c <BR>%><BR></html><BR></DIV>
> ---<BR>
> FREE WEB DEVELOPMENT CODE, CONTENT, AND INSIGHTS<BR>
> IN YOUR INBOX!<BR>
> Get the latest and best HTML, XML, and JavaScript tips, tools, and <BR>
> developments from the experts.  Sign up for one or more of EarthWeb?s<BR>
> FREE IT newsletters at http://www.earthweb.com today!  <BR>
> ---<BR>
> kavanjit.singh@i...<BR>
> $subst('Email.Unsub')<BR>
> 
> </BODY></HTML>
> 
> ------=_NextPart_000_0049_01C05616.162EA9C0--
> 
> 

  Return to Index