Jump to content

Recommended Posts

Posted

I have this code as html.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="Description" content="Website by Rafal" />
<meta name="Keywords" content="l2" />
<link rel="Stylesheet" type="text/css" href="menu.css" />
<title>L2 Abyss World</title>
</head>

<body>
<div id="outside_container">
<div id="container">
</div></div>
<center>
<div id="obj">
	<object type="application/x-shockwave-flash" data="l2.swf" width="1024" height="450">
		<param name="quality" value="high">
		<param name="wmode" value="transparent">
		<param name="menu" value="false">
	<div>
		<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
		<p><a href="www.adobe.com/go/getflashplayer.html"><img src="images/skin/get_flash_player.html" alt="Get Adobe Flash player" width="112" height="33"></a></p>
	</div>
	</object>
</div>


<div id="all">
    <div style="height: 0px;">
        <a href="index.html" id="logo"></a>
    </div>

    <table cellpadding="0" border="0" cellspacing="0" style="margin-top: 476px;" summary="">
        <tr>
            <td>
            </td>
        </tr>
    </table>

    <div class="clear"></div>

    <div id="menu"><div id="menutext">
        <a href="/" class="active">Home</a>
       <span></span>
        <a href="/">Forum</a>
        <span></span>
        <a href="/">FAQ</a>
        <span></span>
        <a href="/">Download</a>
        <span></span>
        <a href="/">Contact</a>
        <span></span>
        <div style="clear: both;"></div>
    </div>
</div>

<div id="umenut"></div>
<div id="umenub"></div>
<div id="umenur"></div>
<div id="umenul"></div>
<div class="clear"></div></div></div>

<div id="kamael">
</div>

<div id="vote">
</div>

<div id="board">
</div>

<div id="status">
</div>

<div id="util">
</div>

<div id="follow">
</div>

<div id="footer">
</div>

<div id="mainbox">
</div>

</center>
</body>
</html>

 

 

and this code as css

 

/*
Body & Header
*/
body {
margin: auto;
width:100%; 
height: 100%;
    background: #212121;
    font-size: 12px;
    font-family: "Trebuchet MS", sans-serif;
    line-height: 2px;
}

#logo{
margin: auto;
width:100%; 
height: 100%;
background:url(images/logo.png) no-repeat;
    display: block;
    height: 476px;
    width: 1280px;
}

#obj{
margin: auto;
width:100%; 
height: 100%;
    display: block;
    position: absolute;
    top: 25px;
right: 17px;
}

img { border: none; }
a { color: #ffffff; text-decoration: none; }

#all {
    width: 1280px;
    margin: auto;
}

#all2 {
    line-height: 16px;
}

#all3 {
    width: 1280px;
    margin: auto;
}

/*
Menu
*/

#menu {
    background: url(images/menubg.png);
    height: 68px;
    padding-left: 90px;
    overflow: hidden;
    }	

#menu a {
   display: block;
   float: left;
   padding: 35px 0px 0px 0px;
   width: 75px;
}

#menu a:hover, #menu .active {
    background: url('images/menu_akt.png')no-repeat;
    width: 75px;
    height: 68px;
    color: #3399ff;
    
}

#menutext
{
font-size: 14px;
    text-align:center;
color:ffffff;
}

#umenut
{
margin: auto;
background:url(images/umenu.png) no-repeat;
    height: 2px;
    width: 1280px;
float: bottom;
}
#umenub
{
margin: auto;
background:url(images/umenu.png) no-repeat;
    height: 3px;
    width: 1280px;
position:absolute;
    top:1490px;
}
#umenul
{
margin: auto;
background:url(images/umenu1.png) no-repeat;
    height: 948px;
    width: 2px;
position:absolute;
    left:1589px;
top: 544px;
}
#umenur
{
margin: auto;
background:url(images/umenu1.png) no-repeat;
    height: 948px;
    width: 2px;
  position:absolute;
   right:1589px;
top: 544px;
}

.clear {
    clear: both;
}

/*
Vote
*/

#vote{
background:url(images/vote.png) no-repeat;
    height: 300px;
    width: 188px;
position:absolute;
left:1225px;
top:635px;
}


#kamael{
background:url(images/kamael.png) no-repeat;
    height: 238px;
    width: 171px;
margin: auto;
position:absolute;
left:1285px;
top:440px;
}

/*
Main
*/

#board{
background:url(images/main.png) no-repeat;
    height: 955px;
    width: 1280px;
margin: auto;
display:block;
margin: auto;
top:553px;
left: 300px;
}

/*
Server Status
*/

#status{
background:url(images/status.png) no-repeat;
    height: 292px;
    width: 250px;
margin: auto;
position:absolute;
right:1225px;
top:570px;
}

/*
Utilities
*/

