bad coding... only works in IE

This is a discussion on "bad coding... only works in IE" within the Web Page Design section. This forum, and the thread "bad coding... only works in IE are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #61  
Old Dec 20th, 2006, 23:17
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

no - im fine with that
i wasnt using a generator, i made it with a tutorial and tweaked it a little,
ive been messing around with it for the past half hour but its totally screwed now - it works in FF though but i had to put the navbar at a margin of -45 or something to cancel out something or other.
so now its messy and doesnt work in ie... lol
rewriting it would be great 'cus its rubbish how it is
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #62  
Old Dec 20th, 2006, 23:19
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

Is there any particular reason why your image links are defined below the big image in the html?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #63  
Old Dec 20th, 2006, 23:21
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

ohh my tweaking kina worked - there were no errors in validation but 27 warnings and now there are none! (this is in 'style.css') 21 in 'gport.css' but they all read 'background-color and color the same in two contexts'... lol i am monkey poop at proper css

Last edited by Dapandyman; Dec 20th, 2006 at 23:27.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #64  
Old Dec 20th, 2006, 23:23
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

the big image is not defined in the html, the css is meant to rescale the images into thumbnails and then back into their real sizes in the 'viewing frame'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #65  
Old Dec 20th, 2006, 23:26
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

the odd thing is that, despite the fact that the insanely retarded scripting i have gotten from a tutorial or managed to spew out myself is very messy - it actually passes for html strict...lmao
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #66  
Old Dec 20th, 2006, 23:26
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

youch - why are the images added in both the html & as a css backround then?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #67  
Old Dec 20th, 2006, 23:27
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

that isn't html strict?! You haven't closed your <br/> and <img/> tags, ever!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #68  
Old Dec 20th, 2006, 23:30
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

i thought <br> was just a page break and wasnt closable??
and img was erm...wtf? W3C said it was valid??
oh yh i always tweak my script and loads of waste is left behind.... i need to delete loads of junk...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #69  
Old Dec 20th, 2006, 23:31
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

this is the 'page of insanity':
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.freewebs.com%2Ftestings kills%2Fgport.html
lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #70  
Old Dec 20th, 2006, 23:37
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

I want to cry! You have to close all your tags, always, silly validator.

All tags have to be closed whatever you do... brs and imgs close without containing anything - so instead of <br></br> - you can just put <br/>. For some reason you can't do the same thing with div elements?

Can I see the tutorial you're working from? I'm sure there must be easier ways than messing up your html and css!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #71  
Old Dec 20th, 2006, 23:37
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

*scratches head* is there a link to the bg in the html? - i can't see it...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #72  
Old Dec 20th, 2006, 23:41
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

i am terribly confuzzled...
thanks for the <br/> tip but im not sure where the tutorial was...
i'm very tempted to start from scratch and make my own gallery thing without a tutorial because it's really pointless unless i fully understand it - ill probably make a simple but effective one that is easy to understand for dumb people like me...lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #73  
Old Dec 20th, 2006, 23:42
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

Quote:
Originally Posted by Dapandyman View Post
*scratches head* is there a link to the bg in the html? - i can't see it...
Hmm, I can't find the css I was looking at before - you must've been changing things
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #74  
Old Dec 20th, 2006, 23:44
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

yeah.. tweaking - i stopped about 15mins ago - just outta interest, is it any better?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #75  
Old Dec 20th, 2006, 23:44
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

Just to clarify - is your problem now that you can't see the title and nav bar in IE?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #76  
Old Dec 20th, 2006, 23:45
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

Quote:
Originally Posted by Dapandyman View Post
yeah.. tweaking - i stopped about 15mins ago - just outta interest, is it any better?
Haha, infinitely!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #77  
Old Dec 20th, 2006, 23:45
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

i bet this is going straight to the worst websites archive...lol

Last edited by Dapandyman; Dec 20th, 2006 at 23:48.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #78  
Old Dec 20th, 2006, 23:46
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

yeah - this is due to the problem with ie and ff's differing margin settings, i was wondering how best to go about fixing this...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #79  
Old Dec 20th, 2006, 23:49
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

While I'm looking - why do you have 4 different divs opening and closing in the same place?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #80  
Old Dec 20th, 2006, 23:50
Reputable Member
Join Date: Nov 2006
Location: London, England
Age: 15
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Re: bad coding... only works in IE

ukgeoff seems to be crafting the perfect piece of advice as usual - or maybe hes doing what chubbs did
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!