Forums

This topic is locked

Watermark Background (Locking)

Posted 13 Jul 2004 17:10:41
1
has voted
13 Jul 2004 17:10:41 Boyd Gross posted:
My problem is this. I have a simple picture that I created in Adobe CS where it's a solid color from the bottom right fading to a white so the text is clear to read. My problem is this. I can use the MODIFY > PAGE PROPERTIES to put the background on there. What I want is the background to be stationary, or fixed, where the words scroll over it. When I set the properties to fixed or something like that, it doesn't work, or sometimes it doesnt' even show the background. Also, how can I set the page size for a typical internet site for the "browsing" purposes?

Replies

Replied 14 Jul 2004 23:34:31
14 Jul 2004 23:34:31 Dave Thomas replied:
use a css style in your page to show the background. much more control this way.

read up on linking a css style sheet to your document and you can add the following.
<pre id=code><font face=courier size=2 id=code>
body{
background-image<img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>your img url);
background-scroll:fixed;
background-position:top;
}
</font id=code></pre id=code>

if you create a new style sheet in dreamweaver and start to write the above code, the code hints will pop-up and help you choose what you want to do, for example where i have (your img url), dreamweaver will automatically pop up the correct syntax for this function and give you a browse button to locate it in your site structure.

as for a average internet site size, a lot of sites are done for 800x600, some others done for 1024 and above, but the actual window isnt 800x600. take into account your browser bars and buttons etc.. maximum width on a 800x600 site on a macintosh is 740px wide i think, so as you can see its chopped 60px off your width.

you can see some site sizes if you go into preferences and look at status bar.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[SQL]|[Access2000]|[ASP/VBScript]|[XP-Pro]

Reply to this topic