another problem. background wider than it should be

This is a discussion on "another problem. background wider than it should be" within the Web Page Design section. This forum, and the thread "another problem. background wider than it should be are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jul 22nd, 2006, 00:13
Junior Member
Join Date: Jul 2006
Location: Sofia, Bulgaria
Age: 22
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
another problem. background wider than it should be

Hi! /*Excuses for my amateur questions.*/

I have another problem. I am working on a template and my background is a little wider than it should be at the bottom.
Here you can see how it looks

http://proba45.free.bg/dobra.htm

And here is my source:

<style type="text/css">
html,body
{
margin:0.5% 0.5% 0.5% 0.5%;
padding:0;
display:inline-block;
}

body
{
font: 76% arial,sans-serif;
}

div#header h1
{
height:80px;
line-height:80px;
margin-bottom:0.5%;
padding-left:10px;
background-color:#ff9999;
}

div#container
{
width:100%;
}

div#content
{
float:left;
margin-bottom:0.5%;
background-color:#00ccff;
}

div#news
{
float:left;
width:25%;
margin-left:-25%;
background:#0099cc;
}

div#footer
{
clear:left;
margin-top:0.5%;
background-color:#ba3f3f;
}
</style>
</head>
<body onload="Caller();">
<div id="container">
<div id="header"><h1>Header</h1></div>
<div id="content">
<img src="images/1.jpg" alt="" id="image_1" />
</div>
<div id="news">
<p><strong>3) More stuff here.</strong> very text make long silly make text very very text make long filler very make column make silly column fill silly column long make silly filler column filler silly long long column fill silly column very </p>
</div>
<div id="footer"><p>Here it goes the footer</p></div>
</div>
</body>
</html>

I've tried placing the view:inline-block or only view:inline in all possible divs, but it didn't work. I also don't want to use the max-heigth selector because I need this to work in both Firefox and IE.
Does anyone have a suggestion?

Regards,
Valentin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 22nd, 2006, 10:26
Junior Member
Join Date: Jul 2006
Location: Sofia, Bulgaria
Age: 22
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: another problem. background wider than it should be

problem solved
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 22nd, 2006, 10:28
Junior Member
Join Date: Jul 2006
Location: Sofia, Bulgaria
Age: 22
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: another problem. background wider than it should be

problem fixed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 22nd, 2006, 11:00
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: another problem. background wider than it should be

How?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Aug 2nd, 2006, 15:58
Junior Member
Join Date: Jul 2006
Location: Sofia, Bulgaria
Age: 22
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: another problem. background wider than it should be

I removed all the margin specifications + added
*{ margin:0px 0px 0px 0px
}

and it looks as it should
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
problem, background, wider, than

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE 6 background colour problem jdrawmer Web Page Design 2 Feb 6th, 2008 13:50
Having a problem with background color? jaambees Web Page Design 2 Jan 4th, 2008 02:05
Problem with background in MAC Thanuja JavaScript Forum 3 Apr 17th, 2007 09:16
Background problem uqwebdesign Web Page Design 2 Dec 16th, 2006 17:36
problem with iframe background image in IE dudeman Web Page Design 1 Apr 19th, 2006 01:13


All times are GMT. The time now is 02:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42