|
|
![]() |
#1 |
Mean people suck, nice people swallow, are you mean or nice?
|
This is one of those Homer Simpson moments. Doh! I've been doing that for a long time but I used a template and forgot to change the SSI call for the extermal style sheet
![]() |
![]() |
![]() |
![]() |
#2 |
Mean people suck, nice people swallow, are you mean or nice?
|
Well dammit! With CSS I'm calling for a background image and I want to also define any unspecified text on the page to be a certain color. I'm using this but it doesn't work:
body {background-image:url('bg.jpg'); font-color: #ffffff; font-family: Arial; font-size: 14px; font-style: normal;} WTF am I doing wrong? ![]() ![]() |
![]() |
![]() |
![]() |
#3 |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
Change "font-color" to just "color".
__________________
~Warm and Fuzzy. ![]() |
![]() |
![]() |
![]() |
#4 |
Mean people suck, nice people swallow, are you mean or nice?
|
THANK YOU! That finally worked!
|
![]() |
![]() |
![]() |
#5 |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
No worries. I'm real nit-picky.
![]()
__________________
~Warm and Fuzzy. ![]() |
![]() |
![]() |
![]() |
#6 |
Mean people suck, nice people swallow, are you mean or nice?
|
Another CSS question: Isn't there some way to have say a 4px white border around an image and then a 1px black border around the white border? I think I've seen this done somewhere but can't find it.
TIA |
![]() |
![]() |
![]() |
#7 |
Certified Nice Person
|
First, make sure you're using a good DOCTYPE or it won't work in IE.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
HTML Code:
.thumb { width:320px; height:240px; padding:4px; background-color:#ffffff; border-style:solid; border-color:#000000; border-width:1px; } HTML Code:
<img class="thumb" src="photo.jpg" alt="sexy photo" />
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
![]() |
|
|