Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    12
    Member #
    29358


    How can I get an image where I have the arrow and pink box outlined?

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!--
    Design by Free CSS Templates
    http://www.freecsstemplates.org
    Released for free under a Creative Commons Attribution 2.5 License
    
    Name      : Beach Sunset
    Description: A two-column, fixed-width design for 1024x768 screen resolutions.
    Version    : 1.0
    Released  : 20090416
    
    -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Beach Sunset by Free CSS Templates</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
    <body>
    <div id="wrapper">
    
        <div id="header">
            <div id="menu">
                <ul>
                    <li class="current_page_item"><a href="#">Home</a></li>
                    <li><a href="#">Blog</a></li>
                    <li><a href="#">Photos</a></li>
                    <li><a href="#">About</a></li>
                    <li><a href="#">Links</a></li>
                    <li><a href="#">Contact</a></li>
                </ul>
            </div>
            <!-- end #menu -->
     
        </div>
        <!-- end #header -->
        <div id="logo">
            <h1><a href="#">Beach Sunset </a></h1>
    
        </div>
        <hr />
        <!-- end #logo -->
    
    <!-- end #header-wrapper -->
    
    <img scr="images/test.jpg">
    
    <div style="float: right; width: 200px; margin-right: 5px;">
    <h2>Header</h2>
      <p>
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
      </p>
    </div>
    
    <div style="float: right; width: 200px; margin-right: 5px;">
    <h2>Header</h2>
      <p>
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
      </p>
    </div>
    
    <div style="clear: both;"> </div>
     
    <div id="footer">
        <p>Copyright (c) 2008 Sitename.com. All rights reserved. Design by <a
    
    href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
    </div>
    <!-- end #footer -->
    </div>
    </body>
    </html>

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Post a link to the site - we can't do much with just code, we need to see the layout as well.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    12
    Member #
    29358
    http://solysol05.angelfire.com/ This is where I have the page. My CSS is not showing, but here is the markup.

    Code:
    /*
    Design by Free CSS Templates
    http://www.freecsstemplates.org
    Released for free under a Creative Commons Attribution 2.5 License
    */
    
    body {
        margin-top: 25px;
        padding: 0;
        background: #000000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 13px;
        color: #837669;
    }
    
    h1, h2, h3 {
        margin: 0;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: normal;
        color: #649632;
    }
    
    h1 { font-size: 44px; }
    
    h2 { font-size: 20px; }
    
    h3 { }
    
    p, ul, ol {
        margin-top: 0;
        line-height: 240%;
        text-align: justify;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 11px;
    }
    
    ul, ol { }
    
    blockquote { }
    
    a { color: #CE4113; }
    
    a:hover { text-decoration: none; }
    
    a img {
        border: none;
    }
    
    img.left {
        float: left;
        margin: 7px 30px 0 0;
    }
    
    img.right {
        float: right;
        margin: 7px 0 0 30px;
    }
    
    hr { display: none; }
    
    .list1 {
    }
    
    .list1 li {
        float: left;
        line-height: normal;
    }
    
    .list1 li img {
        margin: 0 30px 30px 0;
    }
    
    .list1 li.alt img {
        margin-right: 0;
    }
    
    #wrapper {
        width: 900px;
        margin: 0 auto;
        background: #110E0F url(images/img02.gif) no-repeat left top;
    }
    
    /* Header */
    
    #header-wrapper {
    }
    
    #header {
        width: 900px;
        height: 50px;
        margin: 0 auto;
        background: url(images/img01.gif) no-repeat left top;
    }
    
    /* Menu */
    
    #menu {
        float: left;
        width: 900px;
        height: 100px;
    }
    
    #menu ul {
        margin: 0;
        padding: 17px 0 0 20px;
        list-style: none;
        line-height: normal;
    }
    
    #menu li {
        display: block;
        float: left;
    }
    
    #menu a {
        display: block;
        float: left;
        margin-right: 5px;
        padding: 0px 15px;
        text-decoration: none;
        font: 14px Georgia, "Times New Roman", Times, serif;
        color: #FFFFFF;
    }
    
    #menu a:hover { text-decoration: underline; }
    
    #menu .current_page_item a {
        color: #FFFFFF;
    }
      
    /* Page */
    
    #page {
        width: 840px;
        margin: 0 auto;
        padding: 30px 30px 0px 30px;
    }
    
    /** LOGO */
    
    #logo {
        width: 900px;
        height: 230px;
        margin: 0 auto;
    }
    
    #logo h1, #logo p {
        margin: 0;
        padding: 0 0 0 30px;
        line-height: normal;
    }
    
    #logo h1 {
        float: left;
        padding-top: 150px;
    }
    
    #logo h1 a {
        text-decoration: none;
        text-transform: lowercase;
        color: #FFFFFF;
    }
    
    #logo h1 a:hover { text-decoration: underline; }
    
    #logo p {
        padding: 170px 0 0 30px;
        font: italic 13px Georgia, "Times New Roman", Times, serif;
        color: #FFFFFF;
    }
    
    #logo p a {
        text-decoration: none;
        color: #FFFFFF;
    }
    
    #logo p a:hover { text-decoration: underline; }
    
    /* Content */
    
    #content {
        float: left;
        width: 570px;
    }
    
    /* Post */
    
    .post {
        margin-bottom: 25px;
    }
    
    .post .title {
        height: 30px;
        margin-bottom: 3px;
        border-bottom: 1px dashed #24130F;
        color: #FFFFFF;
    }
    
    .post .date {
        float: right;
        margin-top: -48px;
        padding: 0 20px;
        border: 1px dashed #24130F;
        background: #24130F;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: normal;
        font-size: 18px;
        color: #F1B566;
    }
    
    .post .meta {
        margin: -30px  0 3px 25px;
        padding: 2px 30px 2px 0px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 10px;
        color: #B6ACA2;
    }
    
    .post .meta a { color: #B6ACA2; }
    
    .post .entry {
        padding: 20px 0;
    }
    
    .post .links {
        margin: 0 250px 0 0;
        padding: 0 0 0 0px;
    }
    
    .post .links .comments {
    }
    
    .post .links .permalink {
        padding-left: 17px;
    }
     
    /* Footer */
    
    #footer {
        width: 900px;
        margin: 0 auto;
        padding: 0;
        height: 50px;
        background: url(images/img04.gif) no-repeat left top;
    }
    
    #footer p {
        margin: 0;
        padding: 20px 0;
        text-align: center;
        line-height: normal;
        color: #FFFFFF;
    }
    
    #footer a {
    }
    #leftFloat
    {
      float: left;
      width: 100px;
    }
    
    #rightFloat
    {
      float: right;
      width: 100px;
    }

  5. #4
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Add it to line 132. Float it left. On a side note, in your code you pasted in the OP, you had a typo: you put <img scr... instead of <img src...
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  6. #5
    Junior Member
    Join Date
    Sep 2011
    Posts
    12
    Member #
    29358
    Thanks! Works.

  7. #6
    Junior Member
    Join Date
    Sep 2011
    Posts
    12
    Member #
    29358
    Ok, now I am having another problem. I am trying to get my welcome header a little bit to the right so that it looks centered. (My site is still up also).



    Here is my updated CSS since I dont know whats going on with my Angelfire account.

    Code:
    /*
    Design by Free CSS Templates
    http://www.freecsstemplates.org
    Released for free under a Creative Commons Attribution 2.5 License
    */
    
    body {
        margin-top: 25px;
        padding: 0;
        background: #000000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 13px;
        color: #837669;
    }
    
    h1, h2, h3 {
        margin: 0;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: normal;
        color: #649632;
    }
    
    h1 { font-size: 44px; }
    
    h2 { font-size: 30px; }
     
    h3 { }
    
    p, ul, ol {
        margin-top: 0;
        line-height: 240%;
        text-align: justify;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 11px;
    }
    
    ul, ol { }
    
    blockquote { }
    
    a { color: #CE4113; }
    
    a:hover { text-decoration: none; }
    
    a img {
        border: none;
    }
    
    img.left {
        float: left;
        margin: 7px 30px 0 0;
    }
    
    img.right {
        float: right;
        margin: 7px 0 0 30px;
    }
    
    hr { display: none; }
    
    .list1 {
    }
    
    .list1 li {
        float: left;
        line-height: normal;
    }
    
    .list1 li img {
        margin: 0 30px 30px 0;
    }
    
    .list1 li.alt img {
        margin-right: 0;
    }
    
    #wrapper {
        width: 900px;
        margin: 0 auto;
        background: #110E0F url(images/img02.gif) no-repeat left top;
    }
    
    /* Header */
    
    #header-wrapper {
    }
    
    #header {
        width: 900px;
        height: 50px;
        margin: 0 auto;
        background: url(images/img01.gif) no-repeat left top;
    }
    
    /* Menu */
    
    #menu {
        float: left;
        width: 900px;
        height: 100px;
    }
    
    #menu ul {
        margin: 0;
        padding: 17px 0 0 20px;
        list-style: none;
        line-height: normal;
    }
    
    #menu li {
        display: block;
        float: left;
    }
    
    #menu a {
        display: block;
        float: left;
        margin-right: 5px;
        padding: 0px 15px;
        text-decoration: none;
        font: 14px Georgia, "Times New Roman", Times, serif;
        color: #FFFFFF;
    }
    
    #menu a:hover { text-decoration: underline; }
    
    #menu .current_page_item a {
        color: #FFFFFF;
    }
      
    /* Page */
    
    #page {
        width: 840px;
        margin: 0 auto;
        padding: 30px 30px 0px 30px;
    }
    
    /** LOGO */
    
    #logo {
        width: 900px;
        height: 230px;
        margin: 0 auto;
    
    }
    
    #logo h1, #logo p {
        margin: 0;
        padding: 0 0 0 30px;
        line-height: normal;
    }
    
    #logo h1 {
        text-align: center;
        padding-top: 150px;
    }
    
    #logo h1 a {
        text-decoration: none;
        text-transform: lowercase;
        color: #FFFFFF;
    }
    
    #logo h1 a:hover { text-decoration: underline; }
    
    #logo p {
        padding: 170px 0 0 30px;
        font: italic 13px Georgia, "Times New Roman", Times, serif;
        color: #FFFFFF;
    }
    
    #logo p a {
        text-decoration: none;
        color: #FFFFFF;
    }
    
    #logo p a:hover { text-decoration: underline; }
    
    /* Content */
    
    #content {
        float: right;
        width: 570px;
    }
    
    /* Post */
    
    .post {
        margin-bottom: 25px;
    }
    
    .post .title {
        height: 30px;
        margin-bottom: 3px;
        border-bottom: 1px dashed #24130F;
        color: #FFFFFF;
    
    }
    
    .post .date {
        float: right;
        margin-top: -48px;
        padding: 0 20px;
        border: 1px dashed #24130F;
        background: #24130F;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: normal;
        font-size: 18px;
        color: #F1B566;
    }
    
    .post .meta {
        margin: -30px  0 3px 25px;
        padding: 2px 30px 2px 0px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 10px;
        color: #B6ACA2;
    }
    
    .post .meta a { color: #B6ACA2; }
    
    .post .entry {
        padding: 20px 0;
    }
    
    .post .links {
        margin: 0 250px 0 0;
        padding: 0 0 0 0px;
    }
    
    .post .links .comments {
    }
    
    .post .links .permalink {
        padding-left: 17px;
    }
     
    /* Footer */
    
    #footer {
        width: 900px;
        margin: 0 auto;
        padding: 0;
        height: 50px;
        background: url(images/img04.gif) no-repeat left top;
    }
    
    #footer p {
        margin: 0;
        padding: 20px 0;
        text-align: center;
        line-height: normal;
        color: #FFFFFF;
    }
    
    #footer a {
    }
    #leftFloat
    {
      float: left;
      width: 100px;
    }
    
    #rightFloat
    {
      float: right;
      width: 100px;
    }

  8. #7
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    Have you made recent changes to the site? Only I clicked the link and it looks like a completely different site to the one you posted :S
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>

  9. #8
    Junior Member
    Join Date
    Sep 2011
    Posts
    12
    Member #
    29358
    Yes, I did make changes to it, but I am still having the same problem.

  10. #9
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    try changing #text width to 780px. that will float them to the right. you need to insert an image in there for more changes to happen.
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>

  11. #10
    Junior Member
    Join Date
    Sep 2011
    Posts
    12
    Member #
    29358
    This is how I did it, but I think I may have used too many divs.

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!--
    Author: Reality Software
    Website: http://www.realitysoftware.ca
    Note: This is a free template released under the Creative Commons Attribution 3.0 license,
    which means you can use it in any way you want provided you keep the link to the author
    
    intact.
    -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="style.css" rel="stylesheet" type="text/css" /></head>
    <body>
     
        <!-- header -->
        <div id="header">
            <div id="logo"><a href="#">Header</a></div>
            <div id="menu">
                <ul>
                <li><a href="#">Home</a></li>
                <li><a href="#">Link 1</a></li>
                <li><a href="#">Link 2</a></li>
                <li><a href="#">Link 3</a></li>
                <li><a href="#">contact</a></li>
            <li><a href="#">Guestbook</a></li>
    
                      </ul>
    
      <img src="images/twitter.png" height="49px;"/>
    
          </div>
      </div>
        <!--end header -->
        <!-- main -->
        <div id="main">
        <div id="content">
     
    <div id="text">
                    <h1><strong>Welcome</strong></h1>
    </div>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    
    <div style="float: left;">
    <img src="images/test.jpg" width="304px;" height="285px;"/></div>
     
    <div style="float: right; width: 220px; margin-right: 5px;">
    <h2>Header</h2>
      <p>
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
      </p>
    </div>
      
    <div style="float: right; width: 20px; margin-right: 6px;">
    <img src="images/div103.gif" height="200px;"/></div>
    
    <div style="float: right; width: 220px; margin-right:5px;">
    <h2>Header</h2>
      <p>
        This is our left text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
        This is our right text column.
      </p>
    </div>
    
    <div style="clear: both;"> </div>
     
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
              </div>
    
        <!-- footer -->
        <div id="footer">
        <div id="left_footer">&copy; Copyright 2011<strong> Author </strong></div>
        <div id="right_footer">
    
    <!-- Please do not change or delete this link. Read the license! Thanks. :-) -->
    Design by <a href="http://www.realitysoftware.ca" title="Website Design">Reality
    
    Software</a>
    
        </div>
        </div>
        <!-- end footer -->
    </div>
        <!-- end main -->
      
    </body>
    </html>


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:34 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com