TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 151
  • Total: 151

My CSS changes?

Started by MinatO, February 05, 2012, 02:16:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MinatO

Hi

I have a webpage with brackets for a tournament, which I made before I had this portal. Now I tried copy/pasting the html code in a html article, but something seems to go wrong with the css.

It's as if the portal adapts changes my css, for example this is how my brackets look like when i open my notepad file in firefox:


Now look how my brackets look, when added in an article from tinyportal:
http://cybersport.co.uk/index.php?page=3

I can give you the code my html or stylesheet if necessary, but since it works perfectly in both my firefox as in dreamviewer, I doubt the problem lays there.

WillyP

The css is normaly included as a file, in the head section of the page. Alternatively it can be included inline for each element.

In this case you are trying to include the file in the body of your page, which is incorrect. Remove these parts from the block:

<meta utf-8""="" content="text/html; charset=" http-equiv="Content-Type">
<title>5vs5 Fixtures</title>
<link media="all" href="" type="text/css" rel="stylesheet">

And put this in the head of your theme, EDITING IT WHERE NOTED:
<link href="EDIT HERE TO INCLUDE THE PATH TO THIS FILE/jaegger.css?fin11" type="text/css" rel="stylesheet">


MinatO

First I tried the following before reading your post,
I edited the index.css that was in my css folder from my theme and copy/pasted my css code in it.
As a result, the layout of my whole site changed, but the brackets didn't fix.

"The head of my theme", which page is this exactly?

boardindex.template.php
display.template.php
index.php
index.template.php
settings.template.php

Or one of the files in the css, images, languages, scripts folders?




WillyP

In your theme folder, index.template.php has the head in it, in default theme the head starts around line 85.

This website is proudly hosted on Crocweb Cloud Website Hosting.