Previous Message
Next Message

Why doesn't this float work?

Sent by Michael Duff on 31 January 2005 21:09


Graham,

#inset { padding: 2px; }
#inset h1 { margin: 0px; padding: 0px; width: 168px;  }
    #inset p { width: 168px; padding: 0px; margin: 0px; }

That will solve it, you will just have to play with margin/paddings/font 
sizes to have it look how you want.

Mike

Graham Cox wrote:

>Hi,
> 
>I'm trying to create a 170px wide box on the right hand side of the main
>centre content column at the following url:-
> 
>http://www.golfbettingguide.com/index2.html
> 
>the style sheet is at
> 
>http://www.golfbettingguide.com/styles/styles2.css
> 
>I'm using a float: right on my #inset id but the result as you can see
>is a mess.  The box spans the entire width of the centre column rather
>than just the ride side of it.   I want the main content text to flow
>alongside the box and then wrap underneath it.  Does anyone know what
>I'm doing wrong here?
> 
>Thanks for any help.
> 
> 
>Best Regards,
>Graham Cox
>  
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: