View Full Version : Request: Better HTML in Next Release
Nicholas Brown
Tue 20th Feb '01, 5:21pm
I was messing with a friends install of vB2 on his server(as i haven't got my license yet) and lets say - I was shocked!
The HTML code is not too good! <img tags have size params in them - meaning I had to go into separate templates and change them.
one or two wouldn't bother me - but there are LOADS of them.
How about for Beta2 - all image tags have the width= and height= tags removed.
Sorry for bitching, but when you say you'll do someones templates for them then you find that - very frustrating.
style-guide!
Tue 20th Feb '01, 6:15pm
Somebody told me: If you really want to programm correctly and fine HTML, check every Page with at least three Brwoser's, i think, you completly forgot Netscape Browser like 4.73, didn't you?
About the HTML Construct of some Pages i was really shocked too, there are some nice trick's for form's if they kill your design with CR at unwanted linebreakes. Just put the form Tag if possible between the Table Row and the Table Data ;).
After all, if Netscape got a style Class for a table data, it is'nt for interesset what kind of font tag is inside the table data, netscape uses the class for type, size and color if given. Hope you understand that, technical english is not good enough at present.
With a Browser greater than 4.0 you don't need font Tags anymore, think of it. It might be even easier to design different style sheets in that construct as buid in vB 2.0 at the time!!!!!!
s-g.
PS: To Nicholas: Normally putting the correct size of img tags in the code speeds up the display on the client browser;)
DVD Plaza
Tue 20th Feb '01, 6:51pm
Not having image dimensions coded into the IMG tag also causes major display probems whilst a page loads for the first time.
Try emptying your cache, restarting, and visiting Infopop's site for example... the page stretches, shrinks, splatters, explodes, etc all over the place whilst everything continually readjusts over and over and over during the load.
It is a most disgusting and unprofessional look. VBulletin does it too, at least the prior version did when I first starting browsing these boards last year. Hopefully by the sounds of what you've seen, that's changed?
Personally I'm baffled why image dimensions aren't configurable in the Control Panel - the filename is, why not width & height? Hard coding it stuffs up any changes someone may make to the images, not including them makes the pages go beserk.
Freddie Bingham
Tue 20th Feb '01, 7:01pm
Adding the image/height would just create unneeded variables that your forum will have to load for every page, not just the page that uses them. We had worked on a function that would go through all the templates and set the image size of your images. If you want to play with it you can find it in templates.php, look for "doimgtags" but remember it might hose your templates.
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.