Re: [css-d] Need to text to clear image

2010-07-25 Thread Duncan Hill
On Sun, 25 Jul 2010 02:49:01 +0100, Brian M. Curran  
 wrote:

> Hiya All,
>
> How come the text isn't clearing the image on my paper to cad page? My
> website is draftingservices dot com.
>
>
> Here's the code I used:
>
>
> .textBoxRight
>
> {
>
> width: 420px;
>
> float: right;
>
> margin: 0 0 10px 10px;
>
> padding: 5px;
>
> border: 1px solid #000;
>
> background: #fff;
>
> font-size: x-small;
>
> clear:both;
>
> }

http://draftingservices.com/paper_to_cad.html
If you remove the float, the div will take its place in the normal float.  
That means you won't need the clear:both; as well.
Less=More ??

You can adjust the horizontal positioning with your margins.

Duncan
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Need to text to clear image

2010-07-24 Thread Brian M. Curran
Hiya All,

How come the text isn't clearing the image on my paper to cad page? My
website is draftingservices dot com.

 

Here's the code I used:

 

.textBoxRight

{

width: 420px;

float: right;

margin: 0 0 10px 10px;

padding: 5px;

border: 1px solid #000;

background: #fff;

font-size: x-small;

clear:both;

}

 

Sincerely,
Brian M. Curran | CAD Consultant



 

__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/