* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Div rules not applying to finished web site  (Read 724 times)

0 Members and 1 Guest are viewing this topic.

Offline ordelore

  • Full User
  • Safe-haven access
  • Join Date: Oct 2015
  • Location:
  • Posts: 92
  • Post Rating Ratio: +2/-0
  • 8x
    • @ordelore8x
    • ordelore8x
    • @UCJ9TFxpyxonUZvAv-S8K_1A
    • /u/ordelore8x
    • ordelore
    • 112/11231
    • My WIP Story
Div rules not applying to finished web site
« on: May 27, 2016, 08:07:49 pm »
I have the complete website's code available at https://github.com/ordelore/ordelore.github.io
But here are my two main bits of conflicting code
The h1 text shows up as regular, black, serif text.
Code: ("HTML") [Select]
<div id="top">
    <h1>Copy of Untitled Story (1)</h1>
</div>
Code: ("CSS") [Select]
#top {
    font-family: Sans-Serif;
    background-color:#000000;
    color:white;
    text-align:center;
    padding:5px;
    text-align: center;
}


  • Calculators owned: TI-84+SE, TI_Nspire CX
Calc Wars is still alive (I hope)

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3079
  • Post Rating Ratio: +30/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Div rules not applying to finished web site
« Reply #1 on: May 27, 2016, 08:24:39 pm »
Remove the <style> tags in your main.css. As simple as that. Somehow it keeps the browser from parsing the CSS.

EDIT: Wait, it must look for a <div> inside of a <<style>> tag, as if you wrote <style> div { ... }, which makes no sense. Still no good.
« Last Edit: May 27, 2016, 08:29:20 pm by Juju »
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On semi-hiatus until who knows when. CODEWALRUS 2.0 COMING SOON
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline ordelore

  • Full User
  • Safe-haven access
  • Join Date: Oct 2015
  • Location:
  • Posts: 92
  • Post Rating Ratio: +2/-0
  • 8x
    • @ordelore8x
    • ordelore8x
    • @UCJ9TFxpyxonUZvAv-S8K_1A
    • /u/ordelore8x
    • ordelore
    • 112/11231
    • My WIP Story
Re: Div rules not applying to finished web site
« Reply #2 on: May 27, 2016, 09:50:21 pm »
Thanks Juju, removing the <style> tags fixed it.
  • Calculators owned: TI-84+SE, TI_Nspire CX
Calc Wars is still alive (I hope)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games