CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS 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 July 26th, 2004, 11:56 PM
Markisdee's Avatar
Markisdee Markisdee is offline
****ing running
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Dec 2003
Location: Not typing in a location. Damn.
Posts: 2,022 Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 21 m 36 sec
Reputation Power: 218
Send a message via AIM to Markisdee
background color with div width

On the main page of my site, I have a "slogan box" with a width set to 40%. This is outlined and has a background color. In IE, it outlines and colors in the blank space up to 40%, the desired effect. But in Firefox and Mozilla, it outlines only up to where the text stops.

Here's the main css behind it:
#slogan
{
border-bottom:2px solid black;
border-right:2px solid black;
border-left:2px solid black;
background-color:#ABAABB;
font-family:comic sans ms;
width:40%;
}

Attactched is the screenshot from IE and firefox.

How can I make it look like it does in IE for all browsers (i.e., what is the correct code?)

The full code can be seen here.
__________________
Free Willy and the Whalers

Quote:
Originally Posted by Ganoosh
another thing you can do it set the player size to heigth="1" width="1" and use it as a period

Reply With Quote
  #2  
Old July 27th, 2004, 12:41 AM
Zero-x252 Zero-x252 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Colorado
Posts: 61 Zero-x252 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 22 sec
Reputation Power: 5
Send a message via AIM to Zero-x252 Send a message via MSN to Zero-x252 Send a message via Yahoo to Zero-x252
try putting Display:Block in your CSS there
Hope that helped
~Zero

Reply With Quote
  #3  
Old July 27th, 2004, 01:05 AM
jacktasia jacktasia is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2004
Location: Lawrence, Kansas [KU]
Posts: 1,559 jacktasia User rank is Corporal (100 - 500 Reputation Level)jacktasia User rank is Corporal (100 - 500 Reputation Level)jacktasia User rank is Corporal (100 - 500 Reputation Level)jacktasia User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 14 h 4 m 35 sec
Reputation Power: 9
Send a message via AIM to jacktasia
moved...
__________________
Jack
---------
use code tags

become vegetarian
python? yes, sir!
unarm.org
get firefox


If I helped you then please click the "" in the upper right-hand corner of my post.

Reply With Quote
  #4  
Old July 27th, 2004, 10:59 AM
Markisdee's Avatar
Markisdee Markisdee is offline
****ing running
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Dec 2003
Location: Not typing in a location. Damn.
Posts: 2,022 Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level)Markisdee User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 21 m 36 sec
Reputation Power: 218
Send a message via AIM to Markisdee
Yes, displayed:block works perfectly. Thanks.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > background color with div width


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 4 hosted by Hostway
Stay green...Green IT