Been setting up a web page now, but i encounter two problems which i can’t seem to find a solution to(it’s with a custom template).
Number one: I get a white frame around the login box,
and two: The content in the main section seems to move to the right when adding content using ModX
Also, how can i get it to show the entire path from index in the "You are here:" area?
Link to the page:
http://unicron.un.funpic.org/
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Welcome to [(site_name)]'s site - [*pagetitle*]</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="Unicron" />
<meta name="description" content="Welcome to Unicron's Homepage" />
<meta name="keywords" content="unicron, homepage" />
<base href="[(site_url)]"/>
<link rel="stylesheet" type="text/css" href="[(base_url)]assets/templates/css/dark_view.css"" media="screen, tv, projection" title="Default" />
</head>
<body id="unicron">
<div id="page">
<div id="header">
<a href="[(site_url)]"/>Unicron</a>
</div>
<div id="wrapper">
<div id="content">
<div id="path">
You are here: <a href="[(page_url)]">[*pagetitle*]</a>
</div>
<div id="main">
<p>
[*content*]
</p>
</div>
</div>
<div id="left">
<div id="nav">
<h3>Navigation</h3>
<div class="inner_box">
<p>
[!Wayfinder?startId=`0`!]
</p>
</div>
</div>
<div class="left_box">
<h3>Latest</h3>
<div class="inner_box">
<p>
[[Ditto? &startID=`2` &summarize=`1` &total=`1` &commentschunk=`Comments` &tpl=`nl_sidebar` &showarch=`0` &truncLen=`100` &truncSplit=`0`]]
<p>
</div>
</div>
<div class="left_box">
<h3>Login</h3>
<div class="inner_box">
<p>
[!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!]
</p>
</div>
</div>
<div class="left_box">
<h3>Links</h3>
<div class="inner_box">
<p>
- <a href="http://www.oswd.org/" title="Open Source Web Design">OSWD.org</a><br />
- <a href="http://www.jonasjohn.de/" title="Personal homepage of Jonas John">Jonas John</a><br />
- <a href="http://www.photocase.com/" title="license free stock photos">Photocase</a><br />
- <a href="http://validator.w3.org/check/referer" title="This website is compliant with XHTML Strict 1.0">Valid XHTML</a><br />
- <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website contains valid CSS">Valid CSS</a><br />
</p>
</div>
</div>
</div>
</div>
<div id="footer">
<p>
Copyright © 2008 <a href="index.html">Unicron</a><FONT SIZE="0"><SUP>TM</SUP></FONT>.
Webdesign by <a href="http://www.jonasjohn.de/">Jonas John</a>.
Re-Audit by <a href="index.html">Unicron</a><FONT SIZE="-1"><SUP>TM</SUP></FONT>.
</p>
</div>
<!--</div>Workaround to comment out adds on www.funpic.org</body>-->
</div>
</body>
</html>
CSS style sheet
body,div,p,img,form,h1,h2,h3,h4,h5,h6,ul,li {
margin: 0;
padding: 0;
border: 0;
}
h1,h2,h3,h4,h5,h6 {
color: #ee5d07;
}
body {
margin: 0.5em 0em 2em 0em;
font-size: 100%;
font-family: "Segoe UI", Lucida Grande, Verdana, Arial, sans-serif;
line-height: 1.1em;
text-align: center;
background-color: #1d1d1d;
background-image: url(../image/header_back.png);
background-repeat: repeat-x;
}
#page {
width: 70%;
text-align: left;
margin-left: auto;
margin-right: auto;
}
#form {
font-family: "Segoe UI", Trebuchet MS, Arial, Tahoma, sans-serif;
}
/* header: */
#header {
position: relative;
width: 100%;
height: 2.8em;
color: #fff;
vertical-align: middle;
text-align: left;
}
#header a:link, #header a:visited {
color: #ee5d07;
text-decoration: none;
font-family: "Segoe UI", Trebuchet MS, Arial, Tahoma, sans-serif;
font-weight: bold;
font-size: 1.9em;
letter-spacing: 0.1em !important;
letter-spacing: -0.2em;
line-height: 1.2em;
}
/* left column: */
#left {
width: 24%;
float: left;
position: relative;
font-size: 0.8em;
}
div#nav {
background-color: #212121;
width: 90%;
border-right: 0.18em solid #1b1b1b;
border-left: 0.18em solid #1b1b1b;
border-bottom: 0.16em solid #1b1b1b;
}
#nav ul {
list-style-type: none;
padding: 0.5em 0em 0.9em 0em;
}
#nav ul li {
padding: 0.2em 0em 0.2em 0.9em;
margin-right: 0.3em;
}
#nav a:link, #nav a:visited {
color: #ee5d07;
}
#nav a:hover, #nav a:active {
color: #000;
}
div.left_box {
background-color: #212121;
width: 90%;
margin-top: 1em;
border-right: 0.18em solid #1b1b1b;
border-left: 0.18em solid #1b1b1b;
border-bottom: 0.12em solid #1b1b1b;
}
div.left_box h3, div#nav h3 {
margin: 0em;
padding: 0.2em 0em 0.2em 1em;
font-size: 0.8em;
color: #ee5d07;
border-top: 0.3em solid #1b1b1b;
border-right: 0.20em solid #181818;
background-color: #111111;
text-transform: uppercase;
font-family: "Segoe UI", Verdana, Arial, sans-serif;
}
div.left_box p {
margin: 0em;
padding: 1em 1em 1em 1em;
}
div.left_box a:link {
color: #ee5d07;
}
div.left_box a:visited {
color: #ee5d07;
}
div.left_box a:hover, div.left_box a:active {
color: #000;
}
div.inner_box {
border-right: 0.15em solid #181818;
border-bottom: 0.15em solid #181818;
}
/* content column: */
#content {
float: right;
display: inline;
position: relative;
width: 75%;
font-size: 0.75em;
background-color: #212121;
border-right: 0.2em solid #1b1b1b;
border-bottom: 0.2em solid #1b1b1b;
}
#content h1 {
clear: both;
margin: 0em 0em 0em 0em;
padding: 0.5em 0em 0em 0.1em;
font-size: 1.7em;
font-family: "Segoe UI", Trebuchet MS, Arial, sans-serif;
color: #FF6300;
border-bottom: 0.05em solid #FF9853;
line-height: 1em;
}
#content p {
margin: 0em 0em 0.5em 0em;
padding: 0.35em;
}
#path {
font-family: "Segoe UI", Verdana, Arial, sans-serif;
margin: 0em 0em 0em 0em;
padding: 0.4em 0.6em 0.4em 0.6em;
font-size: 0.9em;
color: #2F5E80;
background-color: #111111;
border-right: 0.23em solid #181818;
border-top: 0.25em solid #1b1b1b;
border-left: 0.23em solid #1b1b1b;
}
#content a:link {
color: #2E668B;
}
#content a:visited {
color: #205060;
}
#content a:hover, #content a:active {
color: #000;
}
#content acronym {
border-bottom: 1px dotted #4284B5;
cursor: help;
margin: 0;
padding: 0;
}
#main {
padding: 0.5em 1.5em 1.5em 0.7em;
border-bottom: 0.2em solid #181818;
border-right: 0.2em solid #181818;
border-left: 0.2em solid #1b1b1b;
}
div.img_left, div.img_right {
border: 0;
}
div.img_left {
float: left;
margin: 0.5em 0.8em 0em 0em;
}
div.img_right {
float: right;
margin: 0.5em 0em 0em 0.8em;
}
div.img_left img, div.img_right img {
display: block;
margin: 0;
padding: 0;
}
/* this clears floating (e.g images) */
br.clear {
clear: both;
display: none;
}
/* footer: */
#footer {
margin: 0em;
padding: 0em;
font-size: 0.6em;
clear: both;
color: #027BC1;
text-align: right;
}
#footer p {
margin: 0em;
padding: 0.1em;
}
#footer a:link, #footer a:visited {
color: #027BC1;
}
#footer a:hover, #footer a:active {
color: #000000;
}
Any help would be Greatly appreciated