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>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Bought the interface source for the 557 protocol from him. Everything works as described, no issues so far. Smooth deal, would recommend.
    • Add try version of protocol 563 https://drive.google.com/file/d/1l1QnyFGXxX_c98FNUgXHFmDsIzZCrVc6/view?usp=drive_link
    • WTS Adena Stock 2.6kkk Titan 78 Sub Sagitarius 76 nobless Hirophant 78 Sub Cardinal 78 nobless   discord : nhr0711
    • We are not another "open-close" project. LOE is a long-term Essence server that has been live for over a year — NewAge x2 is our brand-new world, and it will never be wiped. 🗺 STAGED WORLD PROGRESSION Here is what kills most servers: no-lifers hit the cap in three days, everyone else logs in to a finished race. On LOE the world unlocks stage by stage, every ~2 weeks — new locations, new bosses, new gear ceiling. The server grows as one. Start on day one or day ten — you are still in the race. ✨ WHAT MAKES US DIFFERENT Subclass system on Essence — a full dedicated questline, unique for this platform. Your build, your rules. Talent system — three branches: tank, damage, farm. Two players, same class, different characters. Hero skills and deep character customization. Fair progression — power comes from playing, not from a credit card. x2 rates — the classic Essence pace without the grind wall. 📚 WE DOCUMENTED EVERYTHING 25,000+ items, every class with full skill tables, monsters, drop rates, quests, locations. Check the server before you even download it: loe.promo/wiki — no other project gives you this. 📋 SERVER INFO Platform: Lineage 2 Essence · Rates: x2 Open Beta: July 24 — test the stages and the subclass questline before launch Grand Opening: July 31, 20:00 GMT+3 Site & wiki in English — international players welcome 🔒 YOUR NICKNAME IS BEING TAKEN RIGHT NOW Reservation is already open. On the 31st the crowd arrives — the name you have carried through every server for years may simply be gone. Lock it in 30 seconds: Equal start for everyone. See you in Elcardia — July 31, 20:00 GMT+3. Questions? Drop them below — the team reads this thread daily.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..