Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-15 01:43:27

dreamer
Member
Registered: 2007-06-08
Posts: 242

why won't images show up? and big fonts in IE7

None of the images that I have in my stylesheet seem to show up. I have these bullet images here among many other images located in the proper directory but nada.

I believe I have the proper code and everything;

ul.bullets {
list-style-image: url(/txp/images/bullet.gif);
margin: 20px 0 0 20px;
line-height: 150%;
}

Everything was working on my testing site but they don’t seem to work when I uploaded to my TXP CMS.

and I have these big fonts showing up in IE7 as well. Everything seems to be wacky here.

Last edited by dreamer (2007-10-15 01:45:22)

Offline

#2 2007-10-15 06:06:48

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: why won't images show up? and big fonts in IE7

Your style sheet contains list-style-image:url(images/bullet.gif); URL paths in style sheets are relative to the style sheets URL, which in your case is to be found at /txp/textpattern/css.php. Thus, /txp/textpattern/images/bullet.gif is supposed to be the full qualified URL to your bullet images.

You’d better use absolute paths from the domain root to avoid such hassles.

Offline

#3 2007-10-15 06:13:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: why won't images show up? and big fonts in IE7

Did you try using the absolute url?
ie

ul.bullets {
list-style-image: url(http://sachitesting.com/txp/images/bullet.gif);
margin: 20px 0 0 20px;
line-height: 150%;
}

or even

ul.bullets {
list-style-image: url(/txp/images/bullet.gif);
margin: 20px 0 0 20px;
line-height: 150%;
}

Last edited by colak (2007-10-15 06:14:50)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-10-15 06:15:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: why won't images show up? and big fonts in IE7

Well… by the time I checked your url, Robert was just too fast for me:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB