View Full Version : Adding color to a code


kiara
07-14-2003, 09:31 PM
Hello it's me the annoying person who can't get her layout right. I was wondering how I can get my text to be a different color since there seems to be no text color code in my HTML code. I used the following HTML.
<body>

<img style="position:absolute; top:20px; left:20px; width:175px;
height:200px" src="http://www.geocities.com/demonloving/inuyashaw7.jpg">


<div style="position:absolute; left:20px; top:220px; width:150px; height:250px; background-image: url(http://www.lissamail.com/neopets/butback.gif); background-color:#FFFBEB; overflow:auto">

---------------------------------

Put all your menu links here.

---------------------------------


</div>

<div style="position:absolute; left:230px; top:100px; width:520px; height:400px; background-image: http://www.geocities.com/demonloving/inuyashaw7.jpg; background-color:#000066; overflow:auto; scrollbar-face-color: #000000;
scrollbar-highlight-color: #99CCFF;
scrollbar-3dlight-color: #000200;
scrollbar-shadow-color: #D00000;
scrollbar-darkshadow-color: #000040;
scrollbar-arrow-color: #000600;
scrollbar-track-color : #0D0000;">

----------------------------------

Put all your content here.

----------------------------------
</div>

</body>


Thanks

Dude128
07-14-2003, 09:37 PM
since you're using CSS in those divs, you could also use CSS for the font color. you can find the necessary attributes here: http://www.lissaexplains.com/css.shtml

or, you can just use the normal <font> tag like so: <font color="######">Your text</font>
just change the ###### to the appropriate hex code for the color you want

oh, and direct linking is considered stealing (on top of the stealing of the actual image). you should not be using any of Lissa's images without her permission, and you especially should not be direct linking it.