dashed borders in explorer

liunx

Guest
I am unable to get the following code to work in explorer:

.paging {
font-size: 0.8em;
margin-bottom: 5px;
border-bottom: 1pt dashed grey;
}

for the following site:
<!-- w --><a class="postlink" href="http://www.property-description.com">www.property-description.com</a><!-- w -->

It displays fine in firefox.

Any ideas?

I have actually had a number of problems with getting my html/css to display properly in explorer 6. While I know that certain features in css are not supported in explorer (or at least not according to the w3 standards), I am achieving certain effects on one site but not on another. Therefore I assume that the fault lies in my code, rather than in explorer. Any ideas how best to debug and identify the source of the problem?

Other problems I am experiencing are background colours and borders not displaying properly.

I have tried to validate my CSS and HTML via the W3 validators, but have not been able to gain much valuable info.

Thanks in advance for your help..paging {
font-size: 0.8em;
margin-bottom: 5px;
border-bottom: 1pt dashed gray;
}Thanks. Silly me. I guess the states rules the web.

Any thoughts on the problems I am having with explorer?Be specific about the problems, what exactly?For example if I set the "background: white; border: 1pt solid black;" to an h1 element which is contained in a div element with "background: blue;", explorer behaves very erratically.

If I refresh the page a number of times, each time both the h1 and div elements are displayed differently. Sometimes the h1 element disappears, sometimes the background of the div is only half blue, sometimes borders are shown on only one side etc.

Firefox renders the html without problems.

Hope this is specific enough. I suspect the error lies in my code somewhere as I have achieved similar effects on sites without problem.Thanks. Silly me. I guess the states rules the web.It's not that, its just that "grey" reminds us too much of the sad end of Lady Jane Grey.Let's start with valid HTML and see if that doesn't correct the problem. See <!-- m --><a class="postlink" href="http://validator.w3.org/check?verbose=1&uri=http%3A//www.property-description.com/">http://validator.w3.org/check?verbose=1 ... ption.com/</a><!-- m --> . Some of those errors are because you have confused HTML with XHTML. In HTML there is no trailling "/" in empty tags. Oh how I curse the day that the W3C gave us XHTML.Whoops. All my img and input tags are closed like this. Which standard should I aim for? html4 strict? Do you think this may be causing my explorer problems?Unless you are using the special features of XHTML and you really know what you are doing you should not be using XHTML. For general web pages use HTML 4.01 Strict.

For the record, I do use XHTML, but not for web pages.

I don't know if that is the problem but I do know that you have a lot of HTML errors of all kinds on that page. It could be any one of those errors or it could be something else. The place to start is with a valid page.Thanks for advice. Will follow it.
 
Back
Top