Can you nest a DIV inside a P? I thought you had to use SPAN's for this.


---------------_____________________________________________________

Eric R. Jones
Senior Web Application Developer, AFNOC/NCD
Barksdale AFB, LA
DSN 781-7784
Comm (318) 456-7784
NIPRNET: [EMAIL PROTECTED]
SIPRNET: [EMAIL PROTECTED] 


-----Original Message-----
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 16, 2007 1:54 PM
To: CF-Talk
Subject: OT: CSS help?

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





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272866
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to