Sent by Andrew Gregory on 8 February 2005 14:02
On Tue, 08 Feb 2005 12:52:23 +0000, Mike Davies
[EMAIL-REMOVED]> wrote:
> I have designed a site for a client viewable at
> www.integrawebdesign.co.uk/kirkhill/index.htm
> www.integrawebdesign.co.uk/kirkhill/kirkhill.css
>
> in Operathe last part of the h1 text is still in view. Changing the size
> of thetext-indent does not appear to alter this, I can only remove it by
> actually deleting that part of the text.
The latest Opera 8.0 beta doesn't show that problem, but see next.
> Also, only in Opera, a horizontal scroll bar appears and the pageappears
> to be extremely wide, beyond the window.
It still shows this, though. The cause is that massive negative
text-indent. A smaller value, like -200em, got rid of the scrollbar for
me. It also fixed the extra h1 text in Opera 7.54.
I'm sure there are better image replacement techniques (the big negative
margin just doesn't 'feel right' to me). Have a poke around the CSS wiki.
> I have tried to validate both the html and css files but get invalid
> results, most of which I cannot understand as the indicated errors don't
> seem to me to be present, but that's another issue.
When I validated the CSS file - it pointed me directly to the problem.
There's an extra '#' character at the end of line 201 (in the #design
rule).
I also validated the HTML - you have declared your document to be XHTML.
That means all element and attribute names must be lowercase. eg "<a href"
not "<A href", "http-equiv" not "HTTP-EQUIV", etc. With the meta tags,
they should end with "/>" not just ">". That goes for any other elements
that don't have closing tags too, like images (<img ... />). That should
fix most of the errors. The rest look pretty self-explanatory.
HTH,
--
Andrew Gregory, <URL: [EMAIL-REMOVED] >
<URL: http://www.scss.com.au/family/andrew/ >
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/