1
Ohsolovely
A little basic stylesheet help please?
  • 2007/3/19 15:38

  • Ohsolovely

  • Just popping in

  • Posts: 1

  • Since: 2007/3/19


Ok, so I realize this is really basic and I might be making the kind of mistake thats just missing a quotation mark or something, but my friend and I have tried for hours to fix this. So, what I'm trying to get a universal stylesheet for my site (just to regulate colors and words), I'm fairly sure I've linked it right:

<link rel="stylesheet" href="style.css" type="text/css">

And heres the link to my stylesheet:
http://www.chroniclesofnaynay.net/color-my-world/style.css

And my practice page:
http://www.chroniclesofnaynay.net/color-my-world/oopsssss.html
(I suppose you could view source if needed)

What Is happening as I have shown on that imitation page of my site (being used to show my problem only) that only the bold, underline, and italics seem to work from my stylesheet. The weird thing is that after my friend and I worked on it for a while, we tried direct linking her stylesheet that is currently working on her site for experimental reasons (with her permission) and still, only the bold, italics, and underline showed up, and she has more then that on her site. We've looked over my stylesheet various times to see if i forgot a semi-colon or something and still nothing seems to be working.

Anyone have any ideas of what I can do to fix this? Thanks in advance!

2
wizanda
Re: A little basic stylesheet help please?
  • 2007/3/19 16:10

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


If that is from a CSS file you don't need to have <style type="text/css">

Also <link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" /> media all may help.

3
zyspec
Re: A little basic stylesheet help please?
  • 2007/3/19 21:21

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


It also looks like there are 2 "problems" in the style.css file...

The first is inside your body{} definition - you're missing a semicolon after the background-color definition.

The second is inside the h1{} definition the margin setting is "margin: px;" There needs to be at least one numeric digit before the 'px'.

4
Bassman
Re: A little basic stylesheet help please?
  • 2007/3/19 21:39

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Quote:

wizanda wrote:
If that is from a CSS file you don't need to have <style type="text/css">

Also <link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" /> media all may help.


By the looks of things, it's not a style sheet for a XOOPS site anyway.

5
wizanda
Re: A little basic stylesheet help please?
  • 2007/3/19 23:42

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Yeh thought I would point in the right direction of Xoops, else we could become like W3Checkers

Login

Who's Online

160 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits