![]() |
CSS Help
What can I put in a style sheet so any undefined text on a page will have a certain size, color, etc.
|
Body tag?
body { background: #000; font-family: arial; font-size: 18pt; color: #7F00FF } etc. etc. |
That worked, thanks!
|
Another CSS question. I used this on a style sheet to have a background image for a page:
body {background-image: url(bg.jpg');} How can I call for that image from another folder? I tried putting the full path to the image but it doesn't work: body {background-image: url('http://www.best-wet-pussy.com/sex-in-stockings/bg.jpg');} Instead of the full path can I use SSI? |
Put this between your head tags to call an external styesheet.
In the stylesheet url(../path-to-background.jpg); You don't have to use an external styesheet but it does make things easy. |potleaf| |
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 |pokefun|Licker I need more coffee
|
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? |huh |huh |
Change "font-color" to just "color".
|
Quote:
|
No worries. I'm real nit-picky. ;)
|
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 |
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" HTML Code:
.thumb { HTML Code:
<img class="thumb" src="photo.jpg" alt="sexy photo" /> |
Quote:
# CSS HTML Code:
.thumb img { HTML Code:
<div class="thumb"> |
Quote:
Licker, you can also replace the three separate border style lines with just this: border: 1px solid #000000; I knew you could do it that way, but I was too lazy to find my style sheets earlier. |
Thanks guys! That's what I needed! |thumb
|
All times are GMT -4. The time now is 02:11 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc