• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

CSS - Problem

Taste

Member
Joined
Apr 6, 2012
Messages
81
Reaction score
5
Hello OTland members,

It has been a while since I used CSS. I noticed a problem when changing between two different layouts.

This is how it look with layout number one. (Everything is fine).

oJsFUA.png


This is how it look with layout number two. Not how it should be.

PIkcqV.png


I don't think there's any problem with how it's coded actually, could it be that the layout doesn't support this?

Here's the CSS code though.

Code:
.online {
border-spacing:1px;
width:100%;
font-size:12px;
}

.online thead {
	background-image:url("img/newsheadline_background.gif");
	background-repeat:repeat-x;
	background-color:#1c565a;
	color:white;
	font-weight:bold;
	text-align:left;
}

.thead_subtitle {
background-image:url("img/newsheadline_background.gif");
background-repeat:repeat-x;
color:white;
font-weight:bold;
text-align:center;
}

Sincerely,
Taste​
 
Hard to say if you dont have the classes and ids.
Maybe you should just copy everything regarding the classes and ids used in that part to your new css file.
 
I'm using the very same CSS for both layouts but seems like it may be a template fault?

This is what I use in my shopsystem.php.
Code:
<table class="online">
		<thead>
			<tr class="thead_subtitle">
 
Well text color is set to Brown somewhere, links are white as they should be.
The Size of the objects that contains your table is bigger in the new layout, that's why 100% results in another size.
 
Give me the link to your website and I'll fix it in no time.
Also what's wrong is the width? or only the font colors.
 
The width is nothing to worry about. Second layout is a "edited" RL tibia template therefore the larger width.

I've got the website on localhost and I'm to lazy for opening ports et cetera in order to show it live.
 
Hosting your website, would give us the possibility to fix your problem in like 20 secs.
 
Back
Top