I cant post any code to solve the issue because it says I can’t unless I Have 5 post WTF? How can I get help without posting the html code? This site won’t let me post it.
I have a layout I am designing and it looks great in IE8. The images on the left of the screen have borders and when the mouse cursor hovers over the link it lights up yellow. If you click on the picture you will be taken to the link location.
FIREFOX:
Borders will show up but no links can be clicked except the last two which makes no sense at all. Why would the last two work and light up but not the other 10?
Google Chrome:
No links or borders at all; Just the photos. Nothing at all works with chrome. Nothing is clickable at all.
HTML:
This forum will not allow me to post this code. I am sure this helps a lot to solve the issue which is what the forums are for in the first place.
As I said before it works perfectly in IE8 but the others have problems. What can I do to fix this?
NOTE:
I would post a link to the site but these forums refuse to let me post it so I cannot. Kind of silly since how can anyone see what I am talking about without a link?
First, thanks for pressing on. The system is set up to disallow links until a poster has five posts. That is to discourage spammers and other such folks to come in, create a new identity, and inundate the forum with garbage links. I wasn’t aware that there was a similar limitation on posting code, but you seem to have found a way around that.
Secondly, IE, whether it is 6, 7, or 8, does not present sites properly. Usually a designer will code a site to present properly in Firefox, Chrome, Safari, or Opera, then tackle IE. Your site has serious validation problems – 41 errors, including problems with your doctype. When you have problems such as yours – different browsers choking in different ways – your doctype is often contributing to the problem. Fix the validation problems, starting with a proper HTML or XHTML doctype, and see if the problems resolve themselves. If not, post again and we’ll take another look.
If you load it in IE8 it works as expected. Load it up in that and you can see what i was going for. How can I get that same thing to work in Google and FIrefox?
Ignoring what the others have said for now (as I’m sure you will fix these errors) the main reason that the link borders are not showing is because you have absolutely placed them all on top of each other so only the last one can be clicked.
You have used padding to move them around instead of positioning which means that they are in effectively the same place and on top of each other.
Just use the coordinates you need and then you will be able to click them.
For IE you need to specify the border on the image and not the color on the anchor as Ie won’t inherit that into the link colour.
The code can be much reduced for that section as follows.
Wow that is amazing and works perfectly without touching the HTML in the least. I am looking it over now so that I understand what is going on here and learning. I am programmer but mostly VB and C# .net so getting better at CSS and the frontend part of web development.