Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  inspiration alert!!!
(37 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

Are there any good HTML coders here? I need some help with a peculiar problem...
show user profile  jareu
Hey guys, a Client of mine came accross a weird ass problem. their website is this:

http://www.recsport.sa.gov.au/training-support/officials-coloured_shirt.html

after changing !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" to
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"

everything is suddenly shifted out of place as below:

http://test.recsport.sa.gov.au/training-support/officials-coloured_shirt.html


If anyone knows a quick solution I would really really appreciate the help, otherwise, I'll have to resort to using flash for the green banner, as good old IE wont support CSS hovering on anything that isnt an anchor tag, without a strict.dtd



He who says it cannot be done is interrupting the man doing it.

read 814 times
6/23/2011 7:28:00 AM (last edit: 6/23/2011 10:26:43 AM)
show user profile  Nik Clark
Well, comparing the fwo files:

The code differences are in two blocks. First, the section with the #link styles at about line 126.
The second changed block is on line 285 onwards where you see "Copy from here" down to "Stop up to here". This is for the hover-links in the new one, I think.

Could it be that the new Link styles are interfering with the old formatting?

Oh, and download is one word :)



read 805 times
6/23/2011 10:04:03 AM (last edit: 6/23/2011 10:04:03 AM)
show user profile  jareu
thanks for the reply Nik, I've just fixed a tab with my original post which was eliminating the doctype information.

the problem was as soon as the !DOCTYPE section was updated to include "http://www.w3.org/TR/html4/strict.dtd"

I'm guessing its suddenly activated some sort of default padding or margin value which wasnt there before.



He who says it cannot be done is interrupting the man doing it.

read 795 times
6/23/2011 10:28:17 AM (last edit: 6/23/2011 10:28:17 AM)
show user profile  Nik Clark
Ah. I noticed that bit had changed, but hadn't thought it was the problem. Glad you got it sorted!



read 793 times
6/23/2011 10:29:30 AM (last edit: 6/23/2011 10:29:30 AM)
show user profile  jareu
nah, the problem is still persistant. It's very strange, without "http://www.w3.org/TR/html4/strict.dtd", it all fits together tightly, but at soon at I put that in everything shifts apart slightly. does that particular .dtd file do something to the padding values or margins maybe?



He who says it cannot be done is interrupting the man doing it.

read 791 times
6/23/2011 10:33:14 AM (last edit: 6/23/2011 10:33:14 AM)
show user profile  Nik Clark
Not sure, but the page doesn't validate to the HTML doctype used.

Stick the page address in this and see the things that aren't "strict".
http://htmlhelp.com/tools/validator/index.html.en





read 789 times
6/23/2011 10:37:28 AM (last edit: 6/23/2011 10:37:28 AM)
show user profile  jareu
thanks for that mate, I've bookmarked that for future use too



He who says it cannot be done is interrupting the man doing it.

read 780 times
6/23/2011 10:56:51 AM (last edit: 6/23/2011 10:56:51 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org