slugger
Banned
I faced this problem the other day when I was learning HTML programming (also ensuring that the code was compatible with XHTML 1.0).
I wanted to to use a picture as a background, change the color of the fonts in the whole page and in a seperate page change the colour of the background of the page.
So the code that I used was like this
These tags and attributes were in accordance with what had been mentioned in the tutorial.
The file name of the image was correct and the appropriate hexadecimal number was used to change the font and background color.
Inspite of this, I was unable to obtain any effects associated with the use of the attributes.
To see if I had diasabled the use of site specified font color, from the tool bar in Internet Explorer I went to
Tools>Internet Options>Colors
[URL=*imageshack.us][img]*img281.imageshack.us/img281/2589/openwith4uh.jpg[/URL][/img]
There the 'Use Windows Colors' option had been enabeled.
So I disabled it to see what happens, but still I didnot get the desired result.
Also the the same problem arises when I try to change the color of the font of a particular portion the page using the 'color' attribute for the "font" tag.
Also I have taken care to close each tag
I am able to insert normal images in the page using the 'src' attribute to the "img" tag.
I preveiw the pages using IE 5.00.3502.1000
When I tried to open the page that I created on a different computer, the page turned out normally as I had expected.
Debugging doesnot turn up any errors.
I'm using AceHTML editor.
Can anybody please help me with this.
I wanted to to use a picture as a background, change the color of the fonts in the whole page and in a seperate page change the colour of the background of the page.
So the code that I used was like this
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"*www.w3.org/TR/xhtml1/DTD/transitional.dtd">
<html>
<head><title>itgiot</title></head>
<body background="img08.gif" bgcolor="#ff9933" text="#934ce8"></body>
othijh jhjhgfkljgfbf <font color="#00FF00">mdhlpkzpg</font></p>
</html>
These tags and attributes were in accordance with what had been mentioned in the tutorial.
The file name of the image was correct and the appropriate hexadecimal number was used to change the font and background color.
Inspite of this, I was unable to obtain any effects associated with the use of the attributes.
To see if I had diasabled the use of site specified font color, from the tool bar in Internet Explorer I went to
Tools>Internet Options>Colors
[URL=*imageshack.us][img]*img281.imageshack.us/img281/2589/openwith4uh.jpg[/URL][/img]
There the 'Use Windows Colors' option had been enabeled.
So I disabled it to see what happens, but still I didnot get the desired result.
Also the the same problem arises when I try to change the color of the font of a particular portion the page using the 'color' attribute for the "font" tag.
Also I have taken care to close each tag
I am able to insert normal images in the page using the 'src' attribute to the "img" tag.
I preveiw the pages using IE 5.00.3502.1000
When I tried to open the page that I created on a different computer, the page turned out normally as I had expected.
Debugging doesnot turn up any errors.
I'm using AceHTML editor.
Can anybody please help me with this.