I'm new at this and it's probably very simple, but I was trying out to put a picture in the lower left corner of my header, and everything just dropped down. Do I need to somehow overlap the picture with the posts? If you know what I mean? I'm the worst at explaining and I'm not even english so that makes this so much more complicated. Just have a look at my blog:
When you post a link to your live site, we can see all the code and css.
If you change the position:relative; to absolute, if will allow the content to move up fine, but you'll have other issues when you resize your browser.
I'm thinking your image should have been inside the region-inner main-inner div. Then using the absolute position, position it in the place you need it.
So basically, I should move the code of the picture someplace else? I can't find the position:relative code anywhere near the pictrue? I'm sorry if I'm slow..
Okay so I found something under the *Main section, where it said position:relative so I changed it. Nothing happened obviously, because I must put in measures somewhere, right?
Now it looks something like this. the bold text is what I changed from being position: relative.
Nope, can't be it right? That has something to do with the text only right.
Last edited by sandradecibell; 02-20-2012 at 05:02 PM..
Okay so the problem with this (I think it's because of that edit at least) is that all pictures on my blog gets really weird (see last post on the front page) how do I fix that?
Okay so the problem with this (I think it's because of that edit at least) is that all pictures on my blog gets really weird (see last post on the front page) how do I fix that?
You'll need to assign a class or id to the image you want to style. Then style that class/id
So instead of a img {some styles here}
you could do
<img id="rose" src="rose.jpeg">
then in your style sheet replace "a img" with:
#rose {
border: medium none;
position: absolute;
}
If you apply a style to the img tag, then of course every img in your site will get those css attributes applied to them. If you give a single image an id or class, and then style that id or class, then only the img with that id or class gets styles. You can read more about specificity here. Hope this helps.
I tried using the img id code but it only allowed me to save the following: <div class='rose' src=' free+digital+stamp_rose+illustration+(1).png'/>
When I put #rose {
border: medium none;
position: absolute;
} into the CSS absolutely nothing happened. I tried to put a img {
border: medium none;
position: relative;
} into it as well because I thought that would make all the other pictures position relative? Nope, I was wrong once again. haha
yeeessss thank you so much! It's not easy being new at this, nothing really makes any sense to me yet haha. If I could, I would hug you. I've learned a lot!