#util{
background:url(images/util.png) no-repeat;
    height: 400px;
    width: 188px;
margin: auto;
position:absolute;
right:1225px;
top:880px;
}

/*
Follow
*/

#follow{
background:url(images/follow.png) no-repeat;
    height: 401px;
    width: 188px;
margin: auto;
position:absolute;
left:1225px;
top:945px;
}

/*
footer
*/

#footer{
background:url(images/footer.png) no-repeat;
    height: 123px;
    width: 936px;
margin: auto;
position:absolute;
left:483px;
top:1350px;
}

/*
Mainbox
*/

#mainbox{
background:url(images/mainbox.png) no-repeat;
    height: 650px;
    width: 580px;
margin: auto;
position:absolute;
left:664px;
top:660px;
}

 

I see my site perfect but when i watch it from someones else it is so messed up.Any idea why?

Posted

Well I won't do the copy paste now to see what it does but certainly it depends on the browser. If you upload it somewhere to see it and tell me which broswer doesn't seem to render it right, then I might can help you out ;)

Posted

I used some of ur code as i bought a desing from snoopi.The thing is that i get these weird situations that i dont run with ur 2 projects u did for snoopi.Id like a help.But see u tommorow ill be glad if u could help me i am like 20 hours coding all day long >.<

Posted

I fixxed everything and all works correctly.The only problem is that hover effect and active effect over menu doesnt stay when i change pages.Any help?

/*
Menu
*/

#menu {
    background: url(images/menubg.png);
    height: 68px;
    padding-left: 40px;
    overflow: hidden;
    }	

#menu a {
   display: block;
   float: left;
   padding: 35px 0px 0px 0px;
   width: 85px;
}

#menu a:hover, #menu .active {
    background: url('images/menu_akt.png')no-repeat;
    width: 75px;
    height: 68px;
    color: #3399ff;
    
}

#menutext
{
font-size: 14px;
    text-align:center;
color:ffffff;
}

Posted

  <div id="menu"><div id="menutext">
      <a href="/" class="active">Home</a>
       <span></span>
        <a href="/">Forum</a>
        <span></span>
        <a href="/">FAQ</a>
        <span></span>
        <a href="/">Download</a>
        <span></span>
        <a href="/">Contact</a>
        <span></span>
        <div style="clear: both;"></div>

 

cause this give this effect  <a href="/" class="active">Home</a>

 

so when you want do next page with it  <a href="/" class="active">Faq</a>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • ElmoreLab Harbor - Eternal C1 x1: ✅ https://harbor.elmorelab.com ElmoreLab Harbor - Eternal C1 x1 - is an exclusive server of the Eternal C1 chronicles from the top project ElmoreLab Harbor.   A unique server of its kind, on which everyone will have maximum pleasure, such as oldschool players who dream of nostalgia and to feel the warmest and classic C1 chronicles, as well as experienced players who are tired of thousands unbalanced servers of late chronicles. Due to the professional corrections of the balance system and the HONEST gameplay system - on this server, EVERY player will feel like in their own, warm and cozy Harbor C1. Let's return to the origins of L2 - back to 2004 in C1! ❤️   ⭐ Server characteristics:   STRICTLY 1 window, NO BOXES Bans for RMT and bots/cheats No donations with benefits Unique and high-quality PTS-build from Master Toma Professional corrections and full class-balance Reworked economy and closed all abuses Improved animations and all aspects of the game Exclusive HD-client with high-quality textures Experienced administration and management Fixed all bugs, geodata, exploits and holes Maximum sociality due to the 1-box system Discovering, exploring and researching Big online International server Nostalgia and oldschool-feelings   Rates: x1 Server start: 14.02.2025   The server is at the final stages of development and preparation for release. Information on the server will be updated, soon the patchnotes and changes/edits will be posted. Don't miss the legendary and epic experience on the best server in the last 20 years! ❤️ Join our C1-forum with a lot of information about server and active discussions.   ⭐ Website: https://harbor.elmorelab.com   ✅ Forum: https://forum-harbor.elmorelab.com   💥 Telegram: https://t.me/l2harbor https://t.me/l2harbor_chat   ⚡ Discord: https://discord.gg/harborelmorelab
    • yeah ok, if you say what is fuctional 100% i can't say something different 😛  but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
    • I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
    • hmm.. ok i just see that, is different code first of all. My sources is totally different based in other way, with else libraries.  I have access to modify everything even to make the clock to stop show how many time users play in server. 1) so maybe keep some personal info more hide. 2) i dont use ogg.dll 3) i create it and give it ready + support to install it. Plus what is mine can working with what ever .exe you want not just l2 with same simple method. And i am sure if you try this source to compile it, after 3 hours discord will like shadowban your API too thats my source
  • Topics

×
×
  • Create New...