Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Dreamweaver Gods only....HELP!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-06-2003, 05:05 PM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default Dreamweaver Gods only....HELP!

Ok I created an image (head title) in Fireworks now I want to place in Dreamweaver. I broke the image up into 3 sections, so that I can expand and collapse.

When I inserted the image in Dreamweaver I used 3 different <td> so my code look like this:
Quote:
<table blah blah blah>
<tr>
<td>image one</td>
<td>image two</td>
<td>image three</td>
</tr>
</table>
The problem is there is a SPACE between 'Image One' and 'Image Two' and I can't figure out how to get rid of it.

If your asking why dont I just place the whole image together, well because I am trying to put a filler image (not spacer) between image one and image two, so the code would look like this:
Quote:
<table blah blah blah>
<tr>
<td>image one</td>
<td>filler image that I want to repeat to expand and collapse</td>
<td>image two</td>
<td>filler image that I want to repeat to expand and collapse</td>
<td>image three</td>
</tr>
</table>
For now I would just appreciate info on how to close the space between two images. I'll tackle the repeating image later. Any help is appreciated.
Chris
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote
  #2  
Old 10-06-2003, 05:09 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

set definate widths for the cells with image 1 and 3 (set them the same width as the images within them) and then set image 2 as the background to cell 2. make the table 100% wide and dont set any widths to cell 2 then bobs yer uncle
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 10-06-2003, 06:08 PM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default

Did what you said and it works...somewhat this is the code
Code:
<table width="100%"> <tr> <td width="412" valign="top">[img]file:///D|/xxxx/xxxx/logotopleft.jpg[/img]</td> <td width="100%"></td> <td width="174" valign="top">[img]file:///D|/xxxx/xxxx/logotopright.jpg[/img]</td> </tr> </table>
There is a style sheet you cant see that is applied to the whole table not just Image 2 <td>. Couldnt figure this one out but anyway I previewed this is the browser and I still have a small gap between Image 1 and 2; 2 and 3. I can't seem to get rid of this. Any more suggestions, thanks

Chris
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote
  #4  
Old 10-06-2003, 09:57 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Quote:
Originally Posted by stryker898
Did what you said and it works...somewhat this is the code
Code:
<table width="100%"> <tr> <td width="412" valign="top">[img]file:///D|/xxxx/xxxx/logotopleft.jpg[/img]</td> <td width="100%"></td> <td width="174" valign="top">[img]file:///D|/xxxx/xxxx/logotopright.jpg[/img]</td> </tr> </table>
There is a style sheet you cant see that is applied to the whole table not just Image 2 <td>. Couldnt figure this one out but anyway I previewed this is the browser and I still have a small gap between Image 1 and 2; 2 and 3. I can't seem to get rid of this. Any more suggestions, thanks

Chris
<td width="100%"></td>

This should have something in it - either a spacer image or a to help it render it properly
__________________
ex x-cart guru
Reply With Quote
  #5  
Old 10-07-2003, 03:59 PM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default

I tried both your suggestions, but this is what I keep getting...I uploaded it to an area on another website. Please only go to the linked area...I am tracking hits to other areas thanks...

If you have any other suggestions I am all ears...once again thanks for all your help guys. If I can get this problem worked out I am on my way!!

Chris
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote
  #6  
Old 10-07-2003, 04:46 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Code:
<html> <head> <title>Chipps</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="centerhead.css" rel="stylesheet" type="text/css"> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="408">[img]logotopleft.jpg[/img]</td> <td></td> <td width="173" align="right">[img]logotopright.jpg[/img]</td> </tr> </table> </body> </html>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 10-08-2003, 06:55 AM
 
stryker898 stryker898 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 113
 

Default

Thanks, Shan...

This was the area i was missing that made the difference. The easiest solution is always the fix...

Code:
border="0" cellspacing="0" cellpadding="0

Chris
__________________
Never take life too seriously, cause none of us are getting out of here alive!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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
Forum Jump


All times are GMT -8. The time now is 06:47 AM.

   

 
X-Cart forums © 2001-2020