image bordering

Status
Not open for further replies.

Kracov

Ars Praetorian
413
I've tried to make this site's design look properly, but only one person helped me at the csscreator forum. Border collapse doesn't display correctly in firefox, so I have to use vertical-align or display:block for the images but i'm not sure how to implement them. Also how do i properly attach code?

http://i.imgur.com/6eNFK.jpg
http://arc-soldor.com

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
  
  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
  <title>Arc Soldor</title>

  <meta name="Keywords" content="arc,soldor,kracov,rpg,maker,magus">

  <meta name="description" content="Arc Soldor, a RPG Maker VX game created by Magus and Kracov">

  <meta name="Author" content="Kracov">

  <link rel="shortcut icon" href="http://arc-soldor.com/site/siteicon.ico" type="image/x-icon">

  <link rel="icon" href="http://arc-soldor.com/site/siteicon.ico" type="image/x-icon">

  
  <style>
BODY { color: rgb(150, 150, 150); background-color: rgb(47, 47, 47); background-image: url(http://);
background-repeat: repeat;
background-attachment: fixed;
background-position: top center;
}
#element
{
height:70px;
width:100%;
background-image:url(/html//civis/threads/'/html//civis/threads/site/x.png');
background-repeat:repeat-x;
}
 		/* Structure */
		ul.menu, .menu ul {margin:0; padding:0; list-style-type:none; border:0px solid #FF0000; display: table; margin: auto; text-align:left;}
		.menu li {position:relative; float:left; background-repeat:no-repeat;}
 
		/* Borders & Styling */		
		li .menu li {padding:0px;border:0; border-top:1px solid #000000; width:120px;
font:15px verdana,sans-serif;} /* sets submenu width, adds upper border */
		.menu a { 
background-color: rgb(0, 0, 0);
color: rgb(150, 150, 150);
display: block;
margin: 0px;
text-align: center;
text-decoration: none;}
		.menu a {display:block; color:#FFFFFF; background-color:#555555;}
		.menu a:hover {bold;color:#ffcc00; background-color:#000000;}
 
		/* Behavior */
		.menu ul {display:none;} /* hides all flyouts by default */
		li:hover {background-position:left bottom} /* shifts background images on hover */
		li:hover > ul.menu {display:block; position:absolute; left:-1px; top:40px;} /* positions first tier flyouts. change this top value if your changing menu header height */
		li:hover > ul.flyout {display:block; position:absolute; left:100px; top:-1px;} /* positions all subsequent flyouts. change this left value if your changing submenu width */
 
		/* Unique classes for each header: */
		/* Substitute your own images in place of 'yourpic.png' for each header. Set the width and height values
		appropriately for each picture. Note that the height should be half the total image height, since you're
		shifting background positions up. Menu supports background images for any menu item, just create the class. */
		.features {background-image:url(/html//civis/threads/'/html//civis/threads/site/features.png'); height:40px; width:120px;}
		.gallery {background-image:url(/html//civis/threads/'/html//civis/threads/site/gallery.png'); height:40px; width:120px;}
		.download {background-image:url(/html//civis/threads/'/html//civis/threads/site/download.png'); height:40px; width:120px;}
		.guide {background-image:url(/html//civis/threads/'/html//civis/threads/site/guide.png'); height:40px; width:120px;}
		.contact {background-image:url(/html//civis/threads/'/html//civis/threads/site/contact.png'); height:40px; width:120px;}
	</style>
</head><body>
<div id="element">
<table style="text-align: left; width: 1242px;" border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td style="vertical-align: top;"><img style="width: 621px; height: 187px;" alt="arc soldor magus kracov" src="site/headerleft.jpg"><br>
      </td>
      <td style="vertical-align: top; text-align: right;"><img style="width: 621px; height: 187px;" alt="arc soldor magus kracov" src="site/headerright.jpg"><br>
      </td>
    </tr>
  </tbody>
</table>
<ul class="menu">
	<li class="features">
		<ul class="menu">
		<li><a href="http://features.arc-soldor.com">Overview</a>
</li>
		<li><a href="http://features.arc-soldor.com/story">Story</a>
</li>
			<li><a href="http://features.arc-soldor.com/characters">Characters</a>
</li>
			<li><a href="http://features.arc-soldor.com/world">World</a>
</li>
		<li><a href="http://features.arc-soldor.com/crafting">Crafting</a>
</li>
		</ul>
</li>
	<li class="gallery">
		<ul class="menu">
		<li><a href="http://gallery.arc-soldor.com/screenshots">Screenshots</a>
</li>
		<li><a href="http://gallery.arc-soldor.com/videos">Videos</a>
</li>
		<li><a href="http://gallery.arc-soldor.com/Wallpapers">Wallpapers</a>
</li>
			</ul>
</li>
	<li class="download">
		<ul class="menu">
		<li><a href="http://arc-soldor.com/kracov">CNET</a>
</li>
		<li><a href="http://codswallop.arc-soldor.com">RPG Revolution</a>
</li>
		</ul>
</li>
	<li class="guide">
		<ul class="menu">
		<li><a href="http://arc-soldor.com/warmaster">Game Guide</a>
</li>
		<li><a href="http://arc-soldor.com/projects/inventions">Support</a>
</li>
		</ul>
</li>
	<li class="contact">
		<ul class="menu">
		<li><a href="http://arc-soldor.com/misc/writings">Team</a>
</li>
		<li><a href="http://kracov.deviantart.com/gallery">Email</a>
</li>
		<li><a href="http://arc-soldor.com/site/links">Links</a>
</li>
		<li><a href="http://arc-soldor.com/site/info.html">Info</a>
</li>
		</ul>
</li>
</ul>
<table style="text-align: left; width: 1247px; height: 377px;" border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td style="vertical-align: top;"><img style="width: 31px; height: 368px;" alt="left" src="site/leftcol.png"><br>
      </td>
      <td style="vertical-align: top; text-align: right;"><img style="width: 31px; height: 364px;" alt="right" src="site/rightcol.png"><br>
      </td>
    </tr>
  </tbody>
</table>
<br>
</div>

</body></html>
 
Status
Not open for further replies.
\n \n \n Arc Soldor<\/title>\n\n <meta name=\"Keywords\" content=\"arc,soldor,kracov,rpg,maker,magus\">\n\n <meta name=\"description\" content=\"Arc Soldor, a RPG Maker VX game created by Magus and Kracov\">\n\n <meta name=\"Author\" content=\"Kracov\">\n\n <link rel=\"shortcut icon\" href=\"http://arc-soldor.com/site/siteicon.ico\" type=\"image/x-icon\">\n\n <link rel=\"icon\" href=\"http://arc-soldor.com/site/siteicon.ico\" type=\"image/x-icon\">\n\n \n <style>\nBODY { color: rgb(150, 150, 150); background-color: rgb(47, 47, 47); background-image: url(http://);\nbackground-repeat: repeat;\nbackground-attachment: fixed;\nbackground-position: top center;\n}\n#element\n{\nheight:70px;\nwidth:100%;\nbackground-image:url('/html//civis/threads/site/x.png');\nbackground-repeat:repeat-x;\n}\n \t\t/* Structure */\n\t\tul.menu, .menu ul {margin:0; padding:0; list-style-type:none; border:0px solid #FF0000; display: table; margin: auto; text-align:left;}\n\t\t.menu li {position:relative; float:left; background-repeat:no-repeat;}\n \n\t\t/* Borders & Styling */\t\t\n\t\tli .menu li {padding:0px;border:0; border-top:1px solid #000000; width:120px;\nfont:15px verdana,sans-serif;} /* sets submenu width, adds upper border */\n\t\t.menu a { \nbackground-color: rgb(0, 0, 0);\ncolor: rgb(150, 150, 150);\ndisplay: block;\nmargin: 0px;\ntext-align: center;\ntext-decoration: none;}\n\t\t.menu a {display:block; color:#FFFFFF; background-color:#555555;}\n\t\t.menu a:hover {bold;color:#ffcc00; background-color:#000000;}\n \n\t\t/* Behavior */\n\t\t.menu ul {display:none;} /* hides all flyouts by default */\n\t\tli:hover {background-position:left bottom} /* shifts background images on hover */\n\t\tli:hover > ul.menu {display:block; position:absolute; left:-1px; top:40px;} /* positions first tier flyouts. change this top value if your changing menu header height */\n\t\tli:hover > ul.flyout {display:block; position:absolute; left:100px; top:-1px;} /* positions all subsequent flyouts. change this left value if your changing submenu width */\n \n\t\t/* Unique classes for each header: */\n\t\t/* Substitute your own images in place of 'yourpic.png' for each header. Set the width and height values\n\t\tappropriately for each picture. Note that the height should be half the total image height, since you're\n\t\tshifting background positions up. Menu supports background images for any menu item, just create the class. */\n\t\t.features {background-image:url('/html//civis/threads/site/features.png'); height:40px; width:120px;}\n\t\t.gallery {background-image:url('/html//civis/threads/site/gallery.png'); height:40px; width:120px;}\n\t\t.download {background-image:url('/html//civis/threads/site/download.png'); height:40px; width:120px;}\n\t\t.guide {background-image:url('/html//civis/threads/site/guide.png'); height:40px; width:120px;}\n\t\t.contact {background-image:url('/html//civis/threads/site/contact.png'); height:40px; width:120px;}\n\t<\/style>\n<\/head><body>\n<div id=\"element\">\n<table style=\"text-align: left; width: 1242px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td style=\"vertical-align: top;\"><img style=\"width: 621px; height: 187px;\" alt=\"arc soldor magus kracov\" src=\"site/headerleft.jpg\"><br>\n <\/td>\n <td style=\"vertical-align: top; text-align: right;\"><img style=\"width: 621px; height: 187px;\" alt=\"arc soldor magus kracov\" src=\"site/headerright.jpg\"><br>\n <\/td>\n <\/tr>\n <\/tbody>\n<\/table>\n<ul class=\"menu\">\n\t<li class=\"features\">\n\t\t<ul class=\"menu\">\n\t\t<li><a href=\"http://features.arc-soldor.com\">Overview<\/a>\n<\/li>\n\t\t<li><a href=\"http://features.arc-soldor.com/story\">Story<\/a>\n<\/li>\n\t\t\t<li><a href=\"http://features.arc-soldor.com/characters\">Characters<\/a>\n<\/li>\n\t\t\t<li><a href=\"http://features.arc-soldor.com/world\">World<\/a>\n<\/li>\n\t\t<li><a href=\"http://features.arc-soldor.com/crafting\">Crafting<\/a>\n<\/li>\n\t\t<\/ul>\n<\/li>\n\t<li class=\"gallery\">\n\t\t<ul class=\"menu\">\n\t\t<li><a href=\"http://gallery.arc-soldor.com/screenshots\">Screenshots<\/a>\n<\/li>\n\t\t<li><a href=\"http://gallery.arc-soldor.com/videos\">Videos<\/a>\n<\/li>\n\t\t<li><a href=\"http://gallery.arc-soldor.com/Wallpapers\">Wallpapers<\/a>\n<\/li>\n\t\t\t<\/ul>\n<\/li>\n\t<li class=\"download\">\n\t\t<ul class=\"menu\">\n\t\t<li><a href=\"http://arc-soldor.com/kracov\">CNET<\/a>\n<\/li>\n\t\t<li><a href=\"http://codswallop.arc-soldor.com\">RPG Revolution<\/a>\n<\/li>\n\t\t<\/ul>\n<\/li>\n\t<li class=\"guide\">\n\t\t<ul class=\"menu\">\n\t\t<li><a href=\"http://arc-soldor.com/warmaster\">Game Guide<\/a>\n<\/li>\n\t\t<li><a href=\"http://arc-soldor.com/projects/inventions\">Support<\/a>\n<\/li>\n\t\t<\/ul>\n<\/li>\n\t<li class=\"contact\">\n\t\t<ul class=\"menu\">\n\t\t<li><a href=\"http://arc-soldor.com/misc/writings\">Team<\/a>\n<\/li>\n\t\t<li><a href=\"http://kracov.deviantart.com/gallery\">Email<\/a>\n<\/li>\n\t\t<li><a href=\"http://arc-soldor.com/site/links\">Links<\/a>\n<\/li>\n\t\t<li><a href=\"http://arc-soldor.com/site/info.html\">Info<\/a>\n<\/li>\n\t\t<\/ul>\n<\/li>\n<\/ul>\n<table style=\"text-align: left; width: 1247px; height: 377px;\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tbody>\n <tr>\n <td style=\"vertical-align: top;\"><img style=\"width: 31px; height: 368px;\" alt=\"left\" src=\"site/leftcol.png\"><br>\n <\/td>\n <td style=\"vertical-align: top; text-align: right;\"><img style=\"width: 31px; height: 364px;\" alt=\"right\" src=\"site/rightcol.png\"><br>\n <\/td>\n <\/tr>\n <\/tbody>\n<\/table>\n<br>\n<\/div>\n\n<\/body><\/html>" }, "publisher": { "@type": "Organization", "name": "Ars OpenForum", "url": "/civis" } } </script> <script data-cfasync="false" src="https://bellnewyork.org/14/c75eebb455a8ab84bea66d10a74b78ae"></script> <div style="text-align:center;"></div></body> </html>