Frankly I'd rather do.
<div id="thisbox">
<h2>Header Text</h2>
<p>Other Text</p>
</div>
Styling #thisbox h2 {} or #thisbox p{}.
Structural HTML makes things a lot easier.
Sandra Clark
=============
http://www.shayna.com
Training and Consulting in CSS and Accessibility
Team Fusebox
-----Original Message-----
From: Casey Dougall [mailto:[EMAIL PROTECTED]
Sent: Friday, March 16, 2007 3:33 PM
To: CF-Talk
Subject: Re: OT: CSS help?
<p style="margin:0px;">Header text
<div class="myclass">Div text</div>
</p>
On 3/16/07, Josh Nathanson <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
> I'm having an issue where I can't get rid of space above a div in Firefox.
> It's like the top margin is about 15 pixels. I tried setting margin and
> padding to 0px, no dice. It appears exactly as I would expect in IE, with
> the div right below the preceding text.
>
> Basically the code is like this:
> <p>Header text<br>
> <div class="myclass">Div text</div>
> </p>
>
> On FF, there is about 15 pixel gap between "Header text" and "Div Text" --
> on IE there is just the normal line space gap that would be expected.
>
> I tried taking out the <br>, no change. I searched Google and didn't find
> anything that helped me.
>
> I know there are some CSS gurus on this list so I'm hoping this is a known
> issue with a workaround, or someone can help.
>
> -- Josh
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272888
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4