![]() |
|
Thread Tools |
#1
|
||||
|
||||
Forum Only conditional
I currently have banners running above subfurms. I am scaling images by using auto height and width="80%". The problem is that they stretch to wide on larger screens and look bad.
I would like to have the subforum ads display as width="80%" on forum home above the subforum but everywhere else display as width="728px". I figured I could accomplish this with conditionals but I am not sure. So I need a conditional with an else statement that will display the % image on forum home and the "px" image everywhere else. Is this possible? BTW - I know I can do this with max-width but I think 2 images would be better. Thoughts? --------------- Added 22 Nov 2019 at 16:20 --------------- #I figured out an easy way. I was way overthinking this. width="100%" style="max-width:728px; height:auto; max-height:90px;
__________________
The following members like this post: scottkoz20
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:18.