Wait..so…you're saying that the .css document is making the call for the
background image and NOT the HTML page?
so, if the styles were in the html document head, THEN it would be one up?
No, what he is saying is the code you have got is dependent on where exactly
your CSS file is
given the code below and that my bricktile.jpg is 1 level up from my
index.html in a folder named image can anyone tell me why my background-image
refuses to appear?
I've been looking at it for half hour and I am baffled. thank you for any clues.
John
body{
font-size:100%;
COM wrote:
given the code below and that my bricktile.jpg is 1 level up from
my index.html in a folder named image can anyone tell me why my
background-image refuses to appear?
Because it is one level up, not one level down.
Philip Taylor
I've been looking at it for half hour
Howdy,
On Fri, Apr 26, 2013 at 3:50 PM, COM j...@coffeeonmars.com wrote:
given the code below and that my bricktile.jpg is 1 level up from my
index.html in a folder named image can anyone tell me why my
background-image refuses to appear?
Have you tried:
On Apr 26, 2013, at 4:04 PM, Micky Hulse mickyhulse.li...@gmail.com wrote:
Have you tried:
background-image:url(../image/bricktile.jpg);
That works, but I don't get it because for the css, THIS works:
css/hwthreestyles.css
where css is the folder where the .css file lives. why the
Background images are relative to the CSS not the HTML
—
Sent from Mailbox for iPhone
On Fri, Apr 26, 2013 at 7:12 PM, COM j...@coffeeonmars.com wrote:
On Apr 26, 2013, at 4:04 PM, Micky Hulse mickyhulse.li...@gmail.com wrote:
Have you tried:
background-image:url(../image/bricktile.jpg);
On Apr 26, 2013, at 4:14 PM, Tom Livingston tom...@gmail.com wrote:
Background images are relative to the CSS not the HTML
I get that but here's a screen grab showing that the image is 1 folder up and
that the .css file is, too 1 folder up
ergo, the same relationship from html file to css
On Apr 26, 2013, at 4:26 PM, COM j...@coffeeonmars.com wrote:
Background images are relative to the CSS not the HTML
Wait..so…you're saying that the .css document is making the call for the
background image and NOT the HTML page?
so, if the styles were in the html document head, THEN it
On Apr 26, 2013, at 4:29 PM, Tom Livingston tom...@gmail.com wrote:
Right so you have to back out of the CSS dir then go into the image dir to
get your background image, where as the HTML just had to go into the CSS dir
to get the sheet.
OK..alright…this is a key bit of learning for
Correct
—
Sent from Mailbox for iPhone
On Fri, Apr 26, 2013 at 7:29 PM, COM j...@coffeeonmars.com wrote:
On Apr 26, 2013, at 4:26 PM, COM j...@coffeeonmars.com wrote:
Background images are relative to the CSS not the HTML
Wait..so…you're saying that the .css document is making the call for
CSS-d,
The web layout I'm discussing in this email has many problems, but
within this thread, I just want to focus on one. So please be forgiving
if you see other issues like PNG transparencies not displaying correctly
or DIVs that are floating in strange places. I'll try to address those
Dave M G wrote:
http://formever.org/css_test
I'd start here...
http://validator.w3.org/check?uri=http://formever.org/css_test
...since trying to correct anything with CSS in a document with that
many fatal source-code errors, is futile.
regards
Georg
--
http://www.gunlaug.no
Gunlaug,
Thank you for replying.
Sorry, sometimes the PHP script gets changed on me, and I forgot to
ensure it was valid before bringing my issues here. I should have checked.
In any case, I have seen to it that the errors are corrected and my
XHMTL now validates.
The errors I have described
Dave M G wrote:
Will it be possible now to get some advice on where I am going wrong
with the CSS?
Definitely :-)
One stray '}' creates a parse-error, so the next rule - which happens to
be .linklist isn't read by browsers.
(PS: The CSS validator shows five errors, but they may be related
Gunlaug,
Thank you for responding.
One stray '}' creates a parse-error, so the next rule - which happens to
be .linklist isn't read by browsers.
- 1 parse error - not ok - and is the cause of your problem.
Silly me. I thought that stray } was a part of the Be Nice To Opera 5
Hack which
hi everyone,
i am working on a site and trying to apply a background image placed in the
right corner of all my h1 and h2 tags. for some reason the image isn't
showing up. i'm working in firefox so i'm surprised it isn't working. i put
the image on the page as not a background and it shows up.
jeffrey morin wrote:
hi everyone,
i am working on a site and trying to apply a background image placed in the
right corner of all my h1 and h2 tags. for some reason the image isn't
showing up. i'm working in firefox so i'm surprised it isn't working. i put
the image on the page as not a
yes that path is correct. i can't think of what the problem would be. other
bg images are working fine from the same path. this is confusing!
On 2/5/07, david [EMAIL PROTECTED] wrote:
jeffrey morin wrote:
hi everyone,
i am working on a site and trying to apply a background image placed in
jeffrey morin wrote:
yes that path is correct. i can't think of what the problem would be. other
bg images are working fine from the same path. this is confusing!
Can you send us a link to look at? We might be able to figure out the
problem there. At the very least, send us the html and css
here is how the code looks. i don't have a server for it yet.
div id=mainContent
h1Some Text/h1
pMore text here/p
/div
CSS:
#mainContent h1 {
background: transparent url(styles/background-images/leaf.gif) no-repeat
center right;
font-family: verdana;
font-size:
jeffrey morin wrote:
here is how the code looks. i don't have a server for it yet.
div id=mainContent
h1Some Text/h1
pMore text here/p
/div
CSS:
#mainContent h1 {
background: transparent url(styles/background-images/leaf.gif) no-repeat
center right;
wow i can't believe i forgot to do that. i've been driving myself nuts.
thanks so much
On 2/5/07, Brian Riley [EMAIL PROTECTED] wrote:
jeffrey morin wrote:
here is how the code looks. i don't have a server for it yet.
div id=mainContent
h1Some Text/h1
pMore text
setting height and width doesn't work either.
On 2/5/07, jeffrey morin [EMAIL PROTECTED] wrote:
wow i can't believe i forgot to do that. i've been driving myself nuts.
thanks so much
On 2/5/07, Brian Riley [EMAIL PROTECTED] wrote:
jeffrey morin wrote:
here is how the code looks. i
jeffrey morin wrote:
setting height and width doesn't work either.
here is how the code looks. i don't have a server for it yet.
div id=mainContent
h1Some Text/h1
pMore text here/p
/div
CSS:
#mainContent h1 {
background: transparent
i will look at it more on my end but it's great to know that the code works.
i was literally going carazy. thanks!
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information --
jeffrey morin wrote:
i will look at it more on my end but it's great to know that the code works.
i was literally going carazy. thanks!
O, forgotten to mention the possibility: the code you wrote us is
correct, but the one in your page has a typo; maybe a check with the
html- /or
Just fired up and old computer with Windows 98 on it and background image
doesn't appear on site below
www.salesexecs-online.co.uk
Works fine on Xp across Opera, FF and IE6
Any idea why?
Cheers
Ian
**IMPORTANT*
Hi all,
I'm struggling to get a background-image appearing in IE5 Mac (it's
fine in every other browser under the sun).
The relevant CSS is
#top {
background: transparent url(images/top.gif) top left no-repeat;
padding: 55px 0 0 0;
}
h1 {
background: transparent url(images/masthead.jpg) top
28 matches
Mail list logo