Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
[Resolved] When comments show, stylesheet doesn't work.

 
Reply to topic    Forum Index » Help View previous topic
View next topic
[Resolved] When comments show, stylesheet doesn't work.
Author Message
hanulbada



Joined: 17 Jul 2008
Posts: 6

Post [Resolved] When comments show, stylesheet doesn't work. Reply with quote
Hey,
Sorry I have another problem, I guess i'm still not used to this script yet. Sad
Well I have the main page where the news shows but when someone clicks on the comments link, it works but the external css file isn't applied, leaving the news in an ugly template. Sure the images and everything are showing but the css file doesn't seem to be working.
Check it out: http://hanulbada.net/test950.php/


Last edited by hanulbada on Mon Jul 21, 2008 9:40 pm; edited 1 time in total
Sun Jul 20, 2008 4:31 am View user's profile Send private message
Guest








Please login to hide the ads.

Mystic2010



Joined: 10 Jan 2007
Posts: 50

Post Reply with quote
Try adding
Code:
<base href="http://www.hanulbada.net/" />

in your <head> before
Code:
<link href="style.css" rel="stylesheet" type="text/css">

Sun Jul 20, 2008 11:11 am View user's profile Send private message
Torstein



Joined: 03 Aug 2006
Posts: 96

Post Reply with quote
Use the whole path to the CSS file.

So instead of just href="style.css" you use href="http://domain.com/style.css".

Because of the way the urls work in CNR, the browser might get confused if you use relative paths, same goes for javascripts you include in this way, and embeded files.

Wink
Sun Jul 20, 2008 2:36 pm View user's profile Send private message
hanulbada



Joined: 17 Jul 2008
Posts: 6

Post Reply with quote
Thanks guys! It worked well. :]
Mon Jul 21, 2008 9:40 pm View user's profile Send private message
Yoshiii



Joined: 29 Feb 2008
Posts: 58

Post Reply with quote
Or easier: put a slash in front... so /style.css
Mon Jul 21, 2008 11:04 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
Yes your page looks good. All you need to do is elaborate on your templates. Don't over complicate them Wink have fun with them and add your own cool twist if you can/want.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Tue Jul 22, 2008 1:02 am View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.