Forums
This topic is locked
photoshop and dreamweaver
20 Oct 2004 08:13:47 joe truss posted:
heres my issue. i can design most of my site in phtoshop and import the pages with slices, etc.however how can i input text and image files on top of my image, without it displacing everything. i have tried the bg image, however this tiles the background, any ideas on how to get rid of that.
what i want to be able to do is create the structure of the site in pshp, and add text on top, to edit easily,
heres the sight im working on
www.ocf.berkeley.edu/~joetruss/smash
any ideas?
Replies
Replied 20 Oct 2004 12:07:19
20 Oct 2004 12:07:19 Stefan P replied:
Hi Joe
Looking at what you've done, I think the best plan is to use CSS to prevent your page background repeating, then place a table on the page, divided into the sections where you can put your text and images.
So place the following in the <head> of your code:
<style>
body {
background-image: url(images/yourimage.gif);
background-repeat: no-repeat;
}
</style>
Alternatively, go for full standards compliant CSS, a subject well covered on the net(however a bit of a learning curve if you're new to it).
Stefan.
DMX | ASP | VBScript | ACCESS | SQL Server | IIS5
Edited by - sesame on 21 Oct 2004 17:21:01
Looking at what you've done, I think the best plan is to use CSS to prevent your page background repeating, then place a table on the page, divided into the sections where you can put your text and images.
So place the following in the <head> of your code:
<style>
body {
background-image: url(images/yourimage.gif);
background-repeat: no-repeat;
}
</style>
Alternatively, go for full standards compliant CSS, a subject well covered on the net(however a bit of a learning curve if you're new to it).
Stefan.
DMX | ASP | VBScript | ACCESS | SQL Server | IIS5
Edited by - sesame on 21 Oct 2004 17:21:01