I've created a couple of basic CSS stylesheets for my new website, which should make things easier to modify if ever I needed to. However, I need to know, does CSS work well in Firefox or Mozilla browsers?
Sometimes - most sites work fine, but for some reason the Scorpion E site gets buggered in Mozilla. Just create your stylesheet and test it in Mozilla. If it works in that, it'll work in IE anyway.
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
19th June, 2005 at 06:31:40 -
Mozilla and Firefox will render stylesheets as per W3C specification. IE has a mind of its own with certain attributes, so just check your stylsheets in both browsers. You could use Browsercam - www.browsercam.com - but that's probably overkill (plus it's a limited trial).
It should work, every browser supports it. It's the way you make the stylesheet, make sure the coding is correct. Internet Explorer can handle screwed up style sheets, that's why I never test in IE
Hmm well as I said, for now I think I'll stick with pure HTML, and when I get more confident with CSS I'll redo the website in that. Btw, is there any way to do a decent link system with CSS, like for example, having a link change colour when the mouse hovers over it? I can do that in individual HTML files, but can't figure out if its possible in CSS.
n/a
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
23rd June, 2005 at 07:24:51 -
Hmm Circy, you can't do that WITHOUT CSS (well you could do it with JavaScript, but that would be incredibly redundant), so I'm guessing you're confused as to what exactly CSS is. It's not just a stylesheet attached via a link attribute, it can also be embedded into the head of HTML files using the <style> tag (view source of this page to see what I mean). You can even attach it to individual elements (e.g. <h1 style="padding:2px"> ).
Ehm...
I don't think that's possible.
You should take a look at the CSS tutorials on www.w3schools.com , they're really good. I think Pete already posted a link about that, oh well.
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
23rd June, 2005 at 14:49:36 -
Oh right, my bad. Yep it's very easy. Just put all your CSS code into a file called "style.css" or something. Then in the <head> of your HTML documents, link to it thusly:
- in an external CSS file? I can do most of the stuff, eg text colours, spacings, fonts in an external CSS file, but have yet to figure out how to do link effects like the one mentioned above.
Edited by the Author.
n/a
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
23rd June, 2005 at 18:21:18 -
You just whack it in there, it's not "special" or anything. Make sure if you use :hover, :visited etc you put them in the right order as stated on that page I linked to. Otherwise go nuts.