Raised This Month: $12 Target: $400
 3% 

HTML help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 05-31-2015 , 09:43   HTML help
Reply With Quote #1

Okay so i need some help with HTML because i suck at it.
I know this isnt a good forum to ask in but alot of people here have a large knownledge in html

Alright. So im trying to make a cool looking top15 but i fail with placing the numbers at the right spot on the picture.

So this is the picture im trying to set the different numbers on.




And this is my code right now that i have been testing with.

Code:
new Style[] = "<meta charset=UTF-8><style>body{background-image:url(http://i.imgur.com/J066TTX.png);background-repeat:no-repeat;background-size:100%% 100%%;font-family:Impact;color:#00FF00;position:absolute;top:17%%;font-size:20}</style>"
Code:
		iLen = format(g_sBuffer[iLen], 2047, Style)
		iLen += format(g_sBuffer[iLen], 2047 - iLen, "<body><table width=50%% border=0 cellpadding=0 cellspacing=1>")

Code:
			iLen += format(g_sBuffer[iLen], 2047 - iLen, "<tr><td><font color=^"orange^">%i.</font><font color=^"red^">%s</font>\
			<td>%i<td>%i<td>%i<td>%i<td>%i<td>%i<td>%i<td>%i<td>%i",\
			i + 1, name1[i], aInfo[i][MVP], aInfo[i][Detonated], aInfo[i][Planted], aInfo[i][Kills], aInfo[i][Deaths], aInfo[i][Knives], aInfo[i][Headshots], aInfo[i][Grenades], aInfo[i][Defuses])
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.

Last edited by ironskillz1; 05-31-2015 at 18:12.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
xEhsaan
Member
Join Date: Mar 2015
Location: Isfahan, Iran
Old 05-31-2015 , 09:54   Re: HTML help
Reply With Quote #2

Use CSS instead of shit HTML attributes, you can do a lot of stuff better and cleaner with CSS.
__________________
* Wait for something awesome...
* AMX Mod X Plugin Translation Repository [Paused Temporarily]
* Knife Deathmatch Shop
* Knife CFG Detector
* Looking for an idea...
xEhsaan is offline
Send a message via Skype™ to xEhsaan
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 05-31-2015 , 10:15   Re: HTML help
Reply With Quote #3

i would suggest breaking down each image at the top in separate images, then putting them inside the table with no cell spacing
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 05-31-2015 , 14:33   Re: HTML help
Reply With Quote #4

Okay but do someone know why its a big gap between the name and the numbers?
I cant find out why :/
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-31-2015 , 16:26   Re: HTML help
Reply With Quote #5

Quote:
Originally Posted by ironskillz1 View Post
Okay but do someone know why its a big gap between the name and the numbers?
I cant find out why :/
You should do what aron suggested. If you really want to investigate the current state, you need to view the HTML in a browser that has web development tools (Firefox and Chrome both have tools to investigate your issue).
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode