HighDots Forums  

Background GIF in table won't display

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Background GIF in table won't display in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dficks
 
Posts: n/a

Default Background GIF in table won't display - 08-05-2004 , 01:38 AM






Hi -- on the following page - www,justmysites.com/giacintos/main.html - there
is a background image (exported as a GIF from Fireworks) embedded in the
leftmost cell of the table (the one with the navigation options) that will not
display in Internet Explorer. The one I created and put in the top cell is
displaying properly in all browsers. Incidentally, both do display on Safari
(the Mac OSX browser) but the leftmost image does not display in either IE for
Windows or Mac. Can anyone help me with this?


Reply With Quote
  #2  
Old   
.: Nadia :TMM :.
 
Posts: n/a

Default Re: Background GIF in table won't display - 08-05-2004 , 01:50 AM






Try applying it to the <td> tag, not the <tr> as you have

<table width="900" height="0" border="0" align="center" cellspacing="0">
<tr valign="top" background="images/left_edge.gif">
<td width="200" height="666"> <---------------------------- apply
here-------------------

You may also want to investigate the use of a stylesheet for declaring all
your fonts and background images.
Mini tutorials here: http://www.dreamweaverresources.com/tutorials/index.htm

You also have used a png file as a background - not reliable - maybe you
forgot to export as gif?

table width="900" border="0" align="center" cellspacing="0"
bgcolor="#FFFFFF">
<tr>
<td width="21%"><img src="images/GiacintoLogo1.png" width="180"
height="85"></td>

I'm on broadband and that page took a while to download. I'd suggest
slicing up that image and inserting into a nested table.

--
Nadia
Team Macromedia Volunteer for Dreamweaver
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
-----------------






"dficks" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi -- on the following page - www,justmysites.com/giacintos/main.html -
there
is a background image (exported as a GIF from Fireworks) embedded in the
leftmost cell of the table (the one with the navigation options) that will
not
display in Internet Explorer. The one I created and put in the top cell is
displaying properly in all browsers. Incidentally, both do display on
Safari
(the Mac OSX browser) but the leftmost image does not display in either IE
for
Windows or Mac. Can anyone help me with this?




Reply With Quote
  #3  
Old   
A.H.O.
 
Posts: n/a

Default Re: Background GIF in table cell won't display - 08-05-2004 , 02:03 AM



After looking at your code I would GUESS that it is because it is in your TR
tag instead of the TD tag right below it. I would try putting it into the TD
tag that is RIGHT below the TR tag. If it doesnt work its because I dont know
what Im talking about and am only guessing. lol

If it doesnt work let me know...Id like to find the answer too....


Reply With Quote
  #4  
Old   
A.H.O.
 
Posts: n/a

Default Re: Background GIF in table cell won't display - 08-05-2004 , 02:04 AM



DANG IT Nadia. hahaha you stole my thunder. Glad to know I was right though. =-)

Reply With Quote
  #5  
Old   
Osgood
 
Posts: n/a

Default Re: Background GIF in table won't display - 08-05-2004 , 02:09 AM



dficks wrote:
Quote:
Hi -- on the following page - www,justmysites.com/giacintos/main.html - there
is a background image (exported as a GIF from Fireworks) embedded in the
leftmost cell of the table (the one with the navigation options) that will not
display in Internet Explorer. The one I created and put in the top cell is
displaying properly in all browsers. Incidentally, both do display on Safari
(the Mac OSX browser) but the leftmost image does not display in either IE for
Windows or Mac. Can anyone help me with this?

Try deleting the height from your main table. At the moment you have it
at 0. That could be fooling the browser into thinking the table has no
height. Just leave the height box empty.

Also I noticed that the left bg image is attached to both the <tr> and
<td> tag. You also might try taking it off the <tr> tag.



Reply With Quote
  #6  
Old   
topb
 
Posts: n/a

Default Re: Background GIF in table cell won't display - 08-05-2004 , 02:11 AM



A.H.O can you tell me how to have an interactive form that the user fills out
i can create that
with all the bits and pieces but what i want the form to do is collect the
information and send it to an email address
of mine can you guide me


Reply With Quote
  #7  
Old   
dficks
 
Posts: n/a

Default Re: Background GIF in table won't display - 08-05-2004 , 02:16 AM



Nadia and A.H.O.

Many thanks! I applied it to the right tag and it worked like a charm. I will
replace the main graphic -- yes, I did forget to export. And that tutotrial
will be great -- I was just about to post a question to find a good resource on
CSS. I have lots of ideas -- and with the Macromedia Studio I feel like I have
a tool to get me there -- now I have to fill in the gap of all the things I've
avoided having to know so far. Nothing like starting a business designing
websites to force the issue, though!

Thanks again -- I really appreciate you guys and this board.

Dave


Reply With Quote
  #8  
Old   
.: Nadia :TMM :.
 
Posts: n/a

Default Re: Background GIF in table won't display - 08-05-2004 , 02:28 AM



Dave:
Glad to help and that it worked for you and that you are open to advice :-)

I'd suggest reading as many tutorials as you can, many sigs used on this
forum quote good links.
Get yourself a couple of good books, especially if they teach you html
markup - you will need that if you want to get into web design seriously.

Here are a couple
Dreamweaver MX2004 The Missing Manual by David McFarland
http://www.amazon.com/exec/obidos/tg/detail/-/0596006314/ref=pd_sim_art_elt/002-7022398-3142458?v=glance

Book by the same author for DWMX
http://www.amazon.com/exec/obidos/tg/detail/-/0596003498/ref=pd_sim_art_elt/002-7022398-3142458?v=glance

And this you shouldn't be without if you want to know about DW templates
http://www.amazon.com/exec/obidos/ASIN/0735713197/perrelink-20/002-7022398-3142458

Also any book by Eric Meyer on CSS is a must.

Good Luck!!

--
Nadia
Team Macromedia Volunteer for Dreamweaver
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
-----------------



Reply With Quote
  #9  
Old   
.: Nadia :TMM :.
 
Posts: n/a

Default Re: Background GIF in table cell won't display - 08-05-2004 , 02:29 AM



You gotta be quick around here. Lucky I'm a fast typist :-D

--
Nadia
Team Macromedia Volunteer for Dreamweaver
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
-----------------

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
DANG IT Nadia. hahaha you stole my thunder. Glad to know I was right
though. =-)




Reply With Quote
  #10  
Old   
dficks
 
Posts: n/a

Default Re: Background GIF in table cell won't display - 08-05-2004 , 02:33 AM



topb -

I just learned how to do this -- here is what someone sent me. You have to
create two pages, an html page with the form and a php page to direct the
results -- that is, if I understand what is going on correctly. At any rate, it
works!

I attached the code but am not sure if it will come over correctly, since this
program replaces some of the tags. Send me an email at
daveficks (AT) justmysites (DOT) com and I'll forward the attachment to you that explains
this.

Dave






Below is a simple PHP email example. Two files are created, form.html which
holds a simple email submission form
and email.php which is the page that gets processed when the form is submitted.

In the email.php file, you'll notice we set the $msg variable = to some text
and $email_address. PHP can
reference any submitted form field from the previos page (in this case
"email_address") on the
processing page as $VARIABLE_NAME. So what we are doing is including the email
address in the message we
are sending to whomever we are sending it to!

The best way to get this is to play around a bit and see the results. Either
way, PHP is a much better
solution than legacy CGIs for doing this!

Let me know if I can help!

----- form.html ----
<form action="email.php" method="post">
<b>Email Address:</b>
<input type="text" name="email_address" size="30" maxlength="75">
<input type="submit" value="Submit">
</form>



---- email.php ----
<?php

$to = "whoever (AT) wherever (DOT) com";

$subj = "your subject";

$msg = "your message\n\n".$email_address;

$from = "From: address (AT) domain (DOT) name (whoever you want it to come from)";

mail($to,$subj,$msg,$from);

?>

Thank you for submitting!


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.