|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
||||
|
||||
|
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%;
}
Code:
<strong class="home">Welcome
to Eutron Industries, Inc.</strong>
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>
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. |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
||||
|
||||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Need help with border widths and such... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|