Jump to content
  • 0

Patcher News Window


Caves

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  06/27/14
  • Last Seen:  

Hi, can someone help me with my patcher window, i dont know webcoding so i just tried out some from guides but i still get the white areas in the side, please help me if anyone can or knows how to properly code it, I just want the bacground to be placed on it without the white areas.
 
its the Notice.hmtl file for my patcher

<body>
<div style="background-image:url(http://www.ro-servername.net/patch/bgpatcher.jpg);width:100%;height:100%;color:black;font-size:18px;">
	<tr valign="top">
		<td>
		<div style="height:250px; width:100%;">
		<table border="0" width="100%" cellspacing="4" cellpadding="4">
			<tr>
				<td width="100%"><span class="header">Welcome to SERVER Ragnarok Online</span>
					<div class="content">
						<ul>
							<li>New I</li>
							<li>News II</li>
						</ul>
					</div>
				</td>
				</tr>
		</table>
		</div>
		</td>
	</tr>
</div>
<head>
<title></title>
</head>
<link rel="stylesheet" href="style.css" type="text/css">
</body>

post-27007-0-33578300-1438103553_thumb.png

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

I've used your code and a test image. Without changing anything (obviously except the image location) the page displays as in your above thumbnail.

 

Change 

<body>

to

<body style="margin:0;">

You might also want to add no-repeat to your bg, which can be done by simply changing 

background-image:url(http://

to

background: no-repeat url(http://
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1535
  • Reputation:   236
  • Joined:  08/03/12
  • Last Seen:  

which white layer ? i think  thats not from notice.html. its from your patcher design

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  06/27/14
  • Last Seen:  

which white layer ? i think  thats not from notice.html. its from your patcher design

 

its not from my patcher, its from the webwindow

heres my base patcher layout.

VF0ZRQQ.png

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

Hint: margin:0;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  06/27/14
  • Last Seen:  

Hint: margin:0;

I tried adding margin:0; on body and div but sadly it still has the same output, although I'm not even sure if thats where you meant it to be in. haha I'm sorry, I dont really know how much about web coding, although I'll still try to mingle with it. Who knows, maybe I might be able to hit a lucky guess. Thanks for the hint tho.

 

----

 

Still if anyone could code it correctly while I do some trial and error on my part, it would be much appreciated :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  06/27/14
  • Last Seen:  

Thank you, it finally worked like a charm  /no1

7AfBmhE.png

 

BTW, heres the code i did if anyone needs it.

<body style="margin:0;" style="background: no-repeat url(http://www.youro.net/patch/bgpatcher.jpg);width:100%;height:100%;color:black;font-size:18px;">
	<tr valign="top">
		<td>
		<div style="height:250px; width:100%;">
		<table border="0" width="100%" cellspacing="4" cellpadding="4">
			<tr>
				<td width="100%"><span class="header"><font color=#003cff>Welcome to Your Ragnarok Online</span></font>
					<div class="content">
						<ul>
							<li>New I</li>
							<li>News II</li>
						</ul>
					</div>
				</td>
				</tr>
		</table>
		</div>
		</td>
	</tr>
<head>
<title></title>
</head>
<link rel="stylesheet" href="style.css" type="text/css">
</body>
Edited by Caves
Link to comment
Share on other sites

×
×
  • Create New...