Friday, 17 November 2017
  2 Replies
  1.5K Visits
0
Votes
Undo
Hi, Can someone please confirm why JEvents is using the 'br' element to create spaces on the layouts of day/week view, instead of using padding or margin?
7 years ago
·
#195380
Accepted Answer
0
Votes
Undo
Hello,

Br is added to ad a line break which padding/margin doesn’t do. You would need to wrap it in a div or span and then define it as a 100% width block and drop down.

A br is valid html and tidier. What issue is this causing you?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#195380
Accepted Answer
0
Votes
Undo
Hello,

Br is added to ad a line break which padding/margin doesn’t do. You would need to wrap it in a div or span and then define it as a 100% width block and drop down.

A br is valid html and tidier. What issue is this causing you?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

7 years ago
·
#195389
0
Votes
Undo
Thanks for the reply Tony. I've managed to locate the line breaks, and by using template overrides, made some layout changes; removing the br elements at the bottom of the day/week view. (The gap was too big)

Was just thinking would've been easier to add padding/margin (more easily changeable in .css) instead of adding 3 line breaks in a .php file to create a gap at the bottom of a table. But, I understand what you saying. Thanks!
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.