GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 503

0 members and 503 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,443
Threads: 103,072
Posts: 826,684
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 3 of 3

Thread: HTML HELL

  1. #1
    Join Date
    Feb 2005
    Location
    On the turning way...
    Posts
    1,643

    Default

    I'm trying really hard to get the hang of coding, but while I learn, can you please help me out with this problem?

    I'm trying to get this header to align properly with the rest, I can't seem to figure it out.

    First look at teh blog

    Then look at this code (I've bolded what I think is the trouble spot):

    <&#33;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><&#036;BlogPageTitle&#036;></title>

    * <&#036;BlogMetaData&#036;>

    * <style type="text/css">
    #b-navbar{
    height:0px;
    visibility:hidden;
    }


    body {
    * background:#000;
    * margin:0;
    * padding:40px 20px;
    * font:x-small "Trebuchet MS",Trebuchet,Verdana,Sans-Serif;
    * text-align:center;
    * color:#ccc;
    * font-size/* */:/**/small;
    * font-size: /**/small;
    * }
    a:link {
    * color:#666;
    * text-decoration:none;
    * }
    a:visited {
    * color:#333;
    * text-decoration:none;
    * }
    a:hover {
    * color:#888;
    * text-decoration:underline;
    * }
    a img {
    * border-width:0;
    * }


    /* Header
    ----------------------------------------------- */
    #header {
    * width:660px;
    * margin:0 auto 10px;
    * border:1px solid #333;
    * }
    #blog-title {
    * margin:5px 5px 0;
    * padding:20px 20px .25em;
    * border:1px solid #222;
    * border-width:1px 1px 0;
    * font-size:200%;
    * line-height:1.2em;
    * color:#ccc;
    * text-transform:uppercase;
    * letter-spacing:.2em;
    * }
    #blog-title a {
    * color:#ccc;
    * text-decoration:none;
    * }
    #blog-title a:hover {
    * color:#ad9;
    * }
    #description {
    * margin:0 5px 5px;
    * padding:0 20px 20px;
    * border:1px solid #222;
    * border-width:0 1px 1px;
    * font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.2em;
    * color:#777;
    * }


    /* Content
    ----------------------------------------------- */
    #content {
    * width:660px;
    * margin:0 auto;
    * padding:0;
    * text-align:left;
    * }
    #main {
    * width:410px;
    * float:left;
    * }
    #sidebar {
    * width:220px;
    * float:right;
    * }


    /* Headings
    ----------------------------------------------- */
    h2 {
    * margin:1.5em 0 .75em;
    * font:bold 78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.2em;
    * color:#777;
    * }


    /* Posts
    ----------------------------------------------- */
    .date-header {
    * margin:1.5em 0 .5em;
    * }
    .post {
    * margin:.5em 0 1.5em;
    * border-bottom:1px dotted #444;
    * padding-bottom:1.5em;
    * }
    .post-title {
    * margin:.25em 0 0;
    * padding:0 0 4px;
    * font-size:140%;
    * line-height:1.4em;
    * color:#b2b2b2;
    * }
    .post-title a {
    * text-decoration:none;
    * color:#b2b2b2;
    * }
    .post-title a:hover {
    * color:#fff;
    * }
    .post div {
    * margin:0 0 .75em;
    * line-height:1.6em;
    * }
    p.post-footer {
    * margin:-.25em 0 0;
    * color:#333;
    * }
    .post-footer em, .comment-link {
    * font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.1em;
    * }
    .post-footer em {
    * font-style:normal;
    * color:#777;
    * margin-right:.6em;
    * }
    .comment-link {
    * margin-left:.6em;
    * }
    .post img {
    * padding:4px;
    * border:1px solid #222;
    * }
    .post blockquote {
    * margin:1em 20px;
    * }
    .post blockquote p {
    * margin:.75em 0;
    * }


    /* Comments
    ----------------------------------------------- */
    #comments h4 {
    * margin:1em 0;
    * font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.2em;
    * color:#999;
    * }
    #comments h4 strong {
    * font-size:130%;
    * }
    #comments-block {
    * margin:1em 0 1.5em;
    * line-height:1.6em;
    * }
    #comments-block dt {
    * margin:.5em 0;
    * }
    #comments-block dd {
    * margin:.25em 0 0;
    * }
    #comments-block dd.comment-timestamp {
    * margin:-.25em 0 2em;
    * font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.1em;
    * }
    #comments-block dd p {
    * margin:0 0 .75em;
    * }
    .deleted-comment {
    * font-style:italic;
    * color:gray;
    * }


    /* Sidebar Content
    ----------------------------------------------- */
    #sidebar ul {
    * margin:0 0 1.5em;
    * padding:0 0 1.5em;
    * border-bottom:1px dotted #444;
    * list-style:none;
    * }
    #sidebar li {
    * margin:0;
    * padding:0 0 .25em 15px;
    * text-indent:-15px;
    * line-height:1.5em;
    * }
    #sidebar p {
    * color:#999;
    * line-height:1.5em;
    * }


    /* Profile
    ----------------------------------------------- */
    #profile-container {
    * margin:0 0 1.5em;
    * border-bottom:1px dotted #444;
    * padding-bottom:1.5em;
    * }
    .profile-datablock {
    * margin:.5em 0 .5em;
    * }
    .profile-img {
    * display:inline;
    * }
    .profile-img img {
    * float:left;
    * padding:4px;
    * border:1px solid #222;
    * margin:0 8px 3px 0;
    * }
    .profile-data {
    * margin:0;
    * font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.1em;
    * }
    .profile-data strong {
    * display:none;
    * }
    .profile-textblock {
    * margin:0 0 .5em;
    * }
    .profile-link {
    * margin:0;
    * font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.1em;
    * }


    /* Footer
    ----------------------------------------------- */
    #footer {
    * width:660px;
    * clear:both;
    * margin:0 auto;
    * }
    #footer hr {
    * display:none;
    * }
    #footer p {
    * margin:0;
    * padding-top:15px;
    * font:78%/1.6em "Trebuchet MS",Trebuchet,Verdana,Sans-serif;
    * text-transform:uppercase;
    * letter-spacing:.1em;
    * }
    * </style>

    </head>

    <body>

    <div id="header">

    * <h1 id="blog-title">
    * * <align center.
    * * <ItemPage><a href="<&#036;BlogURL&#036;>"></ItemPage>

    * * * * <ItemPage></a></ItemPage>
    * * </align>
    * </h1>
    * <p id="description"><&#036;BlogDescription&#036;></p>



    &#60;&#33;-- Begin #content --&#62;
    <div id="content">


    &#60;&#33;-- Begin #main --&#62;
    <div id="main"><div id="main2">

    <Blogger>

    * * <BlogDateHeader>
    * <h2 class="date-header"><&#036;BlogDateHeaderDate&#036;></h2>
    * </BlogDateHeader>

    *
    * *
    * &#60;&#33;-- Begin .post --&#62;
    * <div class="post"><a name="<&#036;BlogItemNumber&#036;>"></a>
    * * * * <BlogItemTitle>
    * * <h3 class="post-title">
    * <BlogItemUrl><a href="<&#036;BlogItemUrl&#036;>" title="external link"></BlogItemUrl>
    * <&#036;BlogItemTitle&#036;>
    * <BlogItemUrl></a></BlogItemUrl>
    * * </h3>
    * * </BlogItemTitle>

    * * * * * <div class="post-body">
    <div>
    * * * <&#036;BlogItemBody&#036;>
    * * </div>
    * * </div>
    * *
    * * <p class="post-footer">
    * * * posted by <&#036;BlogItemAuthorNickname&#036;> at <&#036;BlogItemDateTime&#036;>
    * * * <MainOrArchivePage><BlogItemCommentsEnabled>

    * * * * ><&#036;BlogItemCommentCount&#036;> comments
    * * * </BlogItemCommentsEnabled></MainOrArchivePage>* <&#036;BlogItemControl&#036;>
    * * </p>
    *
    * </div>
    * &#60;&#33;-- End .post --&#62;
    *
    *
    *
    * &#60;&#33;-- Begin #comments --&#62;
    <ItemPage>
    * <div id="comments">

    <BlogItemCommentsEnabled><a name="comments"></a>
    * * * * <h4><&#036;BlogItemCommentCount&#036;> Comments:</h4>
    * * * * <dl id="comments-block">
    * * * <BlogItemComments>
    * * * <dt class="comment-poster" id="c<&#036;BlogCommentNumber&#036;>"><a name="c<&#036;BlogCommentNumber&#036;>"></a>
    * * * * <&#036;BlogCommentAuthor&#036;> said...
    * * * </dt>
    * * * <dd class="comment-body">

    * * * *

    <&#036;BlogCommentBody&#036;></p>
    * * * </dd>
    * * * <dd class="comment-timestamp"><&#036;BlogCommentDateTime&#036;>
    * <&#036;BlogCommentDeleteIcon&#036;>
    * </dd>
    * * * </BlogItemComments>
    * * </dl>
    * <p class="comment-timestamp">

    * * <&#036;BlogItemCreate&#036;>
    * * </p>
    * * </BlogItemCommentsEnabled>
    * <p class="comment-timestamp">
    &lt;&lt; Home
    * * </p>
    * * </div>

    </ItemPage>

    * &#60;&#33;-- End #comments --&#62;

    </Blogger>
    </div></div>
    &#60;&#33;-- End #main --&#62;







    &#60;&#33;-- Begin #sidebar --&#62;
    <div id="sidebar"><div id="sidebar2">
    *
    *
    * &#60;&#33;-- Begin #profile-container --&#62;

    * <&#036;BlogMemberProfile&#036;>
    *
    * &#60;&#33;-- End #profile --&#62;
    * *
    * * * * <MainOrArchivePage>
    * <h2 class="sidebar-title">Links</h2>
    * *
    * </MainOrArchivePage>

    *
    * <h2 class="sidebar-title">Previous Posts</h2>
    * * <ul id="recently">
    * * <BloggerPreviousItems>
    * * * *[*]<&#036;BlogPreviousItemTitle&#036;>
    * * </BloggerPreviousItems>
    *[/list]
    * * <MainOrArchivePage>

    * <h2 class="sidebar-title">Archives</h2>
    * * <ul class="archive-list">
    * * * <BloggerArchives>
    * * [*]<&#036;BlogArchiveName&#036;>
    * </BloggerArchives>

    *[/list]
    * </MainOrArchivePage>

    * * * <p id="powered-by"></p>
    *
    * &#60;&#33;--
    *

    This is a paragraph of text that could go in the sidebar.</p>
    * --&#62;
    *


    </div></div>
    &#60;&#33;-- End #sidebar --&#62;


    </div>
    &#60;&#33;-- End #content --&#62;



    &#60;&#33;-- Begin #footer --&#62;
    <div id="footer"><hr />
    *

    <Religion is the opiate of the masses.></p>

    </div>
    &#60;&#33;-- End #footer --&#62;



    </body>
    </html>
    [/quote]

  2. #2
    Join Date
    Jan 2005
    Location
    USA
    Posts
    2,155

    Default

    i&#39;m very confused. take a screenshot of what it looks like for you, and what you want it to look like...because everything looks like it&#39;s laid out fine to me.
    Resident father figure.

  3. #3
    Join Date
    Feb 2005
    Location
    On the turning way...
    Posts
    1,643

    Default

    NEVER mind.... I just changed the banner to normall text title, I used to have a graphic banner and it was all wierd and off-center.

Similar Threads

  1. HTML Programs
    By Ben in forum Other Tutorials
    Replies: 24
    Last Post: 04-13-2007, 12:54 PM
  2. Just a question about HTML
    By Dr D-Mento in forum The Void
    Replies: 4
    Last Post: 07-06-2005, 05:36 PM
  3. X/HTML, PHP, CSS, WHAT?!?!?
    By MinorThreat in forum The Void
    Replies: 6
    Last Post: 06-09-2005, 09:17 PM
  4. html help
    By rchocobo in forum Support
    Replies: 0
    Last Post: 06-06-2005, 12:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1