 |
|

10-24-2005, 03:59 AM
|
 |
SEO GUY Moderator
|
|
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111

|
|
|
Hi,
just because the code does validates, doesn't mean that it will behave in the way that you expect it to.
If the validator doesn't like "a:hover {color: blue}", then you can try #0000FF etc. instead of blue, but the best would be if you put a link up to a test page so we can see for ourselves.
If you have an adult site, or you don't want to post the url yet, then send me a PM and I can put the page up samewhere for you with a link.
Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
|

10-24-2005, 08:04 AM
|
 |
SEO
|
|
Join Date: Feb 2005
Location: C:\Norway
Posts: 122
|
|
|
The webpage is in his first post.
Regarding your banner link problem:
.bannerlink img {
border: 0;
margin: 0;
padding: 0;
}
Should fix it.
However, it is a more elegant method, but beware, if you use it, it will screw your design again since all border, margin and padding will be set to 0. This means that you will have to set the values for each tag (ex. p, hx tags, ul, li etc.). Why do this you perhaps ask? It gives you more control, and will shorten your code in the end.
* /*Set's border, padding and margin to 0 for all values*/
{
border: 0;
padding: 0;
margin: 0;
}
Paz suggestion should work for your a:hover problem, if not, try to add; after blue and see if that helps:
a:hover {color: blue;}
|

10-24-2005, 03:11 PM
|
|
SEO Junior and a half
|
|
Join Date: Oct 2005
Posts: 42
|
|
yea the webpage i've been tamporing with is www.caniwin.com, thanks for help with the banner prob Mano, my problem was that i just had
.bannerlink {
and not
.bannerlink img {
the css tuturial on the w3 whatever site didn't really mention that stuff. And i asked my friends that the site wasn't working with before and it now does. So besides getting all the colors and fonts the way I want them I've got my set up. I did notice a small problem, that the spacing between the banner and my 5 top links is slightly different when viewed in firefox and IE, i'll probably tamper with the css a little later to see if i can fix that, cause it was only after I made the recent changes to the css that the spacing was added when viewed in IE.
Quick question, do you think it is good design how i just have the banner linking to the homepage and no where else? do most people know to click the banner to get home or should i keep the "caniwin" link in the upper part of the left column.
Now I can finally finish adding content and working color/font schemes, i'll post the final product for recomendations when i'm done.
|

10-24-2005, 10:17 PM
|
 |
SEO GUY Moderator
|
|
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111

|
|
Hi,
you can rarely get all the CSS info from a single tutorial page. I lost a few nights sleep because I didn't have a DOCTYPE up - it didn't say that in any of the tutorials I found - so Mano's saved you some time....
I don't think that most of your users realise that they can click on your banner to take them to your home page, but that's just my opinion. Some markets are quite "web savvy", but my feeling is that yours won't be. You can monitor paths through the site in your server logs to check though.
Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|