Connecting Tech Pros Worldwide Forums | Help | Site Map

custom stylesheet hides images

Alex D
Guest
 
Posts: n/a
#1: Jul 21 '05
Hello,

I use a custom stylesheet on IE6 (Avant Browser) to simplify my web surfing
(see end of message, plus some comments there).

As an example, following website
(http://www.axellenaerts.be/estateFR.asp?ID=1) poses a recurring problem: I
cannot see the hyperlinked images, only the fact that it is a hyperlink; only
by disabling the stylesheet can I see the images.

I there a way to still see my hyperlinks the way I want, AND see the image
below it? Or, at least for hyperlinked images - if there's no other way - to
show the image then instead of the hyperlink color?

Thanks,

-alex-

/*doesn't work... never seen orange links :-( /*
a.offsite, a:offsite *
{
text-decoration: none;
font-style: italic
font-variant: small-caps ! important;
color: orange ! important;
background: yellow ! important;
}

/* for some reason this also doesn't work ... :-( */
a.external:link, a.external:link *
{
color: orange;
background: yellow ! important;
}


/* but this is the real problem */
:link, :link *
{
font-weight: normal ! important;
color: blue ! important;
background: #CCFFFF ! important;
}

/* as well as this */
a:visited, a:visited *
{
text-decoration: none;
font-weight: normal;
color: red ! important;
background: #FFE4E1 ! important;
}

a:active, a:active *
{
text-decoration: none;
font-weight: normal;
color: yellow! important;
background: black ! important
}

a:hover, a:hover *
{
text-decoration: none;
color: red ! important;
background: yellow ! important;
}


Alex D
Guest
 
Posts: n/a
#2: Jul 21 '05

re: custom stylesheet hides images


BTW, this is a seemingly similar type of page, but here I /can/ see the
images: http://www.centeroffice.be/forrent.asp

Thanks,

-alex-

Steve Pugh
Guest
 
Posts: n/a
#3: Jul 21 '05

re: custom stylesheet hides images


"Alex D" <anon@anon.anon> wrote:
[color=blue]
>I use a custom stylesheet on IE6 (Avant Browser) to simplify my web surfing
>(see end of message, plus some comments there).
>
>As an example, following website
>(http://www.axellenaerts.be/estateFR.asp?ID=1) poses a recurring problem: I
>cannot see the hyperlinked images, only the fact that it is a hyperlink; only
>by disabling the stylesheet can I see the images.
>
>I there a way to still see my hyperlinks the way I want, AND see the image
>below it? Or, at least for hyperlinked images - if there's no other way - to
>show the image then instead of the hyperlink color?
>
>/* but this is the real problem */
>:link, :link *
> {
> font-weight: normal ! important;
> color: blue ! important;
> background: #CCFFFF ! important;
> }[/color]

The site uses very bad HTML coding:

<a href="detestate.asp?ID=701" target="_self"
onMouseOver="window.status=' '; return true;">
<table width="160" height="120">
<tr>
<td
background="uploaded_images/voorgvelKElisabethlaan25.JPG"
onclick="window.location='detestate.asp?ID=701'">
<img src="site_images/verhuurd.gif">
</td>
</tr>
</table>
</a>

That's invalid and hence browsers can do all sorts of things with it.

Anyway, IE is taking your background: #CCFFFF ! important; and using
that as the cell background instead of the image. That's perfectly
correct given your CSS.

I can't think of any solutions that would work in an IE user
stylesheet. If the site fixed it's HTML or if you wanted to write a
user stylesheet for use in a more advanced browser then there could be
some possibilities.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
alex
Guest
 
Posts: n/a
#4: Jul 21 '05

re: custom stylesheet hides images


"Steve Pugh" <steve@pugh.net> wrote in message
news:sgjp21tr3immgv5mo89trbc3nqob59fars@4ax.com...

....
[color=blue]
> That's invalid and hence browsers can do all sorts of things with it.
>
> Anyway, IE is taking your background: #CCFFFF ! important; and using
> that as the cell background instead of the image. That's perfectly
> correct given your CSS.
>
> I can't think of any solutions that would work in an IE user
> stylesheet. If the site fixed it's HTML or if you wanted to write a
> user stylesheet for use in a more advanced browser then there could be
> some possibilities.
>
> Steve[/color]

Thanks anyway!

-alex-


Closed Thread