Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 02-18-2010, 03:02 AM Weird spacing help
Junior Talker

Posts: 2
Trades: 0


In my browser I highlighted to make it easier to see. I circled the problem. Why is that spacing there? The banner and the tables width are equal. And on the right side of the banner it flows passed the table, for some reason it just wont center, even with center tags i had on the first time. Here is the coding so far:

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Grim Concepts</title>
<link href="CSSgrim.css" rel="stylesheet" type="text/css" /><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
</head>
<body class="twoColLiqLtHdr">

<div id="container">
<div id="header">
<img src="bcbanner.png" width="800" height="500" align="left" />
<!-- end #header -->
</div>
<div id="sidebar1">
<h3>sidebar1 Content</h3>
<p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the left side of the #mainContent div if the #mainContent div will always contain more content than the #sidebar1 div. </p>
<p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<h1> Welcome</h1>
<p>Welcome to Grim Concepts. We strive to deliver the best quality logos and other graphic needs for you or your business.</p>
<h2>About Us</h2>
<p>With extensive knowledge of Adobe Photoshop we have been improving our skills for the last 6 years and continue to do so.</p>
<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>

Last edited by xkillaz4x; 02-18-2010 at 03:03 AM..
xkillaz4x is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-18-2010, 04:58 AM Re: Weird spacing help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,378
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
remove the "white space" between the div open tag and the <img ...>
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-18-2010, 12:56 PM Re: Weird spacing help
Junior Talker

Posts: 2
Trades: 0
Im not so sure what you meant, but i got rid of the blank line if thats what you were talking about, and it still looks the same
xkillaz4x is offline
Reply With Quote
View Public Profile
 
Old 02-18-2010, 01:17 PM Re: Weird spacing help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,378
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
we can't debug a picture!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-19-2010, 07:49 AM Re: Weird spacing help
Pristuno's Avatar
Ultra Talker

Latest Blog Post:
Different IT Roles in heaven!!
Posts: 287
Trades: 0
Could you please confirm what exactly you are asking for .
__________________
Pristuno

Please login or register to view this content. Registration is FREE

Pristuno is offline
Reply With Quote
View Public Profile Visit Pristuno's homepage!
 
Reply     « Reply to Weird spacing help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21740 seconds with 12 queries