- This topic is empty.
August 9, 2012 at 11:47 am #39286DWAMember
as I´m currently working on a web project based on the Zend framework which renders different partials / views on different pages, I´m
trying to find out the unneeded div=”clear”s. The problem is, that the project has a lot of stylesheets and lots of positionned elements (float left, right etc.) and
also many div=”clears”; some of them might be uneeded in the output (all added and rendered templates on the page). As this is unneeded code and hindering performance,
I would like to know if there´s a tool in the known webmaster suites or any other way which allows to find out unnecessary div=”clear”´s.
Any help would be appreciated!
DWAAugust 9, 2012 at 11:57 am #107579Paulie_DModerator
I very much doubt of having div=”clear”s is impacting site performance to any great degree.
However, there is no specific way to work out exactly what divs=”clear”s are unneeded. Your best option is to inspect each page in Web inspector or Inspect Element and try turning things on and off. However, without knowing what the Zend framework is, I suspect that this won’t help.
If you want to see what is REALLY impacting site performace, check out http://www.webpagetest.org/
- The forum ‘CSS’ is closed to new topics and replies.