Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: <Br style="clear:both;"/><br/> and <Br/>

<Br style="clear:both;"/​><br/> and <Br/> 11 years 2 months ago #2615

Hi,

While trying to solve a problem I have noticed that <Br> is used in your code. Is this on purpose? I found it in these spots.

com_virtuemart\user\login.php has <Br style="clear:both;"/>
com_virtuemart\cart\default_pricelist.php has <Br/>
com_virtuemart\category\default.php has <Br/>
com_virtuemart\category\defaultlist.php has <Br/>
com_virtuemart\category\defaultmulti.php has <Br/>
com_virtuemart\category\flexv2list.php has <Br/>
com_virtuemart\category\flexv2multi.php has <Br/>
com_virtuemart\productdetails\default.php has <Br/>
com_virtuemart\productdetails\flexv2.php has <Br/>

Regards,
Mr BabyNose
The topic has been locked.

<Br style="clear:both;"/​><br/> and <Br/> 11 years 2 months ago #2647

<br/>

Means "break" so it jumps to new line. I don't know why you are asking this. But <br/> is an easy way to jump to new line without any margin.
www.w3schools.com/tags/tag_br.asp

And W3 Validation requires that, all elements must be ended with /
For example:

<img src="something.png">
<hr>
<br>

ARE WRONG.
They should be:
<img src="something.png" />
<hr />
<br />

And clear:both is "clear property" in case there are some float:left and float:right above it. So No floating elements allowed on the left or the right side of a specified paragraph:
www.w3schools.com/cssref/pr_class_clear.asp

Those are innocent elements and nothing is wrong with them.

Regards.
Last Edit: 11 years 2 months ago by Support.
The topic has been locked.

<Br style="clear:both;"/​><br/> and <Br/> 11 years 2 months ago #2664

Hi,

I don't think I made it clear. The breaks I am identifying have an upper case B in them. I thought they had to be lowercase to comply with modern XHTML standards.

Regards,
Mr BabyNose
The topic has been locked.

<Br style="clear:both;"/​><br/> and <Br/> 11 years 2 months ago #2695

ohh got it now.

no, it wasn't on purpose. It is a typo.
You can correct them by lowering the letter.

Regards.
Forum Support
The topic has been locked.

<Br style="clear:both;"/​><br/> and <Br/> 11 years 2 months ago #2704

Hi,

I just ran my PureMart generated web page that displays one of my products through validator.w3.org and amongst the errors it generated I saw

Line 497, Column 12: element "Br" undefined

<Br/><br/>

You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:

incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<f-rameset>" element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case).


Before the next release of PureMart can you please do a search and replace of the "<Br " and "Br /" with the lower case version?

Regards,
Mr BabyNose
The topic has been locked.

<Br style="clear:both;"/​><br/> and <Br/> 11 years 2 months ago #2721

Hi,

I truely understand you and will consider your advice in the next release, it is not a big deal to correct this minor issue.

But please look at these 2 screenshots, even facebook or google doesn't care about w3 validations, why would you? or we?
See how W3 validation is absolutely pointless and wasting time.
(unless you are building a website for your graduate thesis, which is academic and everything should be what they are supposed to be.)

Attachment ScreenShot2013-02-28at5.52.08PM.png not found



Attachment ScreenShot2013-02-28at5.51.46PM.png not found



Topic is closed for forum clearance.

Regards.
Forum Support.
Last Edit: 11 years 2 months ago by Support.
The topic has been locked.
Time to create page: 0.069 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo