May 31, 2020, 05:17:05 pm

The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

WARNING: DO NOT UPGRADE your TI-83 Premium CE or TI-84 Plus CE to OS 5.5.1 and higher. It removes all compatibility with most games and removes ASM/C programming! DOWNGRADING IS IMPOSSIBLE. BE WARNED!

Likewise, do NOT update your TI-Nspire CX past OS 4.5.0, else using Ndless and ASM/C programs will be impossible.

Div rules not applying to finished web site

Started by ordelore, May 27, 2016, 08:07:49 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


I have the complete website's code available at
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>

Code ("CSS") Select

#top {
    font-family: Sans-Serif;
    text-align: center;
Calc Wars is still alive (I hope)


May 27, 2016, 08:24:39 pm #1 Last Edit: May 27, 2016, 08:29:20 pm by Juju
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.
Read Zarmina!
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


Thanks Juju, removing the <style> tags fixed it.
Calc Wars is still alive (I hope)

Powered by EzPortal