Old 05-09-2005, 09:40   #1 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
simple css getting me down

this is something i've done a million times before but for some reason, today i'm just not working right myself.

anyone help me with the ie6 bug on this:

http://temp.flark.net/bug/

i've coded this twice and spent far too long on it now.

ta.
  Reply With Quote
Old 05-09-2005, 09:46   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
float #pageImage left.

Code:
#pageImage { width: 312px; height: 133px; float: left; }
  Reply With Quote
Old 05-09-2005, 09:49   #3 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
hmm, what a cock.

cheers, b.
  Reply With Quote
Old 05-09-2005, 09:53   #4 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
you might want to add this too to get rid of the gap under that image.

Code:
#pageImage img { display: block; }

while we're talking about cocks. I just uploaded a css file from here at work forgetting that I'd spent 3 hours at home over the weekend cleaning it up.

what a cock.
  Reply With Quote
Old 05-09-2005, 09:54   #5 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
Quote:
Originally Posted by smallbeer
while we're talking about cocks. I just uploaded a css file from here at work forgetting that I'd spent 3 hours at home over the weekend cleaning it up.

done that. why is it that you remember the second you hit upload? sigh
  Reply With Quote
Old 05-09-2005, 09:55   #6 (permalink)
emil
dt immigrant
 
emil's Avatar
 
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 6,998
Send a message via ICQ to emil Send a message via MSN to emil Send a message via Yahoo to emil Send a message via Skype™ to emil
shit... spent the last ten minutes trying to figure it out. now I see beers beat me to it... what a cock oh well. at least I can say that you could take the div around the h1 out and apply the class directly to the h1. so there...
  Reply With Quote
Old 05-09-2005, 09:55   #7 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
hey cock, what about ie shifting the whole of the centred content 2px to the left?
  Reply With Quote
Old 05-09-2005, 10:00   #8 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
Quote:
Originally Posted by Brown
hey cock, what about ie shifting the whole of the centred content 2px to the left?

aye that bothers me too, ie and ff seem to align body bg images differently i think?
  Reply With Quote
Old 05-09-2005, 10:02   #9 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
I can't see a difference tbh. you've got a gap on the right because your bkg.gif has a middle bit (very technical) of 741px instead of 740px.
  Reply With Quote
Old 05-09-2005, 10:06   #10 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
what size horizonalty should you make bg images, i always use 1600w?
  Reply With Quote
Old 05-09-2005, 10:09   #11 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
cheers again,. ok, the 741-740 bit as a mistake but i still get a 1px gap in ie but this depends on what size the screen is. i can re-size and the gap appears / dissapears. fuck this.
  Reply With Quote
Old 05-09-2005, 10:09   #12 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
depends if there's a pattern on the image. with b's there isn't so the image needs to be the width of the container, 740px in this case, plus room for the slight glow/drop shadow on either side. So 760px.

if it's patterned I think 1600px would be ok.
  Reply With Quote
Old 05-09-2005, 10:11   #13 (permalink)
Brown
volkswagen yellow & gold
 
Brown's Avatar
 
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
ok, i just upped mine to 1600px in width and the gaps gone.

brilliant.

cheers all.
  Reply With Quote
Old 05-09-2005, 10:12   #14 (permalink)
emil
dt immigrant
 
emil's Avatar
 
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 6,998
Send a message via ICQ to emil Send a message via MSN to emil Send a message via Yahoo to emil Send a message via Skype™ to emil
Quote:
Originally Posted by smallbeer
if it's patterned I think 1600px would be ok.
and just to make sure, you can make the ends fade out.. but I reckon 1600 dhould do.
  Reply With Quote
Old 05-09-2005, 10:12   #15 (permalink)
emil
dt immigrant
 
emil's Avatar
 
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 6,998
Send a message via ICQ to emil Send a message via MSN to emil Send a message via Yahoo to emil Send a message via Skype™ to emil
wtf... I always answer too late
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8