| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| WEB PAGE CODE HELP | |
|---|---|
| Tweet Topic Started: Jan 12 2005, 01:12 PM (1,265 Views) | |
| Bluhd Relahyted | Jan 12 2005, 01:12 PM Post #1 |
|
Bluhd Relahyted Illness
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
im making a webpage, whats the code when you click an image it goes to the link which its set to, it isnt the same for images on here so could someone help me out please thnx |
![]() |
|
| Gornakle | Jan 12 2005, 01:29 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Strange.. people are constantly posting the wrong kind of topics in Scripting chat, yet the right ones get posted elsewhere. >_> Either way, the HTML for a linked image is:
|
![]() |
|
| FearKiller | Jan 12 2005, 01:50 PM Post #3 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The valid HTML code for a linked image is
|
![]() |
|
| Stefan | Jan 12 2005, 02:25 PM Post #4 |
![]()
Mew?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
moved to programming & scripting chat |
![]() |
|
| Bluhd Relahyted | Jan 12 2005, 05:05 PM Post #5 |
|
Bluhd Relahyted Illness
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
and can i ask the same thing but to change the background colour please |
![]() |
|
| Bluhd Relahyted | Jan 12 2005, 05:33 PM Post #6 |
|
Bluhd Relahyted Illness
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
still waiting? |
![]() |
|
| FearKiller | Jan 12 2005, 05:37 PM Post #7 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Add this to your html document in the header
Make a new file and call it "whateverthehellyouwant.css" and put this code inside
In the first code change "pathtocss" to the path where the CSS is (that's that new file I told you to create if you didn't know.) Then change ABCDEF to a hex code that meets the color of your needs. Learn more about HTML and CSS here http://www.htmldog.com |
![]() |
|
| Bluhd Relahyted | Jan 12 2005, 05:39 PM Post #8 |
|
Bluhd Relahyted Illness
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
thnx man, but it isnt for CSS, its for a webpage so its different, do you know that one? thnx |
![]() |
|
| Bluhd Relahyted | Jan 12 2005, 05:43 PM Post #9 |
|
Bluhd Relahyted Illness
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
soory, but can someone please help me out |
![]() |
|
| FearKiller | Jan 12 2005, 05:47 PM Post #10 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can use CSS in a webpage and it should be used. HTML without CSS is like a day without sunlight. I recommend the way I said above but if you just wanna use pure html...
Change "ABCDEF" to hex code that represents the color of your needs. |
![]() |
|
| Bluhd Relahyted | Jan 12 2005, 06:06 PM Post #11 |
|
Bluhd Relahyted Illness
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ay it got moved here numbnuts and thnx for the code killer |
![]() |
|
| Hero_of_time | Jan 12 2005, 06:49 PM Post #12 |
|
I love Emily :wub:
![]() ![]() ![]() ![]() ![]() ![]()
|
I'd recommed the CSS on your webpage. He showed you how to do it externally, but if you want to add background color to only ONE page, then you can do it internally. Like this:
You put it between <head> and </head> |
![]() |
|
| FearKiller | Jan 13 2005, 02:26 AM Post #13 |
|
www.drewscripts.com
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The better way to do this would be to use this
The reason is because of the comment tags. This will make it user friendly to those who view your site with browsers that don't support CSS. An even better way to do it is to use inline CSS
So many choices
|
![]() |
|
| Seth | Jan 13 2005, 02:57 AM Post #14 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Huh? :huh: What are you on about? Browsers that don't support CSS will just ignore the rules. You're thinking JS. This is CSS. Putting comment tags in the middle of your CSS will break things. |
![]() |
|
| ELRocco | Jan 13 2005, 03:32 AM Post #15 |
|
Rocco
![]() ![]() ![]() ![]() ![]()
|
you can put commment like this
or f you want it to show up on page like this
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Technology Chat · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
6:43 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)




6:43 PM Jul 11