Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 02-08-2011, 11:54 PM   #11
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
Default

Quote:
Originally Posted by Phreaddee View Post
as i mentioned previously will fix the problem

http://www.positioniseverything.net/...ed-margin.html will give a more detailed explanation.


I question your skills when you dont believe the "fix" to an extremely well documented ie6 error which was what was being alluded to in the inital post.
You need to read more clearly, I did not disagree that your display inline method would fix the issue. I said, display:inline does not make a block element. Thats why we have display "block". All in all your advice here was sound. It was the comment about resets that I find incorrect/ill-advised.
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com

Last edited by PixelPusher; 02-09-2011 at 12:28 AM.
PixelPusher is offline   Reply With Quote


Old 02-09-2011, 12:08 AM   #12
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
Default

Quote:
Originally Posted by Phreaddee View Post
go to w3.org, look up the css2 specification, chapter 9 visual formatting model and read 9.7 Relationships between 'display', 'position', and 'float'
In your defense they do mention, inline as a block. However in the markup of a page, a block element includes a line break before and after, of which display inline does not provide.

Try it out:
HTML Code:
<span class="inline">Text</span><span class="inline>Text2</span>
<br/>
<span>Text3</span><span>Text4</span>
Code:
span {
  display:block;
  width:100px; 
  height:30px;
  line-height:30px;
  text-align:center;
}
span.inline {
  display:inline;
}
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
PixelPusher is offline   Reply With Quote
Old 02-09-2011, 12:26 AM   #13
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
Default

Quote:
Originally Posted by Phreaddee View Post
in any case its also worth noting that a reset would not fix this double margin bug in ie6
Yes this is true.
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
PixelPusher is offline   Reply With Quote
Reply

Tags
css, layout, tables

Thread Tools
Display Modes

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



All times are GMT. The time now is 05:29 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.