Css

This is a discussion on "Css" within the Web Page Design section. This forum, and the thread "Css are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 13th, 2007, 11:26
New Member
Join Date: Apr 2007
Location: UK
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Css

Hi,

I've just uploaded the start of a new website at http://staging.virtual-email.com/default.html

There's a CSS file (/css/master.css) and the default.html file calls this:

<!--
@import url("/css/master.css");
-->

But in FireFox it's not showing the CSS at all - plus the header isn't showing

I've used this css file before and it worked fine!

In IE7 it's using the CSS but not showing the header either.

Somebody help save me from exploding!!!

Cheers,

Darren
Reply With Quote

  #2 (permalink)  
Old Apr 13th, 2007, 12:27
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Css

In your head tag you have this
Code: Select all
<link rel="stylesheet" type="text/css" href="main.css" />
try this
Code: Select all
<link href="main.css" rel="stylesheet" type="text/css" />
Reply With Quote
  #3 (permalink)  
Old Apr 13th, 2007, 15:35
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,763
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Css

dont forget to add media="" to that i.e. Screen, Print, Audible etc...

Code: Select all
<link href="main.css" rel="stylesheet" media="screen" type="text/css" />
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #4 (permalink)  
Old Apr 13th, 2007, 23:15
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Css

The order shouldn't make a difference, Lchad. It's working fine in Safari, so it should be okay in FF.
Reply With Quote
  #5 (permalink)  
Old Apr 13th, 2007, 23:34
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Css

It wasn't working before but it all looks like it's working now. Even the header is showing (at least I assume that's the header).

Pete.
Reply With Quote
Reply

Tags
css

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43