![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Aug 2019
Posts: 1,436
|
Why is my image massive? It not supposed to be big???
Code:
<td style="width: 100%; text-align: center;"><a href="http://www.xxxx.net/site/chaturbate/"><img src="https://xxxx.net/img/chaturbate%20mini.png" alt="Chaturbate logo" width="106" height="40" /></a> ![]() Is my CSS the culprit?? img { display: block; height: auto; max-width: 100%; width: 100%; } from inspect. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Aug 2019
Posts: 1,436
|
Tried this inline CSS but it doesn't even show up??
<style> #logos { display: inline-block; width:100%; } </style> <div id="logos"> <img style="display: inline; margin: 0 5px;" title="" src="https://xxxx.net/img/chaturbate%20mini.png" alt="Chaturbate logo" width="106" height="40" href="https://xxxx.net/site/chaturbate" /> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,550
|
Could it be anything to do with the %20 in the image name?
Quote:
Disclaimer - I know FUCK ALL about css etc, but I have had problems (in other ways) with a space being displayed as %20 before... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Natalie K
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,213
|
is this the only td you have in the tr?
itīs 100%, so looking to make the logo fill the whole of the width... hope that makes sense. remove the width 100%, try it for a moment
__________________
My official site ![]() ![]() ![]() Skype: gspotproductions - "Converting traffic into income since 2005" |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Industry Role:
Join Date: Aug 2019
Posts: 1,436
|
No, neither of these made any difference.
I tried renaming the file to chaturbate-mini and removed the 100%. I think it's something to do with the css file which is overriding the php |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
So Fucking Banned
Industry Role:
Join Date: Aug 2019
Posts: 1,436
|
Quote:
Thought it would be easier. Sheesh. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Your problem is
width: 100% max-width: 100% You need to set the max-width to whatever the actual width of the image is (106px I guess) or whatever the biggest size you want it to be. 100% sets it to whatever size the parent element is with no maximum restriction.
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | ||
Natalie K
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,213
|
Quote:
Quote:
I agree with pete, hire someone to make your site or use a site design like WP and add the logo to the logo area on the WP site ![]()
__________________
My official site ![]() ![]() ![]() Skype: gspotproductions - "Converting traffic into income since 2005" |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
You don't need to change the width settings if you want a responsive page. You only need to set the max-width value to a fixed value. Setting it to a percentage doesn't make a lot of sense. Keep the "width="106" height="40" attributes in the html to avoid CLS issues, and if you don't know what that is look it up, it's going to become important.
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Natalie K
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 19,213
|
Quote:
isnīt it all div?
__________________
My official site ![]() ![]() ![]() Skype: gspotproductions - "Converting traffic into income since 2005" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |