Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old January 12th, 2006, 02:23 PM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
div css question

Was throwing up a quick site for a friend and started playing around with transparency using Div's. I usually mostly use tables (I know I'm a dinosaur) but in experimenting with the div's I noticed that Firefox renders them differently and I have been unable to remove some top padding in the div's in firefox as compared to I.E.

If you have firefox and understand CSS can you take a look at this page and tell me how to remove the space above the <h3> elements? There is no space in I.E. and I like that much better.

www.fascianfiller.com/fascian_faq.php

in typing this it occured to me that perhaps I can manipulate the h3 element itself and I'll go try but your input is greatly appreciated.

Reply With Quote
  #2  
Old January 12th, 2006, 07:27 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
RE: div css question

It looks like Firefox gives h3 elements a larger default margin than IE does. Use this to make it go away:
Code:
h3.faq { margin: 0; }

Reply With Quote
  #3  
Old January 13th, 2006, 03:51 AM
bakertrg's Avatar
bakertrg bakertrg is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Scottsdale AZ, US
Posts: 2,253 bakertrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 48 m 45 sec
Reputation Power: 4
Send a message via Yahoo to bakertrg
RE: div css question

thanks honcho, I realized it must be the h3 tag when i was writing the question but I had another project to work on so I never got back to looking at it. I tried every possibl property on the <div> and probably made up a few that don't exist but as soon as I formulated the question it became obvious to me that the h3's default "container" must be the problem.

Reply With Quote
  #4  
Old January 15th, 2006, 09:09 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 3
RE: div css question

To diagnose this type of problem, it's often convenient to add "border: 1px solid red" or something similar to various elements. That way you can see what each part is doing. Additionally, the web developer extension for Firefox has some nice features for debugging CSS and even editing it on the fly.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > div css question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway