Click to See Complete Forum and Search --> : Image link not working in Firefox
reuber1
11-14-2006, 01:54 PM
What am I doing wrong here? I have a div with absolute positioning in the top left of my content area, that basically holds the logo and this logo should link back to the main page of the site, but Firefox won't pick it up, but IE will. Go easy, I'm being thrust into all this CSS as of late, and it's a pain in the ass.
<div style="position: absolute; top:0px; left:0px; width:200px; height:101px">
<a href="default.aspx"><img src="images/logo.gif" width="195" height="101" border="0" />
</a>
</div>
I checked the code in a similar page and the only thing I feel I'm doing differently is setting it within a absolute positioned div, but I don't feel that should make a difference.
reuber1
11-14-2006, 01:58 PM
Nevermind. Z-Index needed to be greater than the header it was sitting behind. This CSS is driving me ****ing nuts.
chris_bcn
11-14-2006, 04:18 PM
CSs will drive you nuts, esp. in the beginning if you use layers, z-index and positioning.
I can barely remember the last time I used z-index.
Try using floats rather than CSS positioning
reuber1
11-14-2006, 04:27 PM
I did. Floats are way over my head, and I can't seem to get the page to stretch vertically (it's going to be an e-commerce page that interacts with ASP, so it needs to be liquid vertically). So far i actually have been liking absolute positioning, but then again I haven't yet come across any problems.
DavidLieb
11-15-2006, 07:21 PM
I'm kind of wondering why you're using CSS to position at all. Tables are really much easier once you get the hang of them, and they move vertically very well.
CSS is absolutely great for formatting things that HTML can't do, and it saves you tons of time when you redefine tags and set classes, but for positioning...
Well, check out some major sites. You'll find they almost all use tables for positioning...
Neballer
11-15-2006, 07:39 PM
:rolleyes:
You probably will raybs. I find that absolute postioning fixes one problem, but then creates 5 more.
chris_bcn
11-15-2006, 08:40 PM
Tables are great.
I never understand why anyone would want to update their skills and create semantic meaningful code that reduces bloat, server requests and creates pages that are easy to update, redesign. For example why would you want to improve your search engine ranking? Makes no sense.
I've been designing websites since 1997 and I see no reason as to why I should actually have to update my skills when I can sit back and churn out tables and spacer gifs
I mean really, is there any actual good in seperating content from presentation? It's not like it's 2006 or something. I'm just going party like it's 1999.
sigh
Neballer
11-15-2006, 08:45 PM
nope, no good at all. And while your at it who need to know code anyway - I hear Microsoft makes a program that does the work for you.
reuber1
11-16-2006, 12:48 AM
The 'skins' that ASPStorefront supplies use tables, and it is a ****ing nightmare to figure out their code. This is precisely why I am using CSS for positioning on my own 'skins.' If those developers pulled their heads out of their collective behinds and worked together to make something far more useable, maybe I wouldn't be using CSS, but as it is, it's the better route. Oh, and visit their forums, see what kind of help you get. Bunch of narcissistic bastards they are.
chris_bcn
11-16-2006, 02:47 AM
nope, no good at all. And while your at it who need to know code anyway - I hear Microsoft makes a program that does the work for you.
Actually my 15yr old nephew is a whiz with all that computer stuff and websites and what not - he'll do it for a packets of crisps and a can of coke
Neballer
11-16-2006, 03:58 AM
sweet. All I need now are some of keith's buttons and a $10 logo from the prince and I'll be there like shareware.