Need Help Web Design (CSS)
2013-12-20, 01:48 AM,
Hello elites. I am having a problem with my website regarding the <img scr> tag. I want all my images on my posts set to a certain width so it won't overlap the other side bars. So I made a command on CSS like this.


After placing that on my CSS sheet I successfully achieved what I want but new problem appears. The logo of my website also changed and follow the size of the CSS command. Now it looks really bad because the logo is as large as the posts.

Now, can anyone please help me to separate the code from img scr of the logo of my site? Because when I remove the existing code I added on my CSS sheet it will affect all the images I have and will overlap the sidebars. If there is a solution please reply on this post.
Share This Thread :

2013-12-20, 02:26 AM,
You should the img tag to:
max-width: 100%;
so it takes the width of it's container, and you can also set a custom class on the logo to overwrite the other css styles.

Anyway if you still need help contact me.
2013-12-20, 02:49 AM,
What you should do is create a class for the images on the side bar and reference that class in the image tag.

This is what your HTML should look like.
<img class="myclass" src="myimage.jpg">

This is what your CSS should look like.
   width: 250px;

just change the pixels to the amount you want.

If you need help, send me a PM or contact me via Skype.

Good luck.
Latest Thanks - View all

Awesomeness(2013-12-20 09:06 AM) 
2013-12-20, 03:30 AM, (This post was last modified: 2013-12-20, 03:30 AM by Atlantis.)
The options above should work.
Give your logo a class or ID

then use the css

#myID, .myClass{
width: 999px; /* Edit to the dimensions of your logo image */
height: 999px;

You can always PM or Skype me if you need webdesign help.
Latest Thanks - View all

Awesomeness(2013-12-20 09:06 AM) 

[Image: wI9cuAG.png]
2013-12-20, 09:06 AM,
Thank you guys! Problem fixed! :)

Related Threads
Thread Author Replies Views Last Post
  How To Become A Professional Web Developer? mariaporter 1 438 2018-09-05, 10:38 AM
Last Post: CharlieHarper
  Need Few Instructions That Can Help me Create Video Whiteboard Animation EvaHarrison 1 347 2018-08-17, 05:53 PM
Last Post: CharlieHarper
  help with embed adult videos to my site adlof 1 522 2018-02-16, 10:22 PM
Last Post: Enabled
  Need help is possible? shikoattia 1 562 2018-01-28, 03:25 PM
Last Post: CharlieHarper
  Need a loading progress bar for wordpress! YoungArt 6 896 2017-08-26, 06:01 PM
Last Post: YoungArt

About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2019 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top