Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

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 Dev Shed Forums Sponsor:
  #1  
Old January 9th, 2005, 04:58 AM
Centella Centella is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 Centella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 16 sec
Reputation Power: 0
Quick question about Firefox...

Hi, I am new to webdesign and as I learn on my own I am trying to stick to standards. The only problem I am having right now is that when I set properties for a DIV tag on my CSS, example width 100%. IE seems to display it the way I want with NO scroll bar at the bottom, but Firefox does put one there, and it only scrolls a little bit.
What am I missing here?

Thanks,
Sam

Reply With Quote
  #2  
Old January 9th, 2005, 05:07 AM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 3 h 18 m 20 sec
Reputation Power: 86
The difference is probably with the definition of 'width'. Firefox treats 'width' as being the space left after you take away any borders and padding (and maybe margins too...) so when you say width:100%, you're probably seeing 100%+ about 10px (your padding if you have any).

Elements like div, p, h1 and maybe one or two others fill the available width by default so maybe you don't need to worry about it.

I hope this helps.

Reply With Quote
  #3  
Old January 9th, 2005, 01:38 PM
Centella Centella is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 2 Centella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 16 sec
Reputation Power: 0
Thanks....

I'll give that a try and see what I get thanks.

Sam

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Quick question about Firefox...


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 6 hosted by Hostway