It was funny scrolling down and seeing who actually would finally speak up on the CSS method.
need html code
need html code
|
|
Feb 20 2006, 09:44 AM
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
LOL! try the one controlled via CSS as suggested by goldfires.
It was funny scrolling down and seeing who actually would finally speak up on the CSS method. |
|
|
|
|
|
Feb 20 2006, 12:12 PM
|
![]() ![]() ![]()
Junior Member
481 posts Joined: Sep 2005 From: Kuala Lumpur |
use frontpage ... right click .. properties ... click on watermarked background ..
i think thats what u want . |
|
|
Feb 20 2006, 12:47 PM
|
![]() ![]() ![]() ![]()
Senior Member
645 posts Joined: Dec 2005 From: -----Somewhere Down to Earth------- |
it really cool..
with wat rusty nail mention that coding.. <body background="yourimage.gif" bgproperties="fixed"> try it out..it work! |
|
|
Feb 20 2006, 12:56 PM
|
|
Forum Admin
44,415 posts Joined: Jan 2003 |
QUOTE(kokanchai @ Feb 20 2006, 12:47 PM) it really cool.. that one works, but bad choice my friend. with wat rusty nail mention that coding.. <body background="yourimage.gif" bgproperties="fixed"> try it out..it work! did you know why Etsuko also seconded that CSS solution instead of the one using the BODY tag? |
|
|
Feb 20 2006, 02:40 PM
|
![]() ![]() ![]() ![]()
Senior Member
645 posts Joined: Dec 2005 From: -----Somewhere Down to Earth------- |
huh?why? explain it please.. i tho this is the easy way..to do it.. |
|
|
Feb 20 2006, 02:49 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
3,500 posts Joined: Jan 2003 |
QUOTE(Rusty Nail @ Feb 20 2006, 09:33 AM) i remember using these HTML codes way back in my notepad days done the code that you need to add is <body background="yourimage.gif" bgproperties="fixed"> important property is bolded. http://www.pageresource.com/html/fixedbg.htm http://www.developingwebs.net/html/fixedbackground.php thanks |
|
|
|
|
|
Feb 20 2006, 03:04 PM
|
|
Forum Admin
44,415 posts Joined: Jan 2003 |
QUOTE(kokanchai @ Feb 20 2006, 02:40 PM) EASIEST doesnt mean it's the BEST. and in the long run, it's actually the WORSE way. look at what Rusty mentioned "i remember using these HTML codes way back in my notepad days" in the past, MSIE was probably the only browser the majority use. so that's fine. but nowadays, there's many other browsers. that code just won't work, Firefox won't work with that BGPROPERTIES thingy too. that BGPROPERTIES code only works with MS Internet Explorer as it runs based the BGPROPERTIES extention for MSIE. http://developertutorials.com/html-guide/d...PROPERTIES.html and 2nd thing. now how many pages do you have? 1? 5? well changing that isn't a problem for you i guess. what if you have 20? pages? every time you decide to change the background - you'll have to change 20 files. sure you can use crimson editor to open and do mass replace. fine. but again it still works on IE and you'll have to do 20 changes and if you do mass-replacement you'll have to make sure other codes are not affected. you also have to check if all 20 pages are changed, saved and updated. by using CSS. you not only manage to get it to work with Firefox (Mozilla based) and other browsers. anytime you wish to change the image, just change the filename in the CSS file and all 20 pages are updated. so which is the smarter way? the CSS way IS the easier and the smarter way. |
|
|
Feb 20 2006, 05:52 PM
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
*nod nod* like what ^- he said.. LOL
anyway, I'm wondering if colleges are still just teaching basic tables and lecturers not caring about website standards. everyone should learn CSS.. it might not be as easy as tables at first, but you'll see the other differences or advantages as mentioned above. Cheers. |
|
|
Feb 20 2006, 05:56 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
4,880 posts Joined: Jan 2003 From: Petaling Jaya |
^i see...
thanks for the enlightenment. i'll keep that in mind. |
|
|
Feb 20 2006, 06:35 PM
|
![]() ![]() ![]()
Junior Member
489 posts Joined: Dec 2004 From: malaysia |
i think css will do it...
CODE body { background-image: url(image.jpg); background-repeat: no-repeat; background-position: bottom right; } or CODE background-attachment: fixed; here the source code for the panda background.. CODE body { background-image: url(Media/Panda_request_by_ilona.jpg); background-repeat: no-repeat; background-attachment: fixed; background-color: #9FBA8F; } This post has been edited by ikram_zidane: Feb 20 2006, 06:36 PM |
|
|
Feb 21 2006, 09:02 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
3,500 posts Joined: Jan 2003 |
Hi all,new question updated >.<
|
|
|
Feb 21 2006, 09:49 AM
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
QUOTE(akira de aimbuster @ Feb 19 2006, 11:24 PM) NEW PROBLEM: I know we can put background mucis into our webpage. However it will restart everytime i click on other link to another page of my website. ANyway to make it keep playing the same song,as long as the visitor is inside my webpage? What is the code for it? Yes, it will always restart when you load another page unless you put it in a frame on its own and it'll loop annoyingly for every person to hear. Placing background music into a website is so so.. 5-10 years ago..? But if you feel everyone would love the music you love and wouldn't mind listening while reading your content, then it's your choice. |
|
|
Feb 21 2006, 11:22 AM
|
|
Forum Admin
44,415 posts Joined: Jan 2003 |
QUOTE(etsuko @ Feb 21 2006, 09:49 AM) Placing background music into a website is so so.. 5-10 years ago..? But if you feel everyone would love the music you love and wouldn't mind listening while reading your content, then it's your choice. yes. those were the days where using IE and embedding midi files on it makes a page looks uber cool.nowadays you'd better make sure your loops have a STOP function or else most people will reach and turn away once the figured out they can't off it. yeah i know there's the VOLUME button, but it's really damn annoying. why should i turn off my volume just to view your website? so there ya have it. you've come by another part of web-design - put viewers into consideration. embedding music files could make or break a site. really. if you wish to do it. maybe have a few tunes (relaxing ones, techno just doesn't seem right don't force the user to listen to what you place on the site. again if you bring in 'volume control' to counter this, please read the above again. btw if you do have music embedded, do show us how it looks like so we could help you make a better site. oh, and your site. the 2 banners on top are just too big. i'm viewing at 1024x768 and once i enter your site all i see are banners and i have to scroll down to see something. at present, your site looks more like something that's done on a single HTML file rather than a blog engine. anyway, keep it up. |
|
|
|
|
|
Feb 21 2006, 12:47 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
3,500 posts Joined: Jan 2003 |
Hmm...I just think about it,not really want to use it
For example i wont really use the locked backgroud...Not now yet I try to think anything that is possible to make the site wonderful. So any good idea that is special? |
|
|
Feb 21 2006, 08:02 PM
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
Special.. hmm.. anything Web 3.0 will be special.. LOL
You know what'll be special coming from a person who's learning to do websites properly.. a fully validated and website standards site that is usable and accessible.. *dreams* |
|
|
Feb 28 2006, 12:06 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
3,500 posts Joined: Jan 2003 |
a new question, how to make a picture change to another picture when cursor moved on it?
For example a button...(in html please ><) |
|
|
Feb 28 2006, 10:20 AM
|
![]()
Junior Member
15 posts Joined: Aug 2005 |
QUOTE(akira de aimbuster @ Feb 28 2006, 12:06 AM) a new question, how to make a picture change to another picture when cursor moved on it? Sample Code:For example a button...(in html please ><) CODE <img src="Default_Image.gif" onmouseover="this.src='Other_Image.gif'" onmouseout="this.src='Default_Image.gif'"> |
|
|
Feb 28 2006, 12:35 PM
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
QUOTE(akira de aimbuster @ Feb 19 2006, 11:24 PM) a new question, how to make a picture change to another picture when cursor moved on it? there's the ol Javascript method..For example a button...(in html please ><) or the more modern LI menus accompanied with the CSS properties a:link and a:hover states. |
|
|
Feb 28 2006, 12:49 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
3,500 posts Joined: Jan 2003 |
QUOTE(etsuko @ Feb 28 2006, 12:35 PM) there's the ol Javascript method.. Is this the old method you mean?or the more modern LI menus accompanied with the CSS properties a:link and a:hover states. QUOTE(sinx @ Feb 28 2006, 10:20 AM) |
|
|
Feb 28 2006, 03:10 PM
|
|
Elite
4,210 posts Joined: Jan 2003 From: Malaysia |
That's Javascript for you..
|
| Change to: | 0.0141sec
0.52
5 queries
GZIP Disabled
Time is now: 25th November 2025 - 09:08 PM |