css problem
- Started
- Last post
- 18 Responses
- Dno
Morning all!
I'm hoping that there is gonna be some css whizzkid on here that can put me right with something that is driving me mad!
if you have a look here:
http://www.getmeonthe.net/dw/you will see a microsite that I am working on.
The problem is that the navbar across the top is going slightly squewiff on IE on a pc.
On my mac browser it looks perfect but for some reason the bar shifts slightly to the left on a pc!!!!!! :(
Does anyone have any suggestions as to how I can stop it happening?
Grateful for any help amigos
D
- Dno0
- thismanslife0
I bet I can fix that in 5 minutes.
- Dno0
...the messiah!!!!!
I wish you would fix it in 5 amigo
;)what is causing it?
- thismanslife0
Looking into it...
- Dno0
...nice one playa!
you might just save the few strands of hair that I haven't pulled out yet!!
fingers crossed!
- thismanslife0
Woooah, I take it back, sorry, it'll take longer than 5 mins... You're using an awful lot of "position: absolute" and "position: relative"... You really don't need to use that for this layout as far as I can see... hmmm...
- Dno0
yeh there are a lot of bits and bobs in there that shouldn't be!
I was passed the job to finish off - but when I tried to tidy it up and remove the bits that I thought didn't need to be in there - the whole thing goes a bit bonkers!
the joy of freelance!
is there another way of doing that nav?
- Dno0
It's crazy really!
there are only 3 rows as such
the logo the nav and the content area! (although the content area has the extra bit of positioned copy)
but there is too much to get my head round! :(
- thismanslife0
Man, if I were you, I'd build it from scratch wthout the positioning... If you want it to be done right. It's a real mess, a lot of conflicting styles in there, i'm suprised it holds up as well as it does to be honest, sorry! For example...
#contentContainer #content blockquote
{
float: right;
width: 301px;
position: absolute;
right: 422px;
top: 83px;
height: 234px;
left: 27px;
}...hmmmm...!
- Dno0
...yeh, I'm starting to think that myself! I was passed it on the priviso that I used just css for the layout!
So have tried to adapt the existing method
you think I should go from dot?
- thismanslife0
Like I say, if you want to do it right, I'd build it from scratch, it's way over-complicated as it's currently built.
However, I think I might have found a quick fix, try removing:
"width: 95%"
from...
#wrapper #navigation
- Dno0
I can't see that?!!?!?
95% - all I can see are pixel widths!
- thismanslife0
In ghp.css
- thismanslife0
Listen, I have to dash... but i'll be back later if you're still stuck... I meant to ask, are you getting paid well for this? If not, don't bother rebuilding it from scratch!! If you are, hell, buy me something nice off my Amazon wishlist and I'll build it from scratch for you ;)
- Dno0
sorry! yes, got it now!
just take out the width all together?
- graphikboi0
awww am i having the same problem
- Dno0
with mine?
- graphikboi0
with my page - i've made a topic called DHTML help