Forums

This topic is locked

How using css in dreamweaver mx

Posted 17 Jun 2004 02:28:10
1
has voted
17 Jun 2004 02:28:10 warren fontana posted:
Hello all, i'm new to the forums so i hope i've posted in the right area ?

Just would like to know if anyone can tell me, in css within dreamweaver mx can i have a main logo for my home page using css have it stay the same width as my page rather than it being too short as i don't want to stretch the image.

Replies

Replied 17 Jun 2004 14:25:11
17 Jun 2004 14:25:11 Simon Martin replied:
<font face='Verdana'>
If your logo is an image I don't think you can do much about that.
However, if you set the background of the area (div) that has the logo in it such that it matches the edge colour of the image, then it should 'peep out' from behind the graphic and fill whatever space is left over - giving the illusion you want.
</font id='Verdana'>
Replied 18 Jun 2004 00:06:31
18 Jun 2004 00:06:31 warren fontana replied:
Thanks <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Replied 18 Jun 2004 02:59:23
18 Jun 2004 02:59:23 Dave Thomas replied:
you can sort of trick the viewer that you have a larger image.

cut a 1px wide 100% high slice out of your graphic where you wish to stretch it, and in your css set it as a background in the div, with a repeat-x value so it will fill the div up creating an illusion of a bigger graphic.

very bandwidth friendly this way too <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Regards,
Dave

[img]www.nova-cs.co.uk/DmxAvatar.jpg" border="0"&gt;

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


Edited by - UltraDav on 18 Jun 2004 03:00:36

Reply to this topic