Dreamweaver problem

Caporegime
Joined
3 Jan 2006
Posts
25,263
Location
Chadderton, Oldham
Hi, well doing an assignment for college atm which involves making a website, and I'm trying to put an image in a table and still be able to type over the image so it looks like a nice table, but the problem is if I try to type the image just gets deleted or the text shuffles to under the image, so I tried to create a table inside a table and put the image in one of the tables but when I type text in one or put an image in one they just shuffle about and dont stay on top, so I think I need the tables to overlap or anything?

Dreamweaverproblem.jpg


Thanks
Willz
 
you need to set the image as a background on the table cell so that the text can go on top of it, something like...
Code:
<table border="0">
  <tr>
    <td background="myimage.jpg" width="500" height="100" align="center" valign="center">
      Hello World!
    </td>
  </tr>
</table>
However, be prepared to be absolutely savaged for building your site with tables by the DIVS/CSS disciples on this site :)
 
As has been said, set the image as a background and then you can type over it :)

be prepared to be absolutely savaged for building your site with tables by the DIVS/CSS disciples on this site :)

I'd just concentrate on whatever needs to be done to get you top marks in the project - if it's just design a page that looks good and works then that's all you need to focus on - don't worry too much about the gubbins inside ;)

If it works in both Internet Explorer and Firefox then you've got yourself covered (in my opinion anyway)
 
There is another problem, because I set editable reigons I can only edit within that region on any page and can only edit the whole page on the style.dwt page, now 2 pages need to differ slightly from the rest now so I need to somehow unlink 2 pages from the syle sheet, so that they keep what its got to so far but so I can edit all the page.

Any ideas on how to do that?

Also, I create a button, and they are gif images right, but they have like a white line around them and it looks awfull, now it happened in photoshop too when saving as gif, but saving as PNG got rid of the white line, and yes I did enable transparency in photoshop when trying to save as a GIF, so any ideas how to solve that aswell?

Thanks.
 
There is another problem, because I set editable reigons I can only edit within that region on any page and can only edit the whole page on the style.dwt page, now 2 pages need to differ slightly from the rest now so I need to somehow unlink 2 pages from the syle sheet, so that they keep what its got to so far but so I can edit all the page.

Any ideas on how to do that?

You can detach templates from the page, so you can edit EVERYTHING. However, when you update the template page (style.dwt) then they won't get applied to the pages you detach from the template.

Anyway - to detach from template:

1) Open the page you want to detach from the template
2) Go to Modify > Templates
3) Detach from Template

You can now edit everything :)

What you could do is create another editable region on your template for the bit that you want to change on the 2 different pages. Just put the content you want in this region by default, so when you create new pages based on the template it will be there, but you can change it if you wish - the only problem is updating the template won't change what's in the editable region.

Also, I create a button, and they are gif images right, but they have like a white line around them and it looks awfull, now it happened in photoshop too when saving as gif, but saving as PNG got rid of the white line, and yes I did enable transparency in photoshop when trying to save as a GIF, so any ideas how to solve that aswell?

Thanks.

Hmmm, not sure - I don't have Photoshop at work (I have to use Fireworks...). Depends what you mean by line - I know that when you turn images into hyperlinks in DW, it sticks a border round the image until you take it off.

You could even use the PNG without having to use a gif, but I don't know if IE 6 can handle the transparency in PNGs.
 
Last edited:
So I can deatch the template and re attatch? I think it would be better to make a template for 2 pf the pages and leave the current template on the rest, how is that done?
 
Back
Top Bottom