Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9144983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:24:07+00:00 2026-06-17T10:24:07+00:00

Mine html (css inside) code looks like this: <body style=color: #25670c; margin: 0 0

  • 0

Mine html (css inside) code looks like this:

<body style="color: #25670c; margin: 0 0 0 0; padding: 0 0 0 0; font-family : Times New Roman; font-size : 14px; text-align: center;">


<div style="height: 96px; width: 985px;"><a href="www.one.lt">
    <img border="0" src="images/graphic/header.png" width="985" height="96" alt="header" title="DigiSpot eBay store" /></a></div>
<div style="height: 41px; width: 985px;">
    <img border="0" src="/images/graphic/meniu.png" alt="DigiSpot meniu" width="985" height="41" usemap="#mapas" />

<map name="mapas">
  <area shape="rect" coords="56,0,0,41" href="www.one.lt" alt="DigiSpot eBay store home" title="DigiSpot eBay store home">
  <area shape="rect" coords="539,0,400,41" href="www.one.lt" alt="About Digispot" title="About DigiSpot">
  <area shape="rect" coords="699,0,539,41" href="www.one.lt" alt="Delivery information" title="Delivery information">
  <area shape="rect" coords="845,0,699,41" href="www.one.lt" alt="Returns information" title="Returns information">
    <area shape="rect" coords="985,0,845,41" href="www.one.lt" alt="Contacts information" title="Contacts information">
</map> </div>

<div style="position:relative">
    <div style="float:left; width: 663px; height:100px; text-align: center; background-color:#d6d6a4;"><img border="0" src="/images/graphic/description.png" width="232" height="81"><br /><div style="text-align: left; margin-left: 10;">[[Description]]</div></div>
    <div style="float:left; width: 324px; height:100px; text-align: center; ">
        <div style="width: 324px; color: #ffffff; background-color:#6b8861; font-size : 34px;">[[Title]]</div>
        <div style="width: 324px; color: #ffffff; background-color:#6b8861;"><div style="width: 320px; margin: 2 2 2 2; background-color:#ffffff;">[[Picture1]]</div><div style="width: 300px; height: 2px; background-color:#6b8861; color: #6b8861;"></div></div>
        <div style="width: 324px; color: #801010; font-size : 40px; background-color:#d6d6a4;">Price: [[BuyItNowPrice]]</div>
    </div>
</div>
<div style="clear: both; text-align: center; width:985px; margin: 0 auto;"><img border="0" src="graphic/buttom.png" width="524" height="42"></div>

</body>

The result is not as I wish and looks like this:
enter image description here
Bigger image on push here

Here is stroked problematic areas:
enter image description here
Bigger image on push here

  1. I want to all this page would be aligned to center, I used in body text align, but its not helping.
  2. The div in the right should be in center of page bottom, I dont know why he choosing such position and some part of the image is under “Price” div.
  3. Is it posible to do that description div in left and in right price and other info div would always have same height which is not fixed, because I want to have that background of those div’s not separated in bottom.

edit: push images to make them bigger.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:24:08+00:00Added an answer on June 17, 2026 at 10:24 am

    See this demo:
    http://jsbin.com/uhakak/7/edit

    First, you should wrap all your content into some div which will make it in center:

    and css for it:

    #mainContent {
      width:945px;
      margin:0 auto;
    }
    

    That way you will put everything in center of a page. text-align:center works for text only (inline elements, actually text is just a separate case of inline elements). Divs are block elements and text-align:center will not affect them.

    Second. Not sure why you have that div on the right side, but try to add overflow hidden to your div with postion:relative which holds description, title and price. I see no problem with it.

    Third, that is little tricky to make both divs have the same height, but as your point is simple background color, you may set background for parent div. That with overflow:hidden (actually, as I can see position:relative is not needed there at all). Demo above should show how it works. I’ve removed height:100px; there

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing this site here for a client of mine: http://test.bebiafricanhairbraiding.com/osa/index.html I've encountered a
I'm building an HTML/CSS website for a musician friend of mine and I want
I am a systems programmer, so i just know some basic css/html. I like
Hy there, I'm experiencing some (understanding) problems with some HTML & CSS of mine.
<html xmlns=http://www.w3c.org/1999/xhtml> <head> <title>Opera test - css inheritance</title> <style type=text/css> /* theirs */ .theirs
after reading this article: http://css-tricks.com/absolute-positioning-inside-relative-positioning/ i am trying to achieve vertically stacked divs each
I got a <div> containing 2 <p> s: #in .html file <style type=text/css> div.box
A friend of mine has to send a normal email using ONLY HTML/HTML5 (or
A friend of mine is programming a web page. Instead of writing any HTML
Mine is this: Hard coding is the way! All my problems go away. Just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.