Author Topic: Site Suggestions  (Read 64502 times)

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 2755
  • Total likes: 347
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: Site Suggestions
« Reply #825 on: February 21, 2018, 12:44:19 PM »
I don't totally follow
Basically, CSS works right to left. It starts with the rightmost part of the rule and works its way back
So for
Code: [Select]
.subject.windowbg2 divwhich basically says "a div which is a descendant of an element with the classes subject and windowbg2," every time it encounters a div it looks all the way up the DOM to see if it has an ancestor with those classes. Adding the ">" tells it to look at the direct parent only.


One change to make it work for stickied posts
Code: [Select]
.subject.windowbg2, .subject.stickybg2 {
    position: relative;
    padding-left: 50px;
}

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9311
  • Total likes: 293
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Site Suggestions
« Reply #826 on: February 21, 2018, 01:02:45 PM »
Basically, CSS works right to left. It starts with the rightmost part of the rule and works its way back
So for
Code: [Select]
.subject.windowbg2 divwhich basically says "a div which is a descendant of an element with the classes subject and windowbg2," every time it encounters a div it looks all the way up the DOM to see if it has an ancestor with those classes. Adding the ">" tells it to look at the direct parent only.


One change to make it work for stickied posts
Code: [Select]
.subject.windowbg2, .subject.stickybg2 {
    position: relative;
    padding-left: 50px;
}
Aha! I just didn't realize that
Code: [Select]
.subject.windowbg2 div would work the same as
Code: [Select]
.subject.windowbg2 since you're not referring to the same element.
Workflowy. You won't know what you're missing until you try it.

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 2755
  • Total likes: 347
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: Site Suggestions
« Reply #827 on: February 21, 2018, 01:39:27 PM »
Aha! I just didn't realize that
Code: [Select]
.subject.windowbg2 div would work the same as
Code: [Select]
.subject.windowbg2 since you're not referring to the same element.
It's not exactly the same, it's a few pixels off.
An absolutely positioned element is positioned based on its closest ancestor with a non-static position.

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9311
  • Total likes: 293
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Site Suggestions
« Reply #828 on: February 21, 2018, 01:53:42 PM »
It's not exactly the same, it's a few pixels off.
An absolutely positioned element is positioned based on its closest ancestor with a non-static position.
I think that's a little over my head :) what does non-static position mean?
Workflowy. You won't know what you're missing until you try it.

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 2755
  • Total likes: 347
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: Site Suggestions
« Reply #829 on: February 21, 2018, 02:09:05 PM »
I think that's a little over my head :) what does non-static position mean?
I was going to try and explain it but I figure why re-invent the wheel?
From a quick glance here it seems this is a good explanation:
https://www.thoughtco.com/absolute-vs-relative-3466208

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9311
  • Total likes: 293
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Site Suggestions
« Reply #830 on: February 21, 2018, 02:16:30 PM »
I was going to try and explain it but I figure why re-invent the wheel?
From a quick glance here it seems this is a good explanation:
https://www.thoughtco.com/absolute-vs-relative-3466208
Thanks, that was a great read! So by "non-static" you refer to  absolute, relative, or fixed?
Workflowy. You won't know what you're missing until you try it.

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 2755
  • Total likes: 347
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: Site Suggestions
« Reply #831 on: February 21, 2018, 02:22:49 PM »
Thanks, that was a great read! So by "non-static" you refer to  absolute, relative, or fixed?
Yes

Offline whYME

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: May 2008
  • Posts: 2755
  • Total likes: 347
  • DansDeals.com Hat Tips 3
  • Gender: Male
    • View Profile
Re: Site Suggestions
« Reply #832 on: February 21, 2018, 03:46:33 PM »
Gonna need @BAHayman or @whYME to figure out where to stick that.

Hmmm, I seem to have found a bug with this plugin. Apparently when there's more than 1 member mentioned the subject line of the 1st member's email overwrites the subject line of the relevant post

Offline yuneeq

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Jan 2013
  • Posts: 5530
  • Total likes: 235
  • DansDeals.com Hat Tips 10
  • Gender: Male
    • View Profile
  • Location: NJ
Re: Site Suggestions
« Reply #833 on: March 12, 2018, 05:57:21 PM »
Donít know if itís just me, but Iím getting a scammy pop up on DDF on my brand new iPhone.

Live forever or die trying.

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Presidential Platinum Elite
  • **********
  • Join Date: May 2008
  • Posts: 52972
  • Total likes: 2219
  • DansDeals.com Hat Tips 16441
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA Global Services, AA Lifetime Plat, DL Dirt, SPG Plat, Hyatt Diamond, Fairmont Lifetime Plat, Hilton Diamond, Priority Club Plat, Avis Chairman, National EE, Hertz PC
Re: Site Suggestions
« Reply #834 on: March 12, 2018, 06:00:57 PM »
Donít know if itís just me, but Iím getting a scammy pop up on DDF on my brand new iPhone.
Anyone else?
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Online TimT

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 17646
  • Total likes: 730
  • DansDeals.com Hat Tips 3
    • View Profile
Re: Site Suggestions
« Reply #835 on: March 12, 2018, 06:02:39 PM »
Yes. Itís a common problem on many sites, not just DDF. Google it

Offline yesitsme

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Dec 2014
  • Posts: 1553
  • Total likes: 185
  • DansDeals.com Hat Tips 4
  • Gender: Male
    • View Profile
Re: Site Suggestions
« Reply #836 on: March 12, 2018, 06:02:52 PM »
Donít know if itís just me, but Iím getting a scammy pop up on DDF on my brand new iPhone.


perfect timing for spring cleaning, clean your pc.

its only on dansdeals or on other sites as well?

Offline yuneeq

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Jan 2013
  • Posts: 5530
  • Total likes: 235
  • DansDeals.com Hat Tips 10
  • Gender: Male
    • View Profile
  • Location: NJ
Re: Site Suggestions
« Reply #837 on: March 12, 2018, 06:05:52 PM »
Yes. Itís a common problem on many sites, not just DDF. Google it

Will do. Thanks

perfect timing for spring cleaning, clean your pc.

its only on dansdeals or on other sites as well?

Itís a brand new iPhone that i just started using.
Live forever or die trying.

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Presidential Platinum Elite
  • **********
  • Join Date: May 2008
  • Posts: 52972
  • Total likes: 2219
  • DansDeals.com Hat Tips 16441
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA Global Services, AA Lifetime Plat, DL Dirt, SPG Plat, Hyatt Diamond, Fairmont Lifetime Plat, Hilton Diamond, Priority Club Plat, Avis Chairman, National EE, Hertz PC
Re: Site Suggestions
« Reply #838 on: March 12, 2018, 06:09:16 PM »
Yes. Itís a common problem on many sites, not just DDF. Google it
You have had it on DDF? When?
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Online TimT

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 17646
  • Total likes: 730
  • DansDeals.com Hat Tips 3
    • View Profile
Re: Site Suggestions
« Reply #839 on: March 12, 2018, 06:12:16 PM »
Just started recently. Iíve had it in the past on other sites. Gotta delete (cookies or cache etc.)
Itís very annoying as it takes you away from DDF to their scammy sites.