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 June 11th, 2004, 01:51 PM
FRUGiHOYi FRUGiHOYi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Copenhagen, Denmark
Posts: 157 FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 18 h 57 m 44 sec
Reputation Power: 25
Send a message via AIM to FRUGiHOYi
Need help with border widths and such...

I want some particular text on my page to have an underline that keeps going after the text has finished so it spans 100% of the page (actually a div, not a page). It's easier to understand what I'm trying to do if you look at the links at the bottom of my post. My problem is that I got it to work fine on Internet Explorer, but not on Mozilla.

Here is the webpage:
http://www.eutron-inc.com/newsite/

And here is the stylesheet:
http://www.eutron-inc.com/newsite/stylesheet.css

So... can somebody help me?

Reply With Quote
  #2  
Old June 11th, 2004, 04:34 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,674 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 15 h 15 m 50 sec
Reputation Power: 687
Actually, it's is working wrongly in IE and correctly in Moz. Look at this
Code:
strong.home {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #3399CC;
	border-bottom: 1px dashed #3399CC; 
	padding-bottom: 3px;
	width: 100%;
	}
You declare the border for the strong element. Strong is an inline element, not block, so the border is attached to
Code:
<strong class="home">Welcome 
      to Eutron Industries, Inc.</strong>
exactly as Moz renders it. What you really want is
Code:
 <h1 class="home">Welcome to Eutron Industries, Inc.</h1>
 <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent et elit. 
      Sed metus ligula, placerat non, semper a, ultricies iaculis, odio. Quisque 
      arcu mi, viverra a, commodo in, vulputate non, nulla. Morbi gravida suscipit 
      massa. Cras fermentum magna sit amet quam. Curabitur ultrices. Aliquam erat 
      volutpat. Vestibulum ipsum. </p>
Use whichever header level is proper for the structure.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #3  
Old June 11th, 2004, 05:00 PM
FRUGiHOYi FRUGiHOYi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Copenhagen, Denmark
Posts: 157 FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level)FRUGiHOYi User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 18 h 57 m 44 sec
Reputation Power: 25
Send a message via AIM to FRUGiHOYi
Thanks. I know IE is always the problem, but I just meant that it was displaying it the way I want to display it. Well, I got it to work now so thanks.

Reply With Quote
  #4  
Old June 11th, 2004, 05:14 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,674 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 15 h 15 m 50 sec
Reputation Power: 687
Good that it's fixed. The key to sanity is to code for and test in Moz or other Gecko engined browser. When it looks right there, you can go to IE and see what hacks you need or what you need to dumb down. The hacks are generally well known and easy to apply.

cheers,

gary

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Need help with border widths and such...


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