Re: [WSG] hiding clear:both ?

2004-04-02 Thread afdesign
Try Andy Budd's method explained here:
http://www.andybudd.com/archives/2003/12/css_crib_sheet_2_clearing_floats/
.clear {
 clear: both;
 height: 0;
}
div class=clear!-- --/div

Vaska.WSG wrote:

I hate to ask a dumb question, but I can't find any information about 
this altough I'm pretty sure I've read about this someplace.

What I'm trying to do is use

div class=clnbsp;/div

.cl {
clear:both;
}
But the sticky part is that I don't want it to add the extra line 
space.  I'm not sure of the best way to do this.  I believe I need to 
have something inside of the div tags (?) and I've tried messing with 
visibility:hidden but that threw some more unexpected glitches at me 
(well, I was getting two separate lines instead of both on the same 
line).

Anybody have a good method for doing this?

Thanks...v

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



Re: [WSG] hiding clear:both ?

2004-04-02 Thread Manuel González Noriega
El vie, 02-04-2004 a las 15:31, Vaska.WSG escribió:
 I hate to ask a dumb question, but I can't find any information about 
 this altough I'm pretty sure I've read about this someplace.
 
 What I'm trying to do is use
 
 div class=clnbsp;/div
 
 .cl {
   clear:both;
 }
 

We use to do 

hr /

hr {clear:both;display:none}


if you need some visibles hr's, try hr class=clear /

-- 
Manuel González Noriega
Simplelógica, construcción web  
URL: http://simplelogica.net
EMAIL: [EMAIL PROTECTED]
TELEFONO: (+34) 985 22 12 65
   
Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/
/pThat's right. We said Frontpage./p

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*



Re: [WSG] hiding clear:both ?

2004-04-02 Thread Luc
Good evening Vaska,
  
It was foretold that on 2-4-2004 @ 15:31:23 GMT+0200 (which was
15:31:23 where I live) Vaska . WSG would write:
  
snipped a bit

VW But the sticky part is that I don't want it to add the extra line 
VW space.  I'm not sure of the best way to do this.

Have you tried this:
  
.cl {
clear: both;
height: 0;
margin: 0;
line-height: 0;
font-size: 1px; /* keeps IE6 from applying extra space below */
} 
 
-- 
Best regards,
 Luc
_

http://www.dzinelabs.com

Powered by The Bat! version 1.63 Beta/7 with Windows 2000 (build
2195), version 5.0 Service Pack 4 and using the best browser: Opera.

A balanced diet is a cookie in each hand.

*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*