w3c html 4.0 compliant tags ?

admin

Administrator
Staff member
Hiya, <br />
I have tags on my site to get the page to go all the way to the edges i.e<br />
<br />
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0<br />
<br />
but when validating my page in <!-- m --><a class="postlink" href="http://validator.w3.org">http://validator.w3.org</a><!-- m --> I realised they are not html 4.0 tranisitional compliant.<br />
<br />
Are there any alternative tags I could use to get the page to go all the way to the edges ?<br />
The site is at this URL if you need to look at it.<br />
<br />
<!-- m --><a class="postlink" href="http://www.mypage.tsn.cc/arctech/index.html">http://www.mypage.tsn.cc/arctech/index.html</a><!-- m --><br />
<br />
Also, how seriously do you guys take w3c compliance ?<br />
<br />
thanks<!--content-->i think that it is safe to say that most people try to meet w3c standards.<br />
<br />
i think you could try Cascaded Style Sheets - a lot of attributes were deprecated because the Style Sheets took over.<br />
<br />
warning though - meeting and sticking to html 4.0 standards is fine - but some older browsers don't support it. same with CSS and CSS2 - not all browsers support all styles.<br />
<br />
check out <!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m --><!--content-->It would be better to validate at HTML 4.01 Transitional.<br />
<br />
But as Horus said the only way to sort out the margin elements of a page is through CSS.<br />
<br />
Of course dont forget to validate your CSS after.<!--content-->hrrrmmm.. so do you guys have any examples ? have any of you actually used css to set the page margins ? I could not see anything relevant on the w3c URL you mention.<!--content-->this is the precise page of where how to use css with margins:<br />
<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/css_margin.asp">http://www.w3schools.com/css/css_margin.asp</a><!-- m --> <br />
<br />
<br />
put this code in the html or css file as per <!-- m --><a class="postlink" href="http://www.w3schools.com/css/css_howto.asp">http://www.w3schools.com/css/css_howto.asp</a><!-- m --> <br />
<br />
<br />
body { margin=0px }<br />
<br />
<br />
then when you declare the <body> tag, the page will have no margins.<!--content-->thanks dude - I did look at that exact page you just so kindly linked for me allready but couldn't figure it out.. I will have another crack at it..<br />
<br />
0h t3h j0ys of be|ng a nu\/\/b|e l0s3r....<!--content-->i was practically the same when i started out.:P <br />
<br />
but at least you're having a go at it :)<!--content-->yeh working now :D <br />
thanks dude<br />
<br />
onward to w3c complience!<!--content-->body { margin=0px 0px 0px 0px }<br />
<br />
or <br />
<br />
body { <br />
top-margin=0px;<br />
right-margin=0px;<br />
left-margin=0px<br />
}<br />
<br />
<br />
but IE,NS6+, Mozilla are the only ones that will use it, NS4.xx and I don't think Opera use it.<!--content-->scoutt - <br />
<br />
body { margin : 0px }<br />
<br />
sets all margins to zero<!--content-->I have found it to be buggy in IE. should use all 4<!--content-->okay - <br />
<br />
why is microsoft stuff always so buggy?<!--content-->that's what why they get the big bucks, they write buggy software so you have to buy teh patch or service pack :P<br />
<br />
most of it is supply and demand, the more they (the public) demands the faster M$ has to put it out, the faster they go the more buggy the software :P<!--content-->surprising really, as their programmers are actually paid per line of code. actually no... more lines in less time = more bugs ;)<!--content-->Originally posted by Horus_Kol <br />
okay - <br />
<br />
why is microsoft stuff always so buggy? <br />
<br />
The most advanced and the most popular stuff always tend to be buggy in the begining :D <br />
<br />
The problem is that MS doesnt have a good beta testing program :(<!--content-->
 
Back
Top