TinyPortal
Development => Support => Topic started by: MinatO on February 05, 2012, 02:16:59 PM
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:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg51.imageshack.us%2Fimg51%2F9252%2Fbracketsup.png&hash=09967a8934bcc842070fe3ad6680822677edd25a)
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.
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">
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?
In your theme folder, index.template.php has the head in it, in default theme the head starts around line 85